-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error using random_proxies #2
Comments
Cache server returns error (success | "no"), so I've been bypassing it with the use_cache=False atribute. Not an ideal solution tho. Edited your code to show it:
Which returned last time I ran it:
|
Thanks for reporting the issue 😃! |
Hello, just testing your package and have an error. Could you look throug and fix it?
installed packages:
beautifulsoup4==4.9.1
bs4==0.0.1
certifi==2020.6.20
chardet==3.0.4
idna==2.10
requests==2.24.0
soupsieve==2.0.1
urllib3==1.25.9
random_proxies ofc
my code:
import requests
from bs4 import BeautifulSoup
import os
from time import sleep
import csv
from fake_useragent import UserAgent
import lxml
from random import choice, uniform
from random_proxies import random_proxy
URL = 'http://sitespy.ru/my-ip'
proxy = random_proxy()
random_proxy()
The text was updated successfully, but these errors were encountered: