Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resolving YouTube search links
#7
(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.
Reply


Messages In This Thread
Resolving YouTube search links - by pythonnewbie138 - Jul-28-2020, 04:20 PM
RE: Resolving YouTube search links - by Larz60+ - Jul-28-2020, 04:28 PM
RE: Resolving YouTube search links - by Larz60+ - Aug-01-2020, 02:09 AM
RE: Resolving YouTube search links - by j.crater - Aug-01-2020, 08:08 AM
RE: Resolving YouTube search links - by pythonnewbie138 - Aug-01-2020, 06:45 PM
RE: Resolving YouTube search links - by j.crater - Aug-01-2020, 07:16 PM
RE: Resolving YouTube search links - by Axel_Erfurt - Aug-01-2020, 08:13 PM
RE: Resolving YouTube search links - by snippsat - Aug-02-2020, 12:00 AM
RE: Resolving YouTube search links - by snippsat - Aug-02-2020, 10:27 PM
RE: Resolving YouTube search links - by snippsat - Aug-04-2020, 04:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  webscrapping links and then enter those links to scrape data kirito85 2 3,343 Jun-13-2019, 02:23 AM
Last Post: kirito85

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020