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

Add ProxyWebScraperDriver #886

Merged
merged 7 commits into from
Jun 21, 2024
Merged

Add ProxyWebScraperDriver #886

merged 7 commits into from
Jun 21, 2024

Conversation

vachillo
Copy link
Member

No description provided.

Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@vachillo vachillo changed the title Add ZenRowsWebScraperDriver Add ProxyWebScraperDriver Jun 20, 2024
@vachillo vachillo marked this pull request as ready for review June 21, 2024 00:26
@vachillo vachillo requested a review from a team June 21, 2024 00:26
Copy link
Contributor

@dylanholmes dylanholmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job!

"js_render=true",
"premium_proxy=true",
]
proxy_url = f'http://{os.environ["ZENROWS_API_KEY"]}:{"&".join(query_params)}@proxy.zenrows.com:8001'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did you get this example url from?

From the docs I found, I'd expect this to look something like https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fhttpbin.io%2Fanything&premium_proxy=true (from the cURL example)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is from the example on the dashboard when you create a free account. i dont see it in the docs though. i figured this would be an easier generic implementation because the actual url to be scraped does not have to change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-06-21 at 9 59 57 AM

collindutter
collindutter previously approved these changes Jun 21, 2024
@vachillo vachillo merged commit ab82f3c into dev Jun 21, 2024
11 checks passed
@vachillo vachillo deleted the zen_rows_scraper branch June 21, 2024 17:25
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

Successfully merging this pull request may close these issues.

None yet

3 participants