mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[extractor] Common function _match_valid_url
				
					
				
			This commit is contained in:
		| @@ -173,7 +173,7 @@ class NitterIE(InfoExtractor): | ||||
|             title = self._html_search_regex(r'<div class="tweet-content[^>]+>([^<]+)</div>', webpage, 'title') | ||||
|         description = title | ||||
|  | ||||
|         mobj = re.match(self._VALID_URL, url) | ||||
|         mobj = self._match_valid_url(url) | ||||
|         uploader_id = ( | ||||
|             mobj.group('uploader_id') | ||||
|             or self._html_search_regex(r'<a class="fullname"[^>]+title="([^"]+)"', webpage, 'uploader name', fatal=False) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan