I'd suggest allowing users to provide a YouTube Data API v3 key for obtaining metadata, it should be much quicker and allow for more compatibility. The only missing piece is a director picture but that's just about it.
Example request:
GET https://www.googleapis.com/youtube/v3/videos?part=snippet%2CcontentDetails%2Cstatistics&id=QASbw8_0meM&fields=items(contentDetails%2Fduration%2Csnippet(channelTitle%2Cdescription%2CpublishedAt%2Cthumbnails%2Fmaxres%2Ctitle))&key={YOUR_API_KEY}
This should provide the majority of data required and gets around age-gating issues.
I did a YouTube movie and TV Series agent fork here: https://github.com/ZeroQI/YouTube-Agent.bundle
Use my absolute series scanner beta branch to go with it
YouTube Data API v3 is used
I'd suggest allowing users to provide a YouTube Data API v3 key for obtaining metadata, it should be much quicker and allow for more compatibility. The only missing piece is a director picture but that's just about it.
Example request:
This should provide the majority of data required and gets around age-gating issues.