I am not that familiar with other languages, but I know Mathematica is powerful enough to excess webpage data (youtube copyright free database). I want to download sound effects from YouTube, but I feel frustrated that I have to do it one by one.


Can I get a access the website by Mathematica and download the files (maybe all of it?)

  • 1
    $\begingroup$ Have you tried anything? There are many topics about web scraping and once you obtain urls you can download it using URLDownload. $\endgroup$ – Kuba Jul 9 '18 at 6:30
  • 1
    $\begingroup$ I assume Google is smart enough to not expose those links directly. If so, there are likely two ways to do this easiest. 1) Write a scraper built off of the web-browser drivers that are in ExternalEvaluate 2) Use the YouTube API $\endgroup$ – b3m2a1 Jul 9 '18 at 8:08
  • 1
    $\begingroup$ If you really want this I can write you a YouTube API connection, too. I'd just maybe need to find a day when I have some free hours here or there. $\endgroup$ – b3m2a1 Jul 9 '18 at 8:16
  • 2
    $\begingroup$ Maybe you could try youtube-dl and you-get in python. $\endgroup$ – partida Jul 10 '18 at 1:34
  • 2
    $\begingroup$ @b3m2a1 The problem is that you can navigate to different pages, click on things, take pretty pictures of the result etc. but you cannot retrieve the HTML of the website, even though the driver API supports this. It is an extremely stupid omission (if I'm right) because it makes it useless for anything other than taking pictures, but as I understand it this is how they made it. $\endgroup$ – C. E. Jul 10 '18 at 9:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.