Start a new topic
Answered

Firefox on Scrapy Cloud

I want to use Selenium on Scrapy Cloud and I believe my only obstacle at this point is knowing where it is located or installing it if it's not there. I get this error


I feel like it should be enough to use something like this


    self.borwser=webdriver.Firefox()


but I get this error


     Could not find firefox in your system PATH. Please specify the firefox binary location or install firefox



Best Answer

Hi, to use Selenium you need to deploy your own custom docker image. Please check the following documentation:

https://shub.readthedocs.io/en/stable/deploy-custom-image.html#deploy-custom-image


Best regards!


Pablo


Hello, it says this topic is over a year old but I was wondering if you managed to solve your problem? I also get that same exact error and finding a way to run firefox on scrapy cloud would really help me. I have been stuck with this for days.

Great - Just sent you an Email.. BTW my name is Jim 

Please contact me at lightsquaresolutions@gmail.com. I'd like to try to help. My name is Matt.

If your open to a task we would be happy to employ you to build the image and test on a paid account.

Contact me if you are interested

BTW: We use everything today and were one of the earliest SH clients. We moved away because of the size and scope of the data operations we have. It was not until Dec 2017 we decided to re-evaluate and see if the major pieces were in place we needed.



Have you tried deploying your own custom docker image? I believe that is the way to go. There is help online I followed but got stuck once I realized I need to pay for it. Otherwise, maybe try beautiful soup.

We are a paying customer and would love to PAY MORE but have to fall back to ScrapyD and other options. 

I worked my tail off to get it to work, too, only to find out that I need to be a paying member for the needed steps to have any effect.

Hi,

We have been working over 1 week solving endless bugs and hurdles to get Selenium with Crawlera and SH working. 

All links explored Posts in Stack Exchange and Overflow. 

Has anyone actually solved this in a LIVE working scenario?

If SH wanted to solve this you could easily provide a generic image via GitHub which would help the business expand and save a lot of effort. 


Thank you. The documentation says it is only available to paying customers. Is this true?

Answer

Hi, to use Selenium you need to deploy your own custom docker image. Please check the following documentation:

https://shub.readthedocs.io/en/stable/deploy-custom-image.html#deploy-custom-image


Best regards!


Pablo

Login to post a comment