Search code examples
pythonscrapyexepy2exe

Run a spider from an .exe file


I don't know if there's already a question on the same subject. My english is not good enough to understand all the topics I saw on stackoverflow.com about web scraping and run a spider from an exe file.

So, I'm sorry if I ask a question which was already answered somewhere but : is it possible, after having written my spider, to launch it from an exe file instead of launching it from the scrapy crawl xxx ? Just by clicking on the .exe file, the computer will search the items I want on the website I crawl, and will give me a .csv file or .json file. I saw py2exe but it seems to be for the output of my spider. I don't understand it.

I hope I've been clear enough (it's not even clear in French in my head, and it's really hard to translate it in English).

Thanks a lot for your help!!


Solution

  • I found the answer to my question here : How do I package a Scrapy script into a standalone application?

    Thanks to the help provided by @juwi !! I think it's the easier way for me...