Skip to content

Commit

Permalink
Merge pull request #4 from jxlil/fix/argument-thread
Browse files Browse the repository at this point in the history
Fix: TypeError: AsyncSession.request() got an unexpected keyword argument 'thread'
  • Loading branch information
jxlil authored Dec 13, 2023
2 parents 446f463 + dc71f38 commit c11563f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions scrapy_impersonate/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ def max_redirects(self) -> int:
def verify(self) -> Optional[bool]:
return self._impersonate_args.get("verify")

@property
def thread(self) -> Optional[str]:
return self._impersonate_args.get("thread")

def as_dict(self) -> dict:
return {
property_name: getattr(self, property_name)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="scrapy-impersonate",
version="1.1.0b2",
version="1.1.1b2",
author="Jalil SA (jxlil)",
description="Scrapy download handler that can impersonate browser fingerprints",
license="MIT",
Expand Down

0 comments on commit c11563f

Please sign in to comment.