Skip to content

Commit

Permalink
Debugging 5
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyRAFFY committed Aug 13, 2024
1 parent 17f1436 commit 8e67735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrappey_proxy/scrappey.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ScrappeyResponse:
def get_scrappey(request: V1RequestBase, proxy_url: str | None = None):
logger.info(f"Calling scrappey for URL : {request.url}")

proxy_url = f"https://{PROXY_USERNAME}:{PROXY_PASSWORD}@{PROXY_EXTERNAL_IP}:{PROXY_EXTERNAL_PORT}"
proxy_url = f"http://{PROXY_USERNAME}:{PROXY_PASSWORD}@{PROXY_EXTERNAL_IP}:{PROXY_EXTERNAL_PORT}"
logger.debug(f"Using {proxy_url} as scrappey's proxy")

get_request_result = scrappey.get({"url": request.url, "proxy": proxy_url})
Expand Down

0 comments on commit 8e67735

Please sign in to comment.