mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 05:37:07 -05:00 
			
		
		
		
	[redtube] add age_limit
This commit is contained in:
		@@ -30,9 +30,14 @@ class RedTubeIE(InfoExtractor):
 | 
				
			|||||||
            r'<h1 class="videoTitle slidePanelMovable">(.+?)</h1>',
 | 
					            r'<h1 class="videoTitle slidePanelMovable">(.+?)</h1>',
 | 
				
			||||||
            webpage, u'title')
 | 
					            webpage, u'title')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        # No self-labeling, but they describe themselves as
 | 
				
			||||||
 | 
					        # "Home of Videos Porno"
 | 
				
			||||||
 | 
					        age_limit = 18
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return {
 | 
					        return {
 | 
				
			||||||
            'id':       video_id,
 | 
					            'id':        video_id,
 | 
				
			||||||
            'url':      video_url,
 | 
					            'url':       video_url,
 | 
				
			||||||
            'ext':      video_extension,
 | 
					            'ext':       video_extension,
 | 
				
			||||||
            'title':    video_title,
 | 
					            'title':     video_title,
 | 
				
			||||||
 | 
					            'age_limit': age_limit,
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user