1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-26 09:36:46 +00:00

[yourporn] Fix extraction

This commit is contained in:
v-delta 2019-01-01 17:26:59 +01:00 committed by Sergey M
parent 696f4e4114
commit 1d803085d7

View file

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