Problem with image spoofing - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60) +--- Thread: Problem with image spoofing (/showthread.php?tid=56876) |
Problem with image spoofing - flobbes - 2009-08-25 I began writing my own scraper and it works fine so far when using an .nfo file. I get all the informations from the page I need, the only problem is, that i cant get the images from the page. So I tried spoofing but it didn't work. Now im not sure if my syntax isn't correct or if my spoof url is wrong (i tried to log it with wireshark). The XBMC page says: Code: <thumb><url spoof="http://http://www.culturalianet.com">http://www.culturalianet.com/imatges/articulos/\1-1.jpg</url></thumb> (the double http:// is a mistake?) and other scrapers use: Code: <thumb spoof="http://www.adultcdmovies.net">http://www.adultcdmovies.net/images/Product/large/\1.jpg</thumb> Which one is correct or do both work? And has somebody a good suggestion to find the spoof url or how i can test, if have got the correct one? One final question, are scrapers loaded on the fly or at boot time, so do i have to restart xbmc so changes take effect? - spiff - 2009-08-25 follow the real life examples usually just spoofing the the root server url is enough, i.e. http://www.some.com for images grabbed from http://www.some.com/<something>. if you get a thumb downloaded the spoof url is correct scrapers are loaded on the fly when you use them. easiest way of testing is using something like curl --referer or wget --referer - flobbes - 2009-08-25 Thanks for answering all my questions so quickly! I got the image issue solved. Thanks to the xbmc.log i found out that my regex produced .jpg.jpg Now I'll get started with the Search. |