Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 420 Bytes

File metadata and controls

18 lines (12 loc) · 420 Bytes

python-luminati

A handy Python interface for luminati.io

Usage

import requests
from luminati import Luminati

luminati = Luminati('my-user', 'passw0rd', country='us')
url = luminati.url

res = requests.get('www.example.com', proxy={'https': url})

# refresh the URL (i.e. get a new session)
resNext = requests.get('www.example.com', proxy={'https': luminati.refresh_url()})