mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
[bilibili] warn if cookies are not loaded
This commit is contained in:
parent
35182d6a29
commit
2ba7493f12
@ -224,6 +224,10 @@ class Bilibili(VideoExtractor):
|
||||
if 'videoData' in initial_state:
|
||||
# (standard video)
|
||||
|
||||
# warn if cookies are not loaded
|
||||
if cookies is None:
|
||||
log.w('You will need login cookies for 720p formats or above. (use --cookies to load cookies.txt.)')
|
||||
|
||||
# warn if it is a multi-part video
|
||||
pn = initial_state['videoData']['videos']
|
||||
if pn > 1 and not kwargs.get('playlist'):
|
||||
|
Loading…
Reference in New Issue
Block a user