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.
[tvp] vue sites #26238
[tvp] vue sites #26238
Comments
|
@dstftw duplicate of? |
|
@selfisekai I think this is a dupe of #22160 |
|
that's a different case. that one is about the new player being used (new URL scheme in iframes), this one is about a specific group of sites (client-side rendered ones) that create a need to parse a JSON object. |
Checklist
Verbose log
Description
tvp videos often use a different id than the one in the url, it must be extracted from the webpage.
this website uses client-side js framework for rendering (vue.js specifically) and so, is not working with the current html regexes. the video id and other data must be extracted from the
window.__newsDataobject defined in the document.also, this site uses TVPlayer2 api instead of legacy TVPlayer (implemented by ytdl in TVPEmbedIE), but it seems it still works well - try
tvp:35308663for the url above.seems to only apply to the regional TVP3 pages - 17 subdomains, they could use a new extractor as well