[ITV] Overhaul ITV extractor (#30266)
authordirkf <fieldhouse@gmx.net>
Fri, 3 Feb 2023 21:10:07 +0000 (21:10 +0000)
committerGitHub <noreply@github.com>
Fri, 3 Feb 2023 21:10:07 +0000 (21:10 +0000)
commit384f632e8a9b61e864a26678d85b2b39933b9bae
treea784c7bf7745441230a7f36a84fc5b16a87e30ad
parent9d17948b5a1cc48bd526b1163292415577131c31
[ITV] Overhaul ITV extractor (#30266)

* support ITVX URLs (thanks Vangelis66)
* support legacy ITV Hub URLs
* include extraction fix 4c57dd2 from sleaux-meaux 3 May 2021
* include extraction fix 6fbcc16, fix by staubichsauger & pukkandan
* work-around duration parsing pending fix to utils.parse_duration
* apply default vanilla UA for pages and media to avoid site blocking
* also detect and report `Episode not found` instead of generic 404
* rework ITVBTCCIE with geo-block detection, best effort geo-restriction handling, news article support
* fix tests
youtube_dl/extractor/itv.py