Kodi Community Forum
Req Sports scraper - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147)
+----- Forum: General Scraping (https://forum.kodi.tv/forumdisplay.php?fid=306)
+----- Thread: Req Sports scraper (/showthread.php?tid=174789)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


RE: Sports scraper - zag - 2015-01-03

Yep definitely considering other sports, but for starters I'll be concentrating on Soccer.

Oh and as a little new years gift the site is up!! so register on the forums and try to edit some stuff. Please give any feedback.

http://www.thesportsdb.com/

Example of a filled out team - Arsenal
http://www.thesportsdb.com/team/133604

At the moment the site is very limited to basically editing teams but let me know what you think.I've edited a few English Premiership clubs, but you will have to do it yourself for foreign teams. You can find them under the "_No Team" category.

Get your feature requests in now Wink


RE: Sports scraper - bry - 2015-01-03

@zag maybe see if you can pull some data for schedule from here for upcoming events. https://support.google.com/calendar/answer/37098?hl=en


RE: Sports scraper - Ovokx - 2015-01-04

Tested and created the Real Madrid team (http://www.thesportsdb.com/team.php?t=133738) and I have found one issue tring to upload fanarts. If you try to upload a second fanart, overwrittes the existing one instead of creating a new one.



BTW, Real Madrid B correct name's is Real Madrid Castilla Wink


RE: Sports scraper - zag - 2015-01-04

(2015-01-04, 00:39)Ovokx Wrote: Tested and created the Real Madrid team (http://www.thesportsdb.com/team.php?t=133738) and I have found one issue tring to upload fanarts. If you try to upload a second fanart, overwrittes the existing one instead of creating a new one.



BTW, Real Madrid B correct name's is Real Madrid Castilla Wink

Nice!

I'll fix all those bugs mentioned and the language translations right now!

Thanks for testing, its really helped out.

Also for whoever asked for Formula 1 and Formula E I found a really nice data api here http://ergast.com/mrd/db so it looks good for support Big Grin


RE: Sports scraper - enen92 - 2015-01-04

@zag can you include an entry to the official youtube channel for each club (like the ones you have for facebook and instagram) ? I think it is more usefull to have youtube (since we can link from kodi to the youtube addon - like the trailers) than facebook/instagram pages.
Thanks


RE: Sports scraper - enen92 - 2015-01-04

After noticing the database will be a reality I got motivated and inspired to start making something. I made 2 dialogs for aeon nox, one for calendar view (made from scratch) and another to team view (this one is based on the dialogVideoInfo.xml).

A few screenshots:

-Calendar View
Image

-Team View (team members are not made yet)
Image

Let's see where it moves from here Big Grin


RE: Sports scraper - Ovokx - 2015-01-04

Some team names to be corrected from La Liga:

Ath Madrid > Atl Madrid
La Coruna > Depor
Sociedad > La Real or Real Sociedad
Vallecano > Rayo or Rayo Vallecano

PD: maybe we can create a field for different names for the same team

BTW, I have entered and linked to La Liga the 75% of the teams Smile

(2015-01-04, 15:11)enen92 Wrote: After noticing the database will be a reality I got motivated and inspired to start making something. I made 2 dialogs for aeon nox, one for calendar view (made from scratch) and another to team view (this one is based on the dialogVideoInfo.xml).

A few screenshots:

-Calendar View
Image

-Team View (team members are not made yet)
Image

Let's see where it moves from here Big Grin

wow! great job!


RE: Sports scraper - Ovokx - 2015-01-04

Also I see some issues on some team members. Here you can see an example related to Barcelona:

Image

The ones underlined are not players of this team and the one circled has a different nr (it should be #20)


RE: Sports scraper - enen92 - 2015-01-04

Ovokx are you the one filling the spanish part of the db? Please use these logos https://hdlogo.wordpress.com/category/spain-u/ as much as you can so that we have a homogeneous database/logos at least for the main leagues. I think Zag is using them for the Premier league teams.


RE: Sports scraper - Ovokx - 2015-01-04

Sure, no prob. I'll update them right now. Thank you!


RE: Sports scraper - Ovokx - 2015-01-04

Impossible to update them. I get this error:

Quote:Information

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1



RE: Sports scraper - enen92 - 2015-01-04

Yes I also had a go submiting clubs but couldn't upload nor the logo nor the stadium picture nor the banner. The images are uploaded, redirection shows the error posted above by ovokx and the picture does not appear.

The only one I could upload correctly was one fanart:

http://www.thesportsdb.com/team/134108


RE: Sports scraper - zag - 2015-01-04

(2015-01-04, 16:25)Ovokx Wrote: Impossible to update them. I get this error:

Quote:Information

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Should be fixed now Wink


RE: Sports scraper - enen92 - 2015-01-04

It is, thanks


RE: Sports scraper - Ovokx - 2015-01-04

Great thanks!

BTW, now you can check all the La Liga teams are linked to the relative league and with full info at least in 1 language (actually updating to 2) Smile