Parsing `videoParams' or `videoLa7' JavaScript snippets as JSON is getting too
hard for js_to_json. Just extract the `vid' from there and use _search_og_*
for all other data.
Remove the 2nd test: unfortunately the page are removed after a couple of
days/weeks.
Thanks to Elia Geretto for spotting and suggesting several problems with the
tests!
Closes#23323.
@ -3,7 +3,6 @@ from __future__ import unicode_literals
from.commonimportInfoExtractor
from.commonimportInfoExtractor
from..utilsimport(
from..utilsimport(
js_to_json,
smuggle_url,
smuggle_url,
)
)
@ -23,21 +22,12 @@ class LA7IE(InfoExtractor):
'id':'0_42j6wd36',
'id':'0_42j6wd36',
'ext':'mp4',
'ext':'mp4',
'title':'Inc.Cool8',
'title':'Inc.Cool8',
'description':'Benvenuti nell\'incredibile mondo della INC. COOL. 8. dove “INC.” sta per “Incorporated” “COOL” sta per “fashion” ed Eight sta per il gesto atletico',
'description':'Benvenuti nell\'incredibile mondo della INC. COOL. 8. dove “INC.” sta per “Incorporated” “COOL” sta per “fashion” ed Eight sta per il gesto atletico',