mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-16 13:23:20 +00:00
[extractor/bitchute] Add more fallback subdomains (#6907)
Authored by: Neurognostic
This commit is contained in:
parent
c86e433c35
commit
0c4e0fbcad
|
@ -77,7 +77,10 @@ class BitChuteIE(InfoExtractor):
|
||||||
def _check_format(self, video_url, video_id):
|
def _check_format(self, video_url, video_id):
|
||||||
urls = orderedSet(
|
urls = orderedSet(
|
||||||
re.sub(r'(^https?://)(seed\d+)(?=\.bitchute\.com)', fr'\g<1>{host}', video_url)
|
re.sub(r'(^https?://)(seed\d+)(?=\.bitchute\.com)', fr'\g<1>{host}', video_url)
|
||||||
for host in (r'\g<2>', 'seed150', 'seed151', 'seed152', 'seed153'))
|
for host in (r'\g<2>', 'seed122', 'seed125', 'seed126', 'seed128',
|
||||||
|
'seed132', 'seed150', 'seed151', 'seed152', 'seed153',
|
||||||
|
'seed167', 'seed171', 'seed177', 'seed305', 'seed307',
|
||||||
|
'seedp29xb', 'zb10-7gsop1v78'))
|
||||||
for url in urls:
|
for url in urls:
|
||||||
try:
|
try:
|
||||||
response = self._request_webpage(
|
response = self._request_webpage(
|
||||||
|
|
Loading…
Reference in a new issue