1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-22 18:35:38 +08:00

[yourporn] Fix extraction (#21585)

This commit is contained in:
xyssy 2019-07-01 12:05:51 -05:00 committed by Sergey M
parent 976e1ff7f9
commit 4e2491f066

View File

@ -37,7 +37,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]).replace('/cdn/', '/cdn4/') video_id)[video_id]).replace('/cdn/', '/cdn5/')
title = (self._search_regex( title = (self._search_regex(
r'<[^>]+\bclass=["\']PostEditTA[^>]+>([^<]+)', webpage, 'title', r'<[^>]+\bclass=["\']PostEditTA[^>]+>([^<]+)', webpage, 'title',