Giter Site home page Giter Site logo

bgmi's Introduction

Instruction Manual of Ricter Z

Whoami

  • Cat's slave, 猫猫天下第一!
  • A hacker, a programmer and a hentai
  • An independent securirty researcher foucs on large scale softwares

Blog

Games

  • FFXIV
  • World of Warships
  • Majsoul
  • Watch Dogs serial, Nier Automata serial, Far Cry serail, Cyberpunk 2077, osu, ...

bgmi's People

Contributors

codysk avatar ihciah avatar messyidea avatar ricterz avatar superfashi avatar tinkoliu avatar trim21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bgmi's Issues

aria2-rpc对旧版本兼容有问题...

aria2c的新版本相当于在旧版本的基础上,固定强制使用token作为用户名,用户自己设置的secret作为密码来进行http认证的,而要兼容旧版本的话,就需要旧版本把用户名设置成token,而缺少一个aria2_rpc_usernamearia2_rpc_password的配置项...

可否将 DPlayer 部分的文档更细化一些?

第一步:setup nginx to access bangumi files 是否指在 nginx 的 conf 文件中添加下面的字段?

location /bangumi {
        # ~/.bgmi/bangumi
        alias path/to/bgmi/bangumi;
    }

之后的步骤就看不太明白了。其余部分应该已经配置好了,页面在:https://bangumi.imalan.cn/#/,部署在 VPS 上。请问需要怎样设置才能在线播放?
播放已经OK了,但仍然不会配置弹幕😂

另外,为何剧集即使并没有下载,status也是1或者2?不应该是0吗?

aria2downloadRPC的代码错误

python3.6

class Aria2DownloadRPC(DownloadService):
    @staticmethod
    def download_status(status=None):
         ...
                if Aria2DownloadRPC.old_version:
                    data = server.aria2[method](ARIA2_RPC_TOKEN, *params)
                else:
                    data = server.aria2[method](*params)
         ...

不确定旧版本是否需要token,但是新版本是肯定需要的,

应该为

                else:
                    data = server.aria2[method](ARIA2_RPC_TOKEN, *params)

原来的代码会报一个unauthorized的错误,反而被错误处理所捕捉.导致在配置正确的情况下仍然报无法链接到rpc服务器的错误,而实际上可以连接

ps:个人感觉aria2用户应该不太会有留在旧版的..可以放弃考虑兼容旧版....

求助,如何设置 apache2 alias 规则

平常用 apache2 习惯一些,所以搭建 bgmi 的时候就用了 apache2 做反代。但是每次访问 http://example.com/bangumi/ 的时候都会报错。

Please modify your web server configure file
to server this path to '/home/user/.bgmi/bangumi'.
e.g.

...
autoindex on;
location /bangumi {
    alias /home/user/.bgmi/bangumi;
}
...

apache2 的 alias 是这么写的:

        Alias /bangumi "/home/user/.bgmi/bangumi"
        <Directory "/home/user/.bgmi/bangumi">
             Require all granted
        </Directory>

但是不知道哪里有问题,无法访问该地址。难道只能换 Nginx 了吗?

在linux系统中web页面异常

我在linux系统上web显示异常,在运行bgmi_http命令后web页面显示如下
default
我尝试了ubunntu17.10 centos7在python3环境下都是同样的情况,而我在win10上使用同样的操作却能够正常运行显示web界面,请问一下这是什么问题?

windows python3环境下终端输出乱码

环境:

  • windows
  • cmder
  • python3

为什么main.py里面要有这两行代码..........

if bgmi.config.IS_PYTHON3:
unicode = str
file_ = sys.stdout.buffer
sys.stdout = codecs.getwriter(locale.getpreferredencoding())(file_)

在使用了export PYTHONIOENCODING=utf8之后print()仍然会强制输出gbk编码的,覆盖了环境变量中的设置,在终端设置了uft-8编码后不仅会乱码,而且因为某些unicode无法转化为gbk还会报错.
UnicodeEncodeError: 'gbk' codec can't encode character '\u266d' in position 9: illegal multibyte sequence

