The intrusive "Ad blocker are not allowed on YouTube" message is annoying. This open-source project aims to address this issue by providing a solution to bypass YouTube's ad blocker detection
This PR fixes the video ID extraction logic to support various YouTube URL formats, including both standard video URLs (watch?v=), and other urls such as live stream URLs (live/).
Previously it only handled URLs with the v parameter, causing it to break with live stream URLs or urls like https://www.youtube.com/watch?app=desktop&v=_x9bXso3wo4
This PR fixes the video ID extraction logic to support various YouTube URL formats, including both standard video URLs (watch?v=), and other urls such as live stream URLs (live/). Previously it only handled URLs with the v parameter, causing it to break with live stream URLs or urls like https://www.youtube.com/watch?app=desktop&v=_x9bXso3wo4