r/AskProgrammers • u/Torian_Grey • 12h ago
Expediting and tedious task
I know it is possible to write a program that can read and display text from a website and I have a small amount of experience with Java and batch files that I would like to grow into something useful. My question is, what would be the easiest path to creating a program that could read all the titles in a youtube music playlist and display them in a way that could be copied into a text file? More specifically, where would I go to quickly learn how to do specifically this?
3
Upvotes
1
u/rupertavery64 12h ago
It depends, but you could use python with the beautifulsoup library
1
u/mkhanwrites_ 2h ago
You need to learn about web crawling, filesystem routines/filesystem library in your programming language of choice, and outputting to a file which technically should fall under the umbrella of the filesys library. For Java, a decent choice of web crawler from a quick search I did is jsoup.