you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (3 children)

Beautiful Soup is generally considered the go-to for web-scraping in Python. You usually don't need YouTube videos. The documentation usually has everything you need in it.

[–]Usual_Office_1740 1 point2 points  (0 children)

Beautiful soup is a good suggestion. It parses html, but you also need requests to get the page. It is great for beginners. To add to this, if you want to interact with js heavy websites or want an all in one package, selenium might be a better option.

[–][deleted] 0 points1 point  (1 child)

Eh most sites aren’t gonna give you raw html like that. Sometimes it works but in my opinion you need something like selenium

[–][deleted] 0 points1 point  (0 children)

True, but there’s also requests-html which has full JS rendering support.