powered by
This function downloads a YouTube video or Soundcloud or any other platform supported by the youtube-dl library, and converts it into a high quality MP3 file.
get_mp3(url, mp3 = TRUE, params = "", quiet = FALSE)
Characeter. YouTube URL
Boolean. Add mp3 parameters?
Character. Additional parameters
Boolean. Keep quiet (or show query)?
More info from the original developers and its code: youtube-dl's Github
Other Scrapper: geoStratum(), holidays(), ip_country(), readGS(), trendsRelated()
geoStratum()
holidays()
ip_country()
readGS()
trendsRelated()
# NOT RUN { # Download video from YouTube and convert to MP3 get_mp3("https://www.youtube.com/watch?v=lrlKcCdVw9Q") # }
Run the code above in your browser using DataLab