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

@ -28,6 +28,8 @@ class YourPornIE(InfoExtractor):
group='data'),
video_id)[video_id])
video_url = video_url.replace('/cdn', '/cdn2')
title = (self._search_regex(
r'<[^>]+\bclass=["\']PostEditTA[^>]+>([^<]+)', webpage, 'title',
default=None) or self._og_search_description(webpage)).strip()