Skip to content

Commit

Permalink
[yourporn] Fix extraction (closes #18424)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-delta authored and haraldmartin committed Dec 12, 2018
1 parent fad0317 commit f242c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/yourporn.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _real_extract(self, url):
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',
Expand Down

0 comments on commit f242c24

Please sign in to comment.