![]() How do I go about downloading them using Python? I read a few beginner tutorials on using selenium, wget, beautifulsoup to download simple pictures, etc but I can't seem to incorporate their method to work on this specific problem of mine.cuz I'm still too new to programming in general, so I apologize for asking stupid dumb questions like these.īut now that I had all my MP3 URL links, so my question is: I always get an error message or something like wget has no attribute 'download' or whatnot. I've checked both conda cmd and cmd and it showed that I had wget in my system, I even manually download the wget.exe to my system32 directory but whenever I tried to run the wget.download(url) I did try using wget but I can't seem to get wget to work on my machine running VSCode Python 3.8.1 64-bit or conda 3.7.4. ![]() Soup = BeautifulSoup(r.content, 'html.parser')įor a in soup.find_all('a', href=re.compile('http.*\.mp3')): I managed to get all the mp3 URL links to show on the shell after running my code but I can't seem to be able to download them at all. I'm trying to learn Python and I tried to write a code to download all the bible mp3 files from my church website where there's a list of mp3 hyperlinks such as:Ĭhapter 1, Chapter 2,3,4,5 and so on. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |