IPB

Welcome Guest ( Log In | Register )

4 Pages V   1 2 3 > »   
Reply to this topicStart new topic
Python Grabber scripts
2E7AH
post May 28 2009, 15:27
Post #1





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



Some users reported errors using the scripts I posted here
The errors are result of incorrectly saving the copied scripts, probably indentation errors, so I'm posting those scripts as ready made files here:

[attachment=5122:Discogs.zip]
Go to the top of the page
+Quote Post
auldyin
post May 28 2009, 18:19
Post #2





Group: Members
Posts: 252
Joined: 29-September 01
Member No.: 48



QUOTE (2E7AH @ May 28 2009, 15:27) *
Some users reported errors using the scripts I posted here
The errors are result of incorrectly saving the copied scripts, probably indentation errors, so I'm posting those scripts as ready made files here:

[attachment=5122:Discogs.zip]


Many thanks!!

Works a treat


Go to the top of the page
+Quote Post
2E7AH
post Jun 22 2009, 23:24
Post #3





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



[attachment=5177:lrcDB.zip] Search format: artist-title. LRC (time-stamped) lyrics. 26 252 records Link

[attachment=5178:LyricsNET.zip] Search format: artist-album-title. 184 912 records Link

[attachment=5179:LyricsTime.zip] Search format: artist-title. We have added around 1.000.000 new song lyrics (2007) Link

[attachment=5180:LyricsTXT.zip] Search format: artist-title. This is the same server as lyricsreg.com. More then 700 000 records Link

[attachment=5181:pLyrics.zip] Search format: artist-title. PLyrics is lyrics source dedicated to punk music Link

[attachment=5182:Songmeanings.zip] Search format: artist-title. Artists: 39,266; Songs: 446,280; Albums: 14,226 Link

For questions about python grabber go here
Go to the top of the page
+Quote Post
2E7AH
post Jun 24 2009, 12:46
Post #4





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



Mistype error corrected and some specific parsing, and also descripton should refer to lyricslib.com (not to lyricsreg.com):

[attachment=5184:LyricsTXT.zip]Search format: artist-title. This is the same server as for lyricslib.com. More then 700 000 records Link
Go to the top of the page
+Quote Post
2E7AH
post Jun 24 2009, 15:15
Post #5





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



Mistype error corrected and some specific parsing, and also descripton should refer to lyricslib.com (not to lyricsreg.com):

[attachment=5185:LyricsTXT.zip]Search format: artist-title. This is the same server as for lyricslib.com. More then 700 000 records

[attachment=5186:LyricsTime.zip]Search format: artist-title. More than 1.000.000 records

This post has been edited by 2E7AH: Jun 24 2009, 16:08
Go to the top of the page
+Quote Post
2E7AH
post Jun 24 2009, 19:56
Post #6





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



corrected code page for accented chars etc.

[attachment=5191:Songmeanings.zip]
[attachment=5190:pLyrics.zip]
[attachment=5187:LyricsNET.zip]
[attachment=5189:LyricsTXT.zip]
[attachment=5188:LyricsTime.zip]
Go to the top of the page
+Quote Post
2E7AH
post Jun 24 2009, 21:33
Post #7





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



[attachment=5194:AMG_review.zip]
Go to the top of the page
+Quote Post
elenhil
post Jun 26 2009, 12:40
Post #8





Group: Members
Posts: 196
Joined: 7-September 05
Member No.: 24374



Same error as before:

CODE
foo_grabber_python: Traceback (most recent call last):
  File "C:\Program Files\foobar2000\pygrabber\scripts\LyricsTXT.py", line 41, in Query
    url = 'http://www.lyricstxt.com/lyrics/'+artist[0]+'/'+artist+'/'+title+'_lyrics.html'
IndexError: string index out of range

Go to the top of the page
+Quote Post
2E7AH
post Jun 26 2009, 15:17
Post #9





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



