Browse Source

[YouPorn] Fix extractor

totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
9ee53a49f0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/youporn.py

+ 1
- 1
youtube_dl/extractor/youporn.py View File

@ -47,7 +47,7 @@ class YouPornIE(InfoExtractor):
# Get JSON parameters
json_params = self._search_regex(
[r'var\s+videoJa?son\s*=\s*({.+?});',
[r'videoJa?son\s*=\s*({.+})',
r'var\s+currentVideo\s*=\s*new\s+Video\((.+?)\)[,;]'],
webpage, 'JSON parameters')
try:


Loading…
Cancel
Save