似乎这里是想设置合适的输出编码?
但是正确的方法应该是在环境变量中设置PYTHONIOENCODING吧....python2的实现中使用了sys.setdefaultencoding('utf-8'),搜索了一下也是不推荐的方法,
Dangers of sys.setdefaultencoding('utf-8')

准备提交一个pr,添加蜜柑计划做为数据来源

昨天在添加恋爱禁止的世界的时候,实际抓回来的是捏造陷阱NTR.
最主要的是到现在也没有new game.bangumi.moe那边的数据准确性好像有点低.似乎是自动识别加tag的

蜜柑计划 http://mikanani.me/的数据准确度比较高,本身就做好了番剧和字幕组的区分.
准备提交个pr,加一个数据来源,也从那边抓数据过来.

没有new game看我要死了

UnicodeEncodeError

ox@ox-Kaizaki:~/BGmi$ sudo bgmi cal all
Sun. 
---------------------------------   ---------------------------------   
Traceback (most recent call last):
  File "/usr/local/bin/bgmi", line 11, in <module>
    load_entry_point('bgmi==0.4.5', 'console_scripts', 'bgmi')()
  File "/home/ox/.local/lib/python2.7/site-packages/bgmi-0.4.5-py2.7.egg/bgmi/main.py", line 409, in setup
    main()
  File "/home/ox/.local/lib/python2.7/site-packages/bgmi-0.4.5-py2.7.egg/bgmi/main.py", line 178, in main
    cal(ret)
  File "/home/ox/.local/lib/python2.7/site-packages/bgmi-0.4.5-py2.7.egg/bgmi/main.py", line 346, in cal
    bangumi_calendar(force_update=force, today=today, save=save)
  File "/home/ox/.local/lib/python2.7/site-packages/bgmi-0.4.5-py2.7.egg/bgmi/fetch.py", line 121, in bangumi_calendar
    print(' ' + bangumi['name'], ' ' * space_count, end='')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-5: ordinal not in range(128)
ox@ox-Kaizaki:~/BGmi$ uname -a
Linux ox-Kaizaki 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

NameError: name 'JOIN_LEFT_OUTER' is not defined

我试着根据 README 上的指示进行安装使用,
但在使用时出现以下错误:

-> ~/s/BGmi bgmi cal
Traceback (most recent call last):
  File "/root/miniconda3/bin/bgmi", line 11, in <module>
    load_entry_point('bgmi==2.0.3', 'console_scripts', 'bgmi')()
  File "/root/miniconda3/lib/python3.6/site-packages/bgmi-2.0.3-py3.6.egg/bgmi/main.py", line 58, in main
    controllers(ret)
  File "/root/miniconda3/lib/python3.6/site-packages/bgmi-2.0.3-py3.6.egg/bgmi/cli.py", line 286, in controllers
    return func(ret)
  File "/root/miniconda3/lib/python3.6/site-packages/bgmi-2.0.3-py3.6.egg/bgmi/cli.py", line 86, in cal_wrapper
    force_update=force_update, save=save, cover=cover)
  File "/root/miniconda3/lib/python3.6/site-packages/bgmi-2.0.3-py3.6.egg/bgmi/website/base.py", line 86, in bangumi_calendar
    weekly_list = Bangumi.get_updating_bangumi()
  File "/root/miniconda3/lib/python3.6/site-packages/bgmi-2.0.3-py3.6.egg/bgmi/models.py", line 75, in get_updating_bangumi
    .join(Followed, JOIN_LEFT_OUTER, on=(cls.name == Followed.bangumi_name)) \
NameError: name 'JOIN_LEFT_OUTER' is not defined

我的平台为 Linux,
尝试了Python2 与 3 ,尝试通过源码安装和 pip 安装, 均出现同样错误。

`bgmi download` 的输出

不管当前有没有下载项,目前 bgmi download (BGmi ver. 1.0.23) 的输出都是:

Download status value: Not Downloaded: 0 / Downloading: 1 / Downloaded: 2

也许将 bgmi download 的输出改成 bgmi download --listbgmi download --help 的输出会更有意义?

用Transmission的话如何subscribe?

Platform: MacOS 10.14

python version: Python 2.7

BGmi version: Latest(?)

