projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[zaq1] Add new extractor
[youtube-dl]
/
youtube_dl
/
extractor
/
vlive.py
diff --git
a/youtube_dl/extractor/vlive.py
b/youtube_dl/extractor/vlive.py
index b9718901b8339e3d5fee85a15d20514b038b66aa..e58940607a491581bb6e263ca2ffd3dd9741feac 100644
(file)
--- a/
youtube_dl/extractor/vlive.py
+++ b/
youtube_dl/extractor/vlive.py
@@
-70,9
+70,9
@@
class VLiveIE(InfoExtractor):
status, long_video_id, key = params[2], params[5], params[6]
status = remove_start(status, 'PRODUCT_')
status, long_video_id, key = params[2], params[5], params[6]
status = remove_start(status, 'PRODUCT_')
- if status
== 'LIVE_ON_AIR' or status == 'BIG_EVENT_ON_AIR'
:
+ if status
in ('LIVE_ON_AIR', 'BIG_EVENT_ON_AIR')
:
return self._live(video_id, webpage)
return self._live(video_id, webpage)
- elif status
== 'VOD_ON_AIR' or status == 'BIG_EVENT_INTRO'
:
+ elif status
in ('VOD_ON_AIR', 'BIG_EVENT_INTRO')
:
if long_video_id and key:
return self._replay(video_id, webpage, long_video_id, key)
else:
if long_video_id and key:
return self._replay(video_id, webpage, long_video_id, key)
else: