fix youporn extractor's json search regex

pull/8/head
chaos33 10 years ago
parent bd3749ed69
commit e0d0572b73

@ -47,7 +47,7 @@ class YouPornIE(InfoExtractor):
# Get JSON parameters # Get JSON parameters
json_params = self._search_regex( json_params = self._search_regex(
r'var currentVideo = new Video\((.*)\)[,;]', r'var videoJason = (.*)[,;]',
webpage, 'JSON parameters') webpage, 'JSON parameters')
try: try:
params = json.loads(json_params) params = json.loads(json_params)

Loading…
Cancel
Save