非IT学生, 不大知道该怎么使用BGmi...
因为本身用的Aria2c 是 yangshun1029的aria2gui可视化界面, 集成了 aria2c. 估计是没法用aria2 端口; 所以用的是transmission. 但是在subscribe 看到了 token 就不知所措了...

番组无法下载

在执行了bgmi update --download后并没有进行订阅番组的下载。

分别在树莓派(archlinux python2.7/python3.5 virtualenv/system aria2/aria2-rpc aria2c 1.26.1)和日常机(ubuntu python2.7/python3.5/pypy virtualenv/system aria2/aria2-rpc aria2c 1.19.0)上运行了都是一样的情况,rpc方式在列表中也没看到有任务添加。bgmi download list出来也是空的。

另外。获取数据的时候总是会有这样的东西出来

/home/cirno/.local/lib/python2.7/site-packages/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

The code that caused this warning is on line 9 of the file /usr/local/bin/bgmi. To get rid of this warning, change code that looks like this:

 BeautifulSoup([your markup])

to this:

 BeautifulSoup([your markup], "lxml")

  markup_type=markup_type))

看起来有点烦就是了

更换新番封面源?

Feature Request: Support Transmission-RPC as DOWNLOAD_DELEGATE

🌚
看起来 Transmission 处理种子这类东西要比 Aria2 快得多。所以可否支持一下 Transmission 做后端?
另外,希望加入选集下载(或者下载历史话那一类的)

最后...可不可以给个选项把磁力链换成种子...磁力链解析超慢

相关API:

> rinclient.torrent.fetch('5934afde8a45cb3e7259177e')
 { _id: '5934afde8a45cb3e7259177e',
  category_tag_id: '549ef207fe682f7549f1ea90',
  title: '[漫猫字幕组&爱恋字幕社]★4月新番[时钟机关之星][09][720P][简体][MP4]',
......
  magnet: 'magnet:?xt=urn:btih:c28b54ee3d5c68e05f26ab2d19c71a3b7f2e9e29',
  infoHash: 'c28b54ee3d5c68e05f26ab2d19c71a3b7f2e9e29',
  file_id: '5934afde8a45cb3e7259177d',
......
}

> rinclient.file.fetch('5934afde8a45cb3e7259177d')
 { _id: '5934afde8a45cb3e7259177d',
  type: 'torrent',
  filename: '[Comicat&kisssub][Clockwork Planet][09][GB][720P][x264_AAC].mp4.torrent',
  filesize: 19260,
  savepath: 'data/torrents/2017/06/05/c28b54ee3d5c68e05f26ab2d19c71a3b7f2e9e29.torrent',
  uploader_id: '56a45e59daf685081fe40b5e',
  uploadDate: '2017-06-05T01:11:58.351Z' }

> send_to_download(`${baseUrl}/data/torrents/2017/06/05/c28b54ee3d5c68e05f26ab2d19c71a3b7f2e9e29.torrent`)

添加番剧下载信息时字符编码处理有问题

版本:2.0.1
配置:transmission-rpc
lang: zh_cn
数据源:bangumi_moe
番剧存储位置:/mnt/bangumi (via NFS)

日志:

➜ user@rpi  ~  bgmi mark 我家有个鱼干妹R 0
[+] 我家有个鱼干妹R has been mark as episode: 0
➜ user@rpi  ~  bgmi update --download     
[*] marking bangumi status ...
[*] updating bangumi data ...
[*] updating subscriptions ...
[*] fetching 我家有个鱼干妹R ...
[+] 我家有个鱼干妹R updated, episode: 4
[*] fetching 调教咖啡厅 ...
[*] fetching Just Because! ...
[*] fetching 少女终末旅行 ...
[x] Error: 'ascii' codec can't encode characters in position 13-19: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-19: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-19: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-19: ordinal not in range(128)
[*] Re-downloading ...
[x] Error: 'ascii' codec can't encode characters in position 13-19: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-19: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-19: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-19: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-17: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-17: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-17: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-17: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-18: ordinal not in range(128)
[x] Error: 'ascii' codec can't encode characters in position 13-18: ordinal not in range(128)