That can only happen if you don't have artist tag, right?

This post has been edited by 2E7AH: Jun 26 2009, 16:07
Go to the top of the page
+Quote Post
2E7AH
post Jun 26 2009, 16:57
Post #10





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



Updated AMG review:
  • faster
  • if fetching multiple releases (release with no review got assigned to previous review value) corrected smile.gif

[attachment=5204:AMG_review.zip]
Go to the top of the page
+Quote Post
elenhil
post Jun 26 2009, 21:45
Post #11





Group: Members
Posts: 196
Joined: 7-September 05
Member No.: 24374



QUOTE (2E7AH @ Jun 26 2009, 18:17) *
That can only happen if you don't have artist tag, right?

Quite possible!
Go to the top of the page
+Quote Post
tere
post Jun 29 2009, 06:24
Post #12





Group: Members
Posts: 21
Joined: 27-June 06
Member No.: 32281



maybe there is a way to make a plugin also www.lololyrics.com unsure.gif
Go to the top of the page
+Quote Post
2E7AH
post Jun 29 2009, 23:53
Post #13





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



QUOTE (tere @ Jun 29 2009, 07:24) *
maybe there is a way to make a plugin also www.lololyrics.com unsure.gif

I'll look through it tomorrow. As I see quickly right now they don't have some straight search engine, but we'll see smile.gif

This post has been edited by 2E7AH: Jun 29 2009, 23:55
Go to the top of the page
+Quote Post
2E7AH
post Jun 30 2009, 16:36
Post #14





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



[attachment=5212:lololyrics.zip]Search format: artist-title. We are the leading lyrics site specialized only on electronic music with over 8000 lyrics spread over genres such as Hardstyle, Hardcore/Gabber, Drum & Bass and Psychedelic Trance link

Possible problems with accented characters. I tested the script very little lacking the music for which lyrics are offered
Go to the top of the page
+Quote Post
tberman333
post Sep 22 2009, 02:46
Post #15





Group: Members
Posts: 162
Joined: 5-November 04
From: W Hartford, CT - USA
Member No.: 17991



QUOTE (2E7AH @ Jun 26 2009, 10:57) *
Updated AMG review:
  • faster
  • if fetching multiple releases (release with no review got assigned to previous review value) corrected smile.gif

[attachment=5204:AMG_review.zip]


Where did this one go??


--------------------
GO WHALE!!!

[url="http://www.toddberman.com"]My Website[/url]
Go to the top of the page
+Quote Post
q-stankovic
post Sep 22 2009, 17:31
Post #16





Group: Members
Posts: 1743
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



Hello 2E7AH! smile.gif

I tried to download some of your scripts , but i have absolutely no idea what to do with such an information: "[attachment=5190:pLyrics.zip]". Hope you can help.

By the way:

Would really love to see a script for that hip-hop lyrics archive
http://www.ohhla.com/

This post has been edited by q-stankovic: Sep 22 2009, 17:32


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
2E7AH
post Sep 23 2009, 20:05
Post #17





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



Some strange interest in scripts today
I'll upload them again these days, I was waiting for new python grabber release but still waiting

QUOTE (q-stankovic @ Sep 22 2009, 17:31) *
Would really love to see a script for that hip-hop lyrics archive
http://www.ohhla.com/

Sorry q-stankovic, but I can't test hip-hop lyrics because I don't have that kind of music (same for reggae, funk/soul, latin etc)
If you have some other lyrics vendor I would try, and if you have some LRC provider than certainly
Go to the top of the page
+Quote Post
q-stankovic
post Sep 25 2009, 17:18
Post #18





Group: Members
Posts: 1743
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



QUOTE (2E7AH @ Sep 23 2009, 21:05) *
Sorry q-stankovic, but I can't test hip-hop lyrics because I don't have that kind of music (same for reggae, funk/soul, latin etc)


