mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[hitbox] Skip subscribe only formats (Closes #8217)
This commit is contained in:
		| @@ -159,6 +159,9 @@ class HitboxLiveIE(HitboxIE): | ||||
|         cdns = player_config.get('cdns') | ||||
|         servers = [] | ||||
|         for cdn in cdns: | ||||
|             # Subscribe URLs are not playable | ||||
|             if cdn.get('rtmpSubscribe') is True: | ||||
|                 continue | ||||
|             base_url = cdn.get('netConnectionUrl') | ||||
|             host = re.search('.+\.([^\.]+\.[^\./]+)/.+', base_url).group(1) | ||||
|             if base_url not in servers: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user