Transmission中也并没有添加进去

搜索功能正则过滤不工作

这个……匪夷所思
python3

➜ user@rpi  ~  bgmi search 魔法使的新娘 --regex-filter "喵萌.*01.*720P.*修正"
[+] [漫游字幕组] Mahou Tsukai no Yome 魔法使的新娘 第01话 720p MP4 (老种重发)
[+] 【DHR動研字幕組】[魔法使的新娘 等待繁星之人_The Aneient Magus Bride][前篇][繁體][720P][MP4]
[+] ​[漫游字幕组] Mahou Tsukai no Yome OVA 魔法使的新娘 待星之人 01-02 前篇+中篇 720p MP4
[+] 【DHR動研字幕組】[魔法使的新娘 等待繁星之人_The Aneient Magus Bride][中篇][繁體][720P][MP4]
[+] [漫游字幕组] Mahou Tsukai no Yome OVA 魔法使的新娘 待星之人 01-03 前篇+中篇+后篇 720p MP4
[+] 【DHR動研字幕組】[魔法使的新娘 等待繁星之人_The Aneient Magus Bride][後篇][繁體][720P][MP4]
[+] 【動漫國字幕組】★OVA[魔法使的新娘_等待繁星之人][前·中·後篇][720P][繁體][MP4]
[+] 【动漫国字幕组】★OVA[魔法使的新娘_等待繁星之人][前·中·后篇][720P][简体][MP4]
[+] 【喵萌茶会字幕组】★OVA【Mahou Tsukai no Yome Hoshi Matsu Hito / 魔法使的新娘 等待繁星之人】[01-03][End][1080P][MP4][繁體] - 完结
[+] 【喵萌茶会字幕组】★OVA【Mahou Tsukai no Yome Hoshi Matsu Hito / 魔法使的新娘 等待繁星之人】[01-03][End][1080P][MP4][简体] - 完结
[+] 【喵萌茶会字幕組】★10月新番【魔法使的新娘】[01][720P][MP4][简体]
[+] 【喵萌茶会字幕組】★10月新番【魔法使的新娘】[01][720P][MP4][繁体]
[+] [漫游字幕组] Mahou Tsukai no Yome 魔法使的新娘 01 简体内嵌 720P MP4
[+] [漫游字幕组] Mahou Tsukai no Yome 魔法使的新娘 01 繁體內嵌 720P MP4
[+] 【喵萌茶会字幕組】★10月新番【魔法使的新娘】[01][720P][MP4][简体]修正字体爆炸
[+] 【動漫國字幕組】★10月新番[魔法使的新娘][01][720P][繁體][MP4]
[+] 【动漫国字幕组】★10月新番[魔法使的新娘][01][720P][简体][MP4]
[+] [c-a Raws] 魔法使的新娘01 [iQIYI] (1080P/720P x264-High10 AAC 简体中文字幕)
[+] 【動漫國字幕組】★10月新番[魔法使的新娘][01][1080P][HEVC_Ma10P][簡繁外掛][MKV]
[+] [漫游字幕组] Mahou Tsukai no Yome Hoshi Matsu Hito 魔法使的新娘 待星之人 OAD 前篇+中篇+后篇 1080p MKV 简繁外挂
[+] [c-a Raws] 魔法使的新娘02 [iQIYI] (1080P/720P x264-High10 AAC 简体中文字幕)
[+] 【動漫國字幕組】★10月新番[魔法使的新娘][02][720P][繁體][MP4]
[+] 【动漫国字幕组】★10月新番[魔法使的新娘][02][720P][简体][MP4]

显然有多个结果并不符合正则

windows python2.7环境下,bgmi install安装xunlei-lixian失败

windows10下的python2.7,bgmi install安装xunlei-lixian失败
初学者,google了一下貌似是windows的问题?看readme说BGmi已经支持windows了应该没有这个问题呀

