aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorv-delta <45652398+v-delta@users.noreply.github.com>2018-12-06 17:24:35 +0100
committerSergey M <dstftw@gmail.com>2018-12-06 23:24:35 +0700
commitae9d77dab54630ac480bd4082468d543a15c341e (patch)
treefc106d7305cba294f80e40ba52ccb7d72e71df3d
parent8bb0c9cc16b841ab89e15e620e00ee954ab316ed (diff)
[yourporn] Fix extraction (closes #18424)
-rw-r--r--youtube_dl/extractor/yourporn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/yourporn.py b/youtube_dl/extractor/yourporn.py
index 6602f7c03..a9951f3b8 100644
--- a/youtube_dl/extractor/yourporn.py
+++ b/youtube_dl/extractor/yourporn.py
@@ -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',