fix now-obfuscated CDN URL

This commit is contained in:
heisenberg33 2018-11-20 17:03:49 -08:00 committed by GitHub
parent 183417a50f
commit 76e646da8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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