Simple Proxy in Python [urllib] 04

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I'm having trouble calling urlopen

AttributeError: module 'urllib' has no attribute 'urlopen'

baron
Автор

Nice! Thank you! it is really sooo easy!!

mfwxsvo
Автор

lol nice tut, and here I thought this it at least a litle bit trickier than 2 lines of code .... :D

Vritas
Автор

First week of using this language, and strongly feeling like going back to java. Here is the issue with this, when I use this code for a simple proxy check. - AttributeError: 'module' object has no attribute 'urlopen'

runescapetop
Автор

this may sound stupid but what do i need to do so i can surf on the internet with that proxy do i need to connect it with something

adrianc
Автор

can you please help me what if im wanna check if a proxy still works on a site or its banned :P

appiecoolop
Автор

Hi. I am running the code in python 3.6 and it throws error."TypeError: urlopen() got an unexpected keyword argument 'proxies'"

anishkumar-jxdk
Автор

For me it doesn't works {
"origin": "198.77.150.109, 93.95.100.18"
}

rayk
Автор

hey man if you are reading comments can you help me please? I have huge problem with connecting to proxies. I need to get info from a banned site in my country, but when I try to connect to a proxy and then try to get some data, I always get so many error debug. For example it ends as:

raise ProxyError(e, request=request)
HTTPSConnectionPool(host='www, BANNEDSITE, com', port=443): Max retries exceeded with url: (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 400 Bad Request')))

Do you have any idea why this is happening? Is there any other way to scrap & get data from these banned sites?

AsilAygun
Автор

its really very helpful but i could not build a proxy for my code. can you help me???

chandbasra