Traceback (most recent call last):
  File "C:\Python27\Scripts\bgmi-script.py", line 11, in <module>
    load_entry_point('bgmi==1.0.23', 'console_scripts', 'bgmi')()
  File "C:\Python27\lib\site-packages\bgmi-1.0.23-py2.7.egg\bgmi\main.py", line 157, in setup
    main()
  File "C:\Python27\lib\site-packages\bgmi-1.0.23-py2.7.egg\bgmi\main.py", line 124, in main
    bgmi.setup.install()
  File "C:\Python27\lib\site-packages\bgmi-1.0.23-py2.7.egg\bgmi\setup.py", line 35, in install
    get_download_class(DOWNLOAD_DELEGATE, instance=False).install()
  File "C:\Python27\lib\site-packages\bgmi-1.0.23-py2.7.egg\bgmi\services.py", line 203, in install
    os.symlink(os.path.join(BGMI_PATH, 'tools/xunlei-lixian/{0}/lixian_cli.py'.format(dir_name)),
AttributeError: 'module' object has no attribute 'symlink'

更新:参照 http://stackoverflow.com/a/4388195/2197765解决了symlink的问题,现在的问题是
Please run command 'C:\Users\xtdyx\.bgmi\bgmi-lx config' to configure your lixian-xunlei
这个命令应该如何运行?cmd里面提示'bgmi-lx' 不是内部或外部命令,也不是可运行的程序

更细致的 bangumi filter

有时一个字幕组会出简体繁体两组或者是不同清晰度的多种视频,在校园网流量有限的情况下全部下载就比较伤了...
可以考虑加个过滤器排除标题的特定关键字么...

btw,使用bgmi install安装时总是失败,提示

error: unrecognized arguments: install, try '-h' for help

filter subtitle的问题

中间有"."的字幕组,只写前半好像加不进去

bgmi filter "Urara迷路帖" --subtitle "輕之國度"
[*] Usable subtitle group: 極影, 西農YUI, 輕之國度.動漫國, DHR
[+] Added subtitle group:
[+] Include keywords: None
[+] Exclude keywords:
[+] Regular expression: None

全写fetch不到东西

bgmi filter "Urara迷路帖" --subtitle "輕之國度.動漫國"
[*] Usable subtitle group: 極影, 西農YUI, 輕之國度.動漫國, DHR
[+] Added subtitle group: 輕之國度.動漫國
[+] Include keywords: None
[+] Exclude keywords:
[+] Regular expression: None

bgmi followed --mark "Urara迷路帖" --episode 0
[+] Followed Bangumi<Urara迷路帖> has been mark as episode: 0

bgmi fetch "Urara迷路帖"
[*] Fetch bangumi Urara迷路帖 ...
[-] Nothing.

sqlite3.OperationalError

alice at nychto in ~ [23:48:18]
$ bgmi cal all
Traceback (most recent call last):
  File "/usr/local/bin/bgmi", line 9, in <module>
    load_entry_point('bgmi==0.4.6', 'console_scripts', 'bgmi')()
  File "/usr/local/lib/python3.5/site-packages/bgmi-0.4.6-py3.5.egg/bgmi/main.py", line 408, in setup
    init_db(DB_PATH)
  File "/usr/local/lib/python3.5/site-packages/bgmi-0.4.6-py3.5.egg/bgmi/main.py", line 395, in init_db
    conn = sqlite3.connect(db_path)
sqlite3.OperationalError: unable to open database file

用pip和pip3安装的结果都是无法运行……

某些命令无法正常输出

环境:Ubuntu 16.04.2 LTS
Python 3.5.2
使用bgmi cal all
输出

Tue.
---------------------------------------   ---------------------------------------   ---------------------------------------
Traceback (most recent call last):
  File "/usr/local/bin/bgmi", line 11, in <module>
    sys.exit(setup())
  File "/usr/local/lib/python3.5/dist-packages/bgmi/main.py", line 163, in setup
    main()
  File "/usr/local/lib/python3.5/dist-packages/bgmi/main.py", line 135, in main
    controllers(ret)
  File "/usr/local/lib/python3.5/dist-packages/bgmi/controllers.py", line 290, in controllers
    return func(ret)
  File "/usr/local/lib/python3.5/dist-packages/bgmi/controllers.py", line 190, in cal
    bangumi_calendar(force_update=force, today=today, save=save)
  File "/usr/local/lib/python3.5/dist-packages/bgmi/fetch.py", line 122, in bangumi_calendar
    print(' ' + bangumi['name'], ' ' * space_count, end='')
  File "/usr/lib/python3.5/codecs.py", line 376, in write
    data, consumed = self.encode(object, self.errors)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-6: ordinal not in range(128)

用一些其他的命令,比如 bgmi followed --list也是同样的错误
是python版本的问题吗?

卸载之后创建的定时任务没有被移除

Platform:Windows 10

python version:3.5.3

BGmi version:latest

def install_crontab():
    print_info('Installing crontab job')
    if IS_WINDOWS:
        copy(os.path.join(os.path.dirname(__file__), 'others/cron.vbs'), BGMI_PATH)
        os.system('schtasks /Create /SC HOURLY /TN "bgmi updater" /TR "{}"  /IT /F'.format(
            os.path.join(BGMI_PATH, 'cron.vbs')))
    else:
        path = os.path.join(os.path.dirname(__file__), 'others/crontab.sh')
        os.system("bash '%s'" % path)

这段代码在安装时注册了一个定时命令,但是卸载时没有把这个命令给移除,结果就导致卸载了之后每过一段时间就弹出两个powershell窗口一闪而过。
image

save_path.encode('utf-8') 导致Transmission下载失败

CentOS 7
BGmi 2.0.4
save_path.encode('utf-8')导致Transmission报错
transmissionrpc.error.TransmissionError: Query failed with result "download directory path is not absolute".

将encode('utf-8')删去之后恢复正常

更新 1.0.5 后迷之无法使用

昨天更新了 1.0.5 版本,因为有权限问题所以一直是 sudo -H 安装/更新。之前都没有问题,这次更新之后无论执行什么命令都只会弹出帮助说明。

18:22:19 › bgmi update --download            
BGmi 1.0.5 (https://github.com/RicterZ/BGmi)

Usage: 
  bgmi update [options]  

Options: 
  --name [NAME ...]           Update specified bangumi.
  --download                  Download the bangumi when updated.
  --not-ignore                Do not ignore the old bangumi detail rows (3 month ago).

General Options: 
  -h / --help                 Print help text.
  --version                   Show the version of BGmi.

不知道发生了什么(

关于--include的与和或问题

ling@CQ45:~$ bgmi filter "Seiren清戀" --subtitle "RH" --include 720p,720P --exc
lude BIG5
[*] Usable subtitle group: RH, 漫貓.愛戀, 紫音, DHR, 花語, Dymy, 極影, 諸神, 桜
都
[+] Added subtitle group: RH
[+] Include keywords: 720p,720P
[+] Exclude keywords: BIG5
ling@CQ45:~$ bgmi fetch "Seiren清戀"
[*] Fetch bangumi Seiren清戀 ...
[-] Nothing.
ling@CQ45:~$ bgmi filter "Seiren清戀" --subtitle "RH" --include 720P --exclude 
BIG5
[*] Usable subtitle group: RH, 漫貓.愛戀, 紫音, DHR, 花語, Dymy, 極影, 諸神, 桜
都
[+] Added subtitle group: RH
[+] Include keywords: 720P
[+] Exclude keywords: BIG5
ling@CQ45:~$ bgmi fetch "Seiren清戀"
[*] Fetch bangumi Seiren清戀 ...
[+] 【RH字幕组】清恋[SEIREN]【06】[GB][720P][MP4]【成员招募】
[+] 【RH字幕组】清恋[SEIREN]【05】[GB][720P][MP4]【成员招募】
[+] 【RH字幕组】清恋[SEIREN]【04】[GB][720P][MP4]【成员招募】
[+] 【RH字幕组】清恋[SEIREN]【03】[GB][720P][MP4]【成员招募】
[+] 【RH字幕组】清恋[SEIREN]【02】[GB][720P][MP4]【成员招募】
[+] 【RH字幕组】清恋[SEIREN]【01】[GB][720P][MP4]

增加条件--include 720p,720P后,fetch得到的结果是[-] Nothing.
而在条件--include 720P--include 720p下都能fetch到结果
所以在这里”,“的意思是”与“吗?能否有"或"的格式?

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.