bugatsinho.github.io icon indicating copy to clipboard operation
bugatsinho.github.io copied to clipboard

Scraping Event Info

Open isilrhun opened this issue 3 years ago • 13 comments

Great work. Thank you for this awesome addon. Just wondering wouldn't it be great if the addon could scrape data, images, etc. from TheSportsDB. There's a working Kodi scraper already.

I think that would take the addon to a whole different level.

isilrhun avatar Jan 22 '22 21:01 isilrhun

for what reason would be great idea?

bugatsinho avatar Jan 24 '22 20:01 bugatsinho

Well, for one, it would scrape team logos , official match thumbnail or poster, competition badges, etc. so the thumbnails on Kodi are not generic fanarts. That's the basics. It could also potentially get data like where the location is and other match information, but I do understand that's a lot of work. It's just an idea.

isilrhun avatar Jan 24 '22 20:01 isilrhun

Something like this. screenshot00000Mockup

isilrhun avatar Jan 24 '22 22:01 isilrhun

so do you have the code written for something like that? can you share it here plz. i will try to add it when i will have time!! thank you

bugatsinho avatar Jan 24 '22 22:01 bugatsinho

do you use the api of the website? https://www.thesportsdb.com/api.php

bugatsinho avatar Jan 24 '22 22:01 bugatsinho

Ahh man I wish. No I'm a graphic designer and this is just a mock-up. I'd be happy to help with graphics but I definitely don't know enough coding to pull this off

isilrhun avatar Jan 24 '22 23:01 isilrhun

how did you add the data on the print you sent?

bugatsinho avatar Jan 24 '22 23:01 bugatsinho

Photoshop. I am trying to see if the Kodi scraper would work to pull the data. If I can get it to work, maybe you can incorperate that into the addon? Kinda like seren pulls data from TVDB or something

isilrhun avatar Jan 24 '22 23:01 isilrhun

problem with that is that you have to use the api of the website and also become patreon to have access on the event info image

bugatsinho avatar Jan 24 '22 23:01 bugatsinho

found this module and i will try to add it but it is only for kodi18 https://github.com/enen92/script.module.thesportsdb

bugatsinho avatar Jan 25 '22 02:01 bugatsinho

Yeah, I was looking at that and it looks like it does pull enough data with a free API. Anything more would probably be an overkill for Streaming Addon for Kodi. Thanks for working on this man. Let me know if you ever need help with Graphix and stuff.

isilrhun avatar Jan 25 '22 02:01 isilrhun

only issue is the api image

bugatsinho avatar Jan 25 '22 02:01 bugatsinho

(https://www.thesportsdb.com/forum_topic.php?t=1813)

isilrhun avatar Jan 25 '22 02:01 isilrhun