Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gerapypyppeteer with SitemapSpider #12

Open
neveatears opened this issue Aug 11, 2020 · 1 comment
Open

gerapypyppeteer with SitemapSpider #12

neveatears opened this issue Aug 11, 2020 · 1 comment

Comments

@neveatears
Copy link

Hi Gerapy. I'm trying to set up a GerapyPyppeteer and I'm having a problem with the SitemapSpider, the Gepary intercepts the scrapy core request. Can you do something with these? thanks in advance

@neveatears
Copy link
Author

neveatears commented Aug 17, 2020

changed file downloadermiddlewares.py
added
13 line

from gerapy_pyppeteer.request import PyppeteerRequest

added condition to function def process_request
342 line

 if not isinstance(request, PyppeteerRequest):
              return None  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant