You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
lulu: version 0.1.8, a tiny downloader that scrapes the web.
lulu: Namespace(URL=['https://www.bilibili.com/bangumi/play/ep173329'], cookies=None, debug=True, extractor_proxy=None, force=False, format=None, help=False, http_proxy=None, info=False, input_file=None, itag=None, json=False, no_caption=False, no_merge=False, no_proxy=False, output_dir='.', output_filename=None, password=None, player=None, playlist=False, socks_proxy='127.0.0.1:1080', stream=None, timeout=600, url=False, version=False)
It seems that your ffmpeg is a nightly build.
Please switch to the latest stable if merging failed.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/lulu/extractors/bilibili.py", line 179, in entry
cid = re.search(r'cid=(\d+)', self.page).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/lulu", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/lulu/__main__.py", line 92, in main
main(**kwargs)
File "/usr/local/lib/python3.5/dist-packages/lulu/common.py", line 1486, in main
script_main(any_download, any_download_playlist, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/lulu/common.py", line 1376, in script_main
**extra
File "/usr/local/lib/python3.5/dist-packages/lulu/common.py", line 1120, in download_main
download(url, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/lulu/common.py", line 1477, in any_download
m.download(url, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/lulu/extractor.py", line 60, in download_by_url
self.prepare(**kwargs)
File "/usr/local/lib/python3.5/dist-packages/lulu/extractors/bilibili.py", line 154, in prepare
self.entry(**kwargs)
File "/usr/local/lib/python3.5/dist-packages/lulu/extractors/bilibili.py", line 183, in entry
cid = re.search(r'"cid":(\d+)', self.page).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
对比发现是 self.page 有问题 相比直接拉取的少了cid
直接拉取
cid 位于 window.INITIAL_STATE 内
The text was updated successfully, but these errors were encountered: