[xnxx] Use compat_urllib_parse_unquote
This commit is contained in:
		@@ -2,9 +2,7 @@
 | 
				
			|||||||
from __future__ import unicode_literals
 | 
					from __future__ import unicode_literals
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from .common import InfoExtractor
 | 
					from .common import InfoExtractor
 | 
				
			||||||
from ..compat import (
 | 
					from ..compat import compat_urllib_parse_unquote
 | 
				
			||||||
    compat_urllib_parse,
 | 
					 | 
				
			||||||
)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class XNXXIE(InfoExtractor):
 | 
					class XNXXIE(InfoExtractor):
 | 
				
			||||||
@@ -26,7 +24,7 @@ class XNXXIE(InfoExtractor):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        video_url = self._search_regex(r'flv_url=(.*?)&',
 | 
					        video_url = self._search_regex(r'flv_url=(.*?)&',
 | 
				
			||||||
                                       webpage, 'video URL')
 | 
					                                       webpage, 'video URL')
 | 
				
			||||||
        video_url = compat_urllib_parse.unquote(video_url)
 | 
					        video_url = compat_urllib_parse_unquote(video_url)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        video_title = self._html_search_regex(r'<title>(.*?)\s+-\s+XNXX.COM',
 | 
					        video_title = self._html_search_regex(r'<title>(.*?)\s+-\s+XNXX.COM',
 | 
				
			||||||
                                              webpage, 'title')
 | 
					                                              webpage, 'title')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user