]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[yourporn] Fix extraction (closes #18424)
authorv-delta <45652398+v-delta@users.noreply.github.com>
Thu, 6 Dec 2018 16:24:35 +0000 (17:24 +0100)
committerSergey M <dstftw@gmail.com>
Thu, 6 Dec 2018 16:24:35 +0000 (23:24 +0700)
youtube_dl/extractor/yourporn.py

index 6602f7c03a9074f5f81164cc120283e78976241d..a9951f3b83090ec076d0f5549f8c5c7a5f09efe4 100644 (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])
+            video_id)[video_id]).replace('/cdn/', '/cdn2/')
 
         title = (self._search_regex(
             r'<[^>]+\bclass=["\']PostEditTA[^>]+>([^<]+)', webpage, 'title',