1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 04:02:59 +08:00

Fix video_url in yourporn

This commit is contained in:
v-delta 2018-12-19 10:51:43 +01:00
parent 423f9ef7c6
commit a43d0d0248

View File

@ -26,7 +26,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',