Browse Source

[yourporn] Fix extraction (closes #18424)

v-delta 6 years ago
parent
commit
ae9d77dab5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/yourporn.py

+ 1 - 1
youtube_dl/extractor/yourporn.py

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