mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Improve geo bypass mechanism
* Introduce geo bypass context * Add ability to bypass based on IP blocks in CIDR notation * Introduce --geo-bypass-ip-block
This commit is contained in:
		| @@ -123,7 +123,7 @@ class GoIE(AdobePassIE): | ||||
|                         'adobe_requestor_id': requestor_id, | ||||
|                     }) | ||||
|                 else: | ||||
|                     self._initialize_geo_bypass(['US']) | ||||
|                     self._initialize_geo_bypass({'countries': ['US']}) | ||||
|                 entitlement = self._download_json( | ||||
|                     'https://api.entitlement.watchabc.go.com/vp2/ws-secure/entitlement/2020/authorize.json', | ||||
|                     video_id, data=urlencode_postdata(data)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․