mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-05 02:19:36 +02:00
[scrippsnetworks:watch] Bypass geo restriction
This commit is contained in:
parent
ee093a0ea0
commit
4827270526
@ -10,6 +10,7 @@
|
||||
from .common import InfoExtractor
|
||||
from .anvato import AnvatoIE
|
||||
from ..utils import (
|
||||
smuggle_url,
|
||||
urlencode_postdata,
|
||||
xpath_text,
|
||||
)
|
||||
@ -183,5 +184,7 @@ def aws_hmac_hexdigest(key, msg):
|
||||
})['results'][0]['mcpId']
|
||||
|
||||
return self.url_result(
|
||||
'anvato:anvato_scripps_app_web_prod_0837996dbe373629133857ae9eb72e740424d80a:%s' % mcp_id,
|
||||
smuggle_url(
|
||||
'anvato:anvato_scripps_app_web_prod_0837996dbe373629133857ae9eb72e740424d80a:%s' % mcp_id,
|
||||
{'geo_countries': ['US']}),
|
||||
AnvatoIE.ie_key(), video_id=mcp_id)
|
||||
|
Loading…
Reference in New Issue
Block a user