• 0 Posts
  • 131 Comments
Joined 1 year ago
cake
Cake day: July 20th, 2023

help-circle
















  • Indeed. while my bash-fu is redimentary at best, I don’t think Bash can be used for web scrapping ? But I think he could use RSS to get the posts, then extract youtube links with Regex and use the dump feature of yt-dlp* to get the video category, title,etc by using jq to parse the json. Then, it’s probably just a matter of using curl to do the API calls and voilà.

    *yt-dlp is better maintained than youtube-dl, or so I heard.


  • It was just a recommendation. If you feel like python isn’t for you, you can try any other language and the only difference will be how much time it’ll take to make it, but otherwise you can use C if you want. Maybe you’re so used to low level programming like managing memory and having to declare types everywhere that python dumb proof approach is difficult for you. Just don’t think too hard about it, if it’s a personal use script then there’s no need to think about it’s efficiency or ugliness. If it works, it works.