Do you need real files to be tagged with LYRICS or would it be enough to have a database.fpl file? In the latter case i could create one and send it to you.


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
2E7AH
post Sep 25 2009, 17:37
Post #19





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



hm... I don't know what you mean with database playlist, but for simplicity just select couple of your hip-hop albums and save playlist as M3U (if you have skipyrich's EXTM3U then better)

I'll do the script, but it will be somewhere this week and not in a day or two, because of some other things wink.gif
Go to the top of the page
+Quote Post
2E7AH
post Sep 25 2009, 18:56
Post #20





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



Also maybe isn't so good idea making lyrics grabber for this site:
1. they don't have search engine as I see
2. if the author isn't some f***ing "50 cent" or something like that, they redirect to FTP and there is not simple way to compare album/title name with their FTP folders - i.e. some random artist: "504 Boyz" has album "Lil' Romeo, Magic" and the folder name is "rm_bside" and then title "Tight Whips" with filename "t_whips.504.txt"

So sorry again, if there isn't search engine I won't bother
Go to the top of the page
+Quote Post
q-stankovic
post Sep 26 2009, 15:07
Post #21





Group: Members
Posts: 1743
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



QUOTE (2E7AH @ Sep 25 2009, 18:37) *
I'll do the script, but it will be somewhere this week and not in a day or two, because of some other things wink.gif

I never expected that you write the script so fast!


QUOTE (2E7AH @ Sep 25 2009, 19:56) *
Also maybe isn't so good idea making lyrics grabber for this site ...


That's a pity! Thanks for considering.


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
2E7AH
post Oct 11 2009, 07:04
Post #22





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



Here are updated AMG scripts:

[attachment=5438:AMG.rar]
- AMG_Genre.py
- AMG_Mood.py
- AMG_Review.py
- AMG_Style.py
- AMG_Theme.py

All AMG releases should return %genre% at least, then %style%, %amg_review%, %mood%, %theme% - in this line of importance
%artist% tag should be as they are on AMG - i.e. MusicBrainz tags artist as "Gabrielle Roth and the Mirrors", but maybe AMG tags tham as "Gabrielle Roth & the Mirrors" so there will be no results. But this are special cases perhaps

I'll soon update other missing scripts too
Go to the top of the page
+Quote Post
2E7AH
post Oct 16 2009, 14:40
Post #23





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



Updated AMG review script:

[attachment=5448:AMG_Review.rar]
- changed %artist% to %album artist%
- now stops on first (most probable) release match, and not on last as it was (I forgot to add break in a loop smile.gif)
- releases with large review now get full review (was "Read more...")

I guess this is final update. Report for problems or suggestions are welcomed

This post has been edited by 2E7AH: Oct 16 2009, 14:40
Go to the top of the page
+Quote Post
Benji99
post Oct 29 2009, 02:32
Post #24





Group: Members
Posts: 80
Joined: 4-October 04
Member No.: 17477



Hey 2E7AH,

Any chance you could make a script for http://www.uta-net.com/ ? It's a fantastic lyrics site for Japanese songs.
The best way to run searches is probably by song name, and the word in japanese word for that is: 曲名
Also this word means artist: 歌手名
An example of a search you can do using a artist name and song names in english letters would be:
Artist: Mr.Children
Song: Gift

I've noticed however that if you run a search for a song that's written with Japanese characters, the keyword in the search gets converted into hex (or something similar). An example would be if you search for this: 大阪で生まれた女 (Song name)

Huge thanks in advance!
Go to the top of the page
+Quote Post
2E7AH
post Oct 29 2009, 02:58
Post #25





Group: Validating
Posts: 2424
Joined: 21-May 08
Member No.: 53675



biggrin.gif Aren't you from Canada?

It looks easy to find the lyrics response, but the lyrics are presented in Flash, so impossible with python grabber. Sorry
Go to the top of the page
+Quote Post

4 Pages V   1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 27th December 2014 - 00:44