0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[yourporn] Fix extraction (closes #18424)

This commit is contained in:
v-delta 2018-12-06 17:24:35 +01:00 committed by Sergey M
parent 8bb0c9cc16
commit ae9d77dab5

View file

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