1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01: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 @@ def _real_extract(self, url):
self._search_regex(
r'data-vnfo=(["\'])(?P<data>{.+?})\1', webpage, 'data info',
group='data'),
video_id)[video_id]).replace('/cdn/', '/cdn4/')
video_id)[video_id]).replace('/cdn/', '/cdn5/')
title = (self._search_regex(
r'<[^>]+\bclass=["\']PostEditTA[^>]+>([^<]+)', webpage, 'title',