Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Checklist
Verbose log
Log:
Description
The TV 2 extractor fails for most/all videos from the last few years. Older video URLs still work fine.
The issue seems to be that the extractor expects an array in 'items' in the JSON data retrieved from the website, whereas for newer videos it will return only a single dictionary with one item.
Old video (working, array of items):
http://sumo.tv2.no/api/web/asset/916509/play.json?protocol=HLS&videoFormat=SMIL+ISMUSP
Newer video (failing, single item dictionary):
http://sumo.tv2.no/api/web/asset/1506773/play.json?protocol=HLSvideoFormat=SMIL+ISMUSP