mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:47:07 -05:00 
			
		
		
		
	[democracynow] Make description optional (Closes #9115)
This commit is contained in:
		@@ -38,7 +38,7 @@ class DemocracynowIE(InfoExtractor):
 | 
			
		||||
    def _real_extract(self, url):
 | 
			
		||||
        display_id = self._match_id(url)
 | 
			
		||||
        webpage = self._download_webpage(url, display_id)
 | 
			
		||||
        description = self._og_search_description(webpage)
 | 
			
		||||
        description = self._og_search_description(webpage, default=None)
 | 
			
		||||
 | 
			
		||||
        json_data = self._parse_json(self._search_regex(
 | 
			
		||||
            r'<script[^>]+type="text/json"[^>]*>\s*({[^>]+})', webpage, 'json'),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user