Code Monkey home page Code Monkey logo

fredboatnico's Introduction

FredBoatNico

ニコニコ動画対応版FredBoatのdockerイメージを作成します。

build方法

FredBoat/docker/bot/config.yaml
FredBoat/docker/bot/credentials.yaml
を編集したのち、dockerとdocker-composeの使える環境で、
sudo docker-compose build を実行すればビルドされます。

使用方法

ほぼオリジナルのFredBoatです。
使用方法等は公式のマニュアルをご覧ください。

ニコニコ動画の動画を再生する際

ニコニコの動画を再生する際も同様に{prefix}play URLが使用できます。
対応しているURL形式は以下です。
http://またはhttps://
続けて、
www.またはsp.
続けて
nicovideo.jp/watch/またはnico.ms/
続けて
sm[0-9]またはso[0-9]または[0-9]
となっています。
ソースコード内では
^(?:http://|https://|)(?:www\\.|sp\\.|)(?:nicovideo\\.jp/watch/|nico\\.ms/)((?:sm|so|)[0-9]+)(?:\\?.*|)$
となっています。

注意

けーさんは自信がないのでpull requestを送る気は今のところありません。
本家が更新されてもこちらが更新されるのは私が気が向いた時です。
また、これを使って何かあっても知りません。自己責任でお願いします。

fredboatnico's People

Contributors

k-k-san avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.