mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
Update go.py
Leaves original pattern untouched.
This commit is contained in:
parent
5a3e2a4fb1
commit
783d2968ae
@ -138,7 +138,9 @@ class GoIE(AdobePassIE):
|
|||||||
# from http://freeform.go.com/shows/shadowhunters/episodes/season-2/1-this-guilty-blood
|
# from http://freeform.go.com/shows/shadowhunters/episodes/season-2/1-this-guilty-blood
|
||||||
r'data-video-id=["\']*(VDKA\w+)',
|
r'data-video-id=["\']*(VDKA\w+)',
|
||||||
# https://abc.com/shows/the-rookie/episode-guide/season-02/03-the-bet
|
# https://abc.com/shows/the-rookie/episode-guide/season-02/03-the-bet
|
||||||
r'\bvideoIdCode["\']\s*:\s*["\'](vdka\w+)'
|
r'\bvideoIdCode["\']\s*:\s*["\'](vdka\w+)',
|
||||||
|
# Deprecated fallback pattern
|
||||||
|
r'\b(?:video)?id["\']\s*:\s*["\'](VDKA\w+)'
|
||||||
), webpage, 'video id', default=video_id)
|
), webpage, 'video id', default=video_id)
|
||||||
if not site_info:
|
if not site_info:
|
||||||
brand = self._search_regex(
|
brand = self._search_regex(
|
||||||
|
Loading…
Reference in New Issue
Block a user