mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
parent
6d6081dda1
commit
30b29f3715
1 changed files with 5 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
|
|
||||||
class FOXIE(InfoExtractor):
|
class FOXIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:www\.)?fox\.com/watch/(?P<id>[\da-fA-F]+)'
|
_VALID_URL = r'https?://(?:www\.)?fox(?:sports)?\.com/(?:watch|replay)/(?P<id>[\da-fA-F]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
# clip
|
# clip
|
||||||
'url': 'https://www.fox.com/watch/4b765a60490325103ea69888fb2bd4e8/',
|
'url': 'https://www.fox.com/watch/4b765a60490325103ea69888fb2bd4e8/',
|
||||||
|
@ -50,6 +50,10 @@ class FOXIE(InfoExtractor):
|
||||||
# sports event, geo-restricted
|
# sports event, geo-restricted
|
||||||
'url': 'https://www.fox.com/watch/b057484dade738d1f373b3e46216fa2c/',
|
'url': 'https://www.fox.com/watch/b057484dade738d1f373b3e46216fa2c/',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
# fox sports replay, geo-restricted
|
||||||
|
'url': 'https://www.foxsports.com/replay/561f3e071347a24e5e877abc56b22e89',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
_GEO_BYPASS = False
|
_GEO_BYPASS = False
|
||||||
_HOME_PAGE_URL = 'https://www.fox.com/'
|
_HOME_PAGE_URL = 'https://www.fox.com/'
|
||||||
|
|
Loading…
Reference in a new issue