Kodi Community Forum
CreateSearchUrl spoof problem - 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: CreateSearchUrl spoof problem (/showthread.php?tid=58450)



CreateSearchUrl spoof problem - flobbes - 2009-09-24

I tried to write a scraper for a german adult movie site (not safe for work if somebody tries the url :o ), I've got everything done but I can't get the Search working.

I used wireshark and saw that it needs spoofing and I looked up some other examples (adultfilmdatabase, asiandb) but I can't get it working, although I used the data that I found with wireshark.

My Code looks like this:
Code:
<url spoof="http://www.mascottefilm.com/12/Search-Movie" post="true">www.mascottefilm.com/12/Search-Movie?isSubmited=true&search=\1&rights=&Release=&FilmCategorieId=&FilmLabelId=&FilmProducerId=&FilmRegieId=</url>

Are there any more possible parameters like post="true" or what else could prevent the scraper from getting the data?


- spiff - 2009-09-24

is the form posted?


- flobbes - 2009-09-24

spiff Wrote:is the form posted?

Im sorry I don't understand your question.


- seedzero - 2009-09-24

flobbes Wrote:Im sorry I don't understand your question.

Does it use the "post" method. Check the HTML form in the code for the site.


- flobbes - 2009-09-24

Yes it does.

Code:
POST /12/Search-Movie HTTP/1.1\r\n
Request Method: POST
Request URI: /12/Search-Movie
Request Version: HTTP/1.1



- spiff - 2009-09-24

k. well at work so can't really be fiddling with porn pages atm Wink


- flobbes - 2009-09-24

No problem glad that I posted the spoiler Smile

Isn't so urgent right now, maybe it even isn't possible to use the search correct.


- flobbes - 2009-09-26

Nobody got an idea, scraper is working fine but without the search, dont want to create .nfo for alle files Smile