mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[viewster] Use tuple
This commit is contained in:
		@@ -95,7 +95,7 @@ class ViewsterIE(InfoExtractor):
 | 
				
			|||||||
        entry_id = info.get('Id') or info['id']
 | 
					        entry_id = info.get('Id') or info['id']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # unfinished serie has no Type
 | 
					        # unfinished serie has no Type
 | 
				
			||||||
        if info.get('Type') in ['Serie', None]:
 | 
					        if info.get('Type') in ('Serie', None):
 | 
				
			||||||
            try:
 | 
					            try:
 | 
				
			||||||
                episodes = self._download_json(
 | 
					                episodes = self._download_json(
 | 
				
			||||||
                    'https://public-api.viewster.com/series/%s/episodes' % entry_id,
 | 
					                    'https://public-api.viewster.com/series/%s/episodes' % entry_id,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user