mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 01:27:07 -05:00 
			
		
		
		
	[daum] Improve full_id regex
This commit is contained in:
		@@ -38,7 +38,7 @@ class DaumIE(InfoExtractor):
 | 
			
		||||
        canonical_url = 'http://tvpot.daum.net/v/%s' % video_id
 | 
			
		||||
        webpage = self._download_webpage(canonical_url, video_id)
 | 
			
		||||
        full_id = self._search_regex(
 | 
			
		||||
            r'src=["\']http://videofarm.daum.net/controller/video/viewer/Video.html\?.*?vid=(.+?)[&"\']',
 | 
			
		||||
            r'src=["\']http://videofarm\.daum\.net/controller/video/viewer/Video\.html\?.*?vid=(.+?)[&"\']',
 | 
			
		||||
            webpage, 'full id')
 | 
			
		||||
        query = compat_urllib_parse.urlencode({'vid': full_id})
 | 
			
		||||
        info = self._download_xml(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user