Skip to content

Commit

Permalink
json response fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsnq committed May 27, 2020
1 parent dd78a8e commit bef5608
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scrapy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ default = examples.settings

[deploy]
#url = http://localhost:6800/
project = scrapyppeteer
project = scrapypuppeteer
2 changes: 1 addition & 1 deletion scrapypuppeteer/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class PuppeteerJsonResponse(PuppeteerResponse):
"""
def __init__(self, url, puppeteer_request, context_id, page_id, **kwargs):
self.data = kwargs
super().__init__(url, puppeteer_request, context_id, page_id, **kwargs)
super().__init__(url, puppeteer_request, context_id, page_id)


class PuppeteerScreenshotResponse(PuppeteerResponse):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='scrapy-puppeteer-client',
version='0.0.1',
version='0.0.2',
description='A library to use Puppeteer-managed browser in Scrapy spiders',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit bef5608

Please sign in to comment.