Content-Length: 253660 | pFad | https://github.com/Smartproxy/Smartproxy/tree/master/python

0D Smartproxy/python at master · Smartproxy/Smartproxy · GitHub
Skip to content

Latest commit

 

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

🏠 Main Repository 🏠

Disclaimer

If you want to continue development with Python, we highly recommend reading their documentation.

Prerequisites

To run the following code example, you'll need Python installed:

You should also have a Smartproxy account with access to the dashboard to get your credentials and endpoint information.

Installation

Once you have Python installed, continue with the following steps:

  1. Open the Terminal/Command Prompt.
  2. Create your project directory using the mkdir python_example command.
  3. Navigate to your project folder using the cd python_example command.
  4. Execute the following command to download the proxy setup example file:

HTTP(s): curl https://raw.githubusercontent.com/Smartproxy/Smartproxy/master/python/python.py > python.py

SOCKS5: curl https://raw.githubusercontent.com/Smartproxy/Smartproxy/master/python/python.py > pythonsocks5h.py

curl smartproxy python code sample

  1. You should see a new file named python.py in your project folder. Open it using an editor of your choice.
  2. To run this Python example, set your username, password, and endpoint information you'd like to use and enter them in the following sections of the code:

smartproxy python proxy username password authentication

Usage

To execute the Python example, simply run python python.py in your Terminal tool. You should see an IP address in the console window if everything was set up correctly:

smartproxy successful python connection example

Need help?

Email - sales@smartproxy.com

Live chat 24/7









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/Smartproxy/Smartproxy/tree/master/python

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy