[yourporn] Fix extraction (closes #18424)

pull/8/head
v-delta 6 years ago committed by Sergey M
parent 8bb0c9cc16
commit ae9d77dab5

@ -26,7 +26,7 @@ class YourPornIE(InfoExtractor):
self._search_regex( self._search_regex(
r'data-vnfo=(["\'])(?P<data>{.+?})\1', webpage, 'data info', r'data-vnfo=(["\'])(?P<data>{.+?})\1', webpage, 'data info',
group='data'), group='data'),
video_id)[video_id]) video_id)[video_id]).replace('/cdn/', '/cdn2/')
title = (self._search_regex( title = (self._search_regex(
r'<[^>]+\bclass=["\']PostEditTA[^>]+>([^<]+)', webpage, 'title', r'<[^>]+\bclass=["\']PostEditTA[^>]+>([^<]+)', webpage, 'title',

Loading…
Cancel
Save