mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 14:50:36 -05:00
[liveleak] Extend _VALID_URL (closes #16117)
This commit is contained in:
parent
e944737c59
commit
e2750e1437
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
|
||||
class LiveLeakIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:\w+\.)?liveleak\.com/view\?(?:.*?)i=(?P<id>[\w_]+)(?:.*)'
|
||||
_VALID_URL = r'https?://(?:\w+\.)?liveleak\.com/view\?.*?\b[it]=(?P<id>[\w_]+)'
|
||||
_TESTS = [{
|
||||
'url': 'http://www.liveleak.com/view?i=757_1364311680',
|
||||
'md5': '0813c2430bea7a46bf13acf3406992f4',
|
||||
|
@ -79,6 +79,9 @@ class LiveLeakIE(InfoExtractor):
|
|||
'title': 'Fuel Depot in China Explosion caught on video',
|
||||
},
|
||||
'playlist_count': 3,
|
||||
}, {
|
||||
'url': 'https://www.liveleak.com/view?t=HvHi_1523016227',
|
||||
'only_matching': True,
|
||||
}]
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue