cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Setting up a proxy for python notebook

pjv
New Contributor III

Hi all,

I am running a python notebook with a web scraper. I want to setup a proxy server that I can use to avoid any IP bans when scraping. Can someone recommend a way to setup a proxy server that can be used from HTTP requests send from a Databricks notebook? Thank you.

Kind regards,

Pim

2 REPLIES 2

Kaniz_Fatma
Community Manager
Community Manager

Hi @pjv, For web scraping, you can integrate an HTTP proxy directly into your Python code using the requests library.

Feel free to provide additional details or ask for further assistance if needed! ๐Ÿ˜Š

pjv
New Contributor III

Hi Kaniz,

Thanks for the reply. I know how to include HTTP proxies in my python code and redirect the requests. However, I wondered if Databricks has any functionality to setup the proxies?

Thank you

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group