mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:47:08 -05:00 
			
		
		
		
	[9gag] Fix post view regex
This commit is contained in:
		@@ -47,7 +47,7 @@ class NineGagIE(InfoExtractor):
 | 
			
		||||
        webpage = self._download_webpage(url, display_id)
 | 
			
		||||
 | 
			
		||||
        post_view = json.loads(self._html_search_regex(
 | 
			
		||||
            r'var postView = new app\.PostView\({ post: ({.+?}),', webpage, 'post view'))
 | 
			
		||||
            r'var postView = new app\.PostView\({\s*post:\s*({.+?}),', webpage, 'post view'))
 | 
			
		||||
 | 
			
		||||
        youtube_id = post_view['videoExternalId']
 | 
			
		||||
        title = post_view['title']
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user