Hey, remember I mentioned that I am doing something with Requests and Beautiful Soup - Python Libraries.
Well, actually I was working on Anaconda scripts to download a few lyrics to songs that I couldn't stop humming. So, I thought that instead of trying to copy-paste all those lyrics - why not make a program to do it?
Never mind the lyrics and the singer btw, it's a whole different story.
In the process I learned loads about structure of web-pages and how to examine their HTML code as well. And I wanted to save it all in a UTF-8 encoded file so it took me a couple of days but I managed to do it all right. This is an Anaconda script btw.
Before I put up the code let me tell you that you might need to change the :-
> Directory
> URL's
> Tweak the code some more if you wish to download FREE lyrics from other such data in public domain.
NOTE:- Don't get naughty and don't get into trouble;P
Well, actually I was working on Anaconda scripts to download a few lyrics to songs that I couldn't stop humming. So, I thought that instead of trying to copy-paste all those lyrics - why not make a program to do it?
Never mind the lyrics and the singer btw, it's a whole different story.
In the process I learned loads about structure of web-pages and how to examine their HTML code as well. And I wanted to save it all in a UTF-8 encoded file so it took me a couple of days but I managed to do it all right. This is an Anaconda script btw.
Before I put up the code let me tell you that you might need to change the :-
> Directory
> URL's
> Tweak the code some more if you wish to download FREE lyrics from other such data in public domain.
NOTE:- Don't get naughty and don't get into trouble;P
No comments:
Post a Comment