Aug-01-2020, 06:45 PM
(Aug-01-2020, 08:08 AM)j.crater Wrote: Hello, it seems you are facing same issues I did a little while ago. And also the reason was that since recently, it seems JavaScript has been used to create the list of videos (search results).
Here is the thread with solution @snippsat kindly provided (which is to use Selenium instead of BS):
https://python-forum.io/Thread-Beautiful...bpage-html
Thanks for the input!
I started looking into Selenium but I want the script to be OS-independent and Selenium only works on Linux. I'll probably use a YouTube API wrapper when I get back to this. It's way more then I should need to achieve this but I haven't found a cross-platform method to work from the public search results. Or source the links from another site like TMDB if they allow hotlinking.