Git Product home page Git Product logo

hide_my_python's People

Contributors

kleschenko avatar the-useless-one avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hide_my_python's Issues

AttributeError: 'NoneType' object has no attribute 'group'

How to fix this? also it looks like README file has no inforation about dependencies. I installed manually missing modules through pip but still no luck( when Help works but when run parses gettings this error

[root@HH-Beast proxy]# ./hide_my_python.py -pr {http,https} -ka -aa -s -c -v -o proxy.list
[info] number of proxies: all
[info] countries: ['China', 'Indonesia', 'United States', 'Brazil', 'Venezuela'] and 88 more
[info] ports: all
[info] protocols: ['https', 'http']
[info] anonymity: ['Medium', 'High', 'High +KA']
[info] speed: ['Medium', 'High']
[info] connection time: ['Medium', 'High']
[info] retrieved 1 proxiesTraceback (most recent call last):
File "./hide_my_python.py", line 61, in
main()
File "./hide_my_python.py", line 46, in main
for proxy in parser.generate_proxy(args):
File "/var/www/api.mangahaven.org/http/proxy/parser.py", line 145, in generate_proxy
yield parse_proxy(proxy_html)
File "/var/www/api.mangahaven.org/http/proxy/parser.py", line 56, in parse_proxy
ip_port_html = regex.IP_PORT_HTML.search(proxy_html).group(0)
AttributeError: 'NoneType' object has no attribute 'group'

KeyError: "name='PHPSESSID', domain=N

Today the software is not working showing this error:

Traceback (most recent call last):
  File "/Users/josefson/Applications/hide_my_python/hide_my_python.py", line 61, in <module>
    main()
  File "/Users/josefson/Applications/hide_my_python/hide_my_python.py", line 46, in main
    for proxy in parser.generate_proxy(args):
  File "/Users/josefson/Applications/hide_my_python/parser.py", line 106, in generate_proxy
    cookies = {'PHPSESSID' : r.cookies['PHPSESSID']}
  File "/usr/local/lib/python3.4/site-packages/requests/cookies.py", line 276, in __getitem__
    return self._find_no_duplicates(name)
  File "/usr/local/lib/python3.4/site-packages/requests/cookies.py", line 331, in _find_no_duplicates
    raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))
KeyError: "name='PHPSESSID', domain=N

run it from anywhere

Would be possible to port the code in order to execute the hide_my_python from anywhere but it's folder? I mean, every time i wanna do this i have to cd into its folder? It doesn't find the countries file.
maybe if you get the hide_my_python.py dir with
path = os.path.dirname(os.path.abspath(file))
path = path + '/countries_all'

unable to run the ./hide_my_python.py

./hide_my_python.py
Traceback (most recent call last):
File "./hide_my_python.py", line 26, in
import parser
File "/home/pi/Downloads/hide_my_python/parser.py", line 27, in
import connect
File "/home/pi/Downloads/hide_my_python/connect.py", line 26, in
import requests

Force google dns route

I found this problem every time a network forces opendns dns.
I could solve the issue forcing static configurations in my network adapter(google dns). But i think it would be best if somehow hide_my_python could do it on his own.

[info] number of proxies: all
[info] countries: ['China', 'Indonesia', 'United States', 'Brazil', 'Venezuela'] and 86 more
[info] ports: all
[info] protocols: ['https', 'http']
[info] anonymity: ['None', 'Low', 'Medium', 'High', 'High +KA']
[info] speed: ['High']
[info] connection time: ['High']
Traceback (most recent call last):
  File "/usr/local/lib/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 480, in urlopen
    body=body, headers=headers)
  File "/usr/local/lib/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 285, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/Cellar/python3/3.3.5/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 1065, in request
    self._send_request(method, url, body, headers)
  File "/usr/local/Cellar/python3/3.3.5/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 1103, in _send_request
    self.endheaders(body)
  File "/usr/local/Cellar/python3/3.3.5/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 1061, in endheaders
    self._send_output(message_body)
  File "/usr/local/Cellar/python3/3.3.5/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 906, in _send_output
    self.send(msg)
  File "/usr/local/Cellar/python3/3.3.5/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/client.py", line 844, in send
    self.connect()
  File "/usr/local/lib/python3.3/site-packages/requests/packages/urllib3/connection.py", line 172, in connect
    self.assert_hostname or self.host)
  File "/usr/local/Cellar/python3/3.3.5/Frameworks/Python.framework/Versions/3.3/lib/python3.3/ssl.py", line 213, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'hidemyass.com' doesn't match either of '*.opendns.com', 'opendns.com'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.3/site-packages/requests/adapters.py", line 330, in send
    timeout=timeout
  File "/usr/local/lib/python3.3/site-packages/requests/packages/urllib3/connectionpool.py", line 508, in urlopen
    raise SSLError(e)
requests.packages.urllib3.exceptions.SSLError: hostname 'hidemyass.com' doesn't match either of '*.opendns.com', 'opendns.com'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/josefson/Applications/hide_my_python/hide_my_python.py", line 61, in <module>
    main()
  File "/Users/josefson/Applications/hide_my_python/hide_my_python.py", line 46, in main
    for proxy in parser.generate_proxy(args):
  File "/Users/josefson/Applications/hide_my_python/parser.py", line 101, in generate_proxy
    data = post_request, allow_redirects=False)
  File "/Users/josefson/Applications/hide_my_python/connect.py", line 73, in send_data
    allow_redirects=allow_redirects)
  File "/usr/local/lib/python3.3/site-packages/requests/api.py", line 88, in post
    return request('post', url, data=data, **kwargs)
  File "/usr/local/lib/python3.3/site-packages/requests/api.py", line 44, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.3/site-packages/requests/sessions.py", line 383, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.3/site-packages/requests/sessions.py", line 486, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.3/site-packages/requests/adapters.py", line 385, in send
    raise SSLError(e)
requests.exceptions.SSLError: hostname 'hidemyass.com' doesn't match either of '*.opendns.com', 'opendns.com'

'module' object has no attribute 'generate_proxy'

Traceback (most recent call last):
File "D:\workfiles\PythonScript\hide_my_python\hide_my_python.py", line 61, in

main()
File "D:\workfiles\PythonScript\hide_my_python\hide_my_python.py", line 46, in
main
for proxy in parser.generate_proxy(args):
AttributeError: 'module' object has no attribute 'generate_proxy'

error

abhishek:~/Desktop/work/gits/hide_my_python$ python3 ./hide_my_python.py -o hello.txt
Traceback (most recent call last):
  File "./hide_my_python.py", line 61, in <module>
    main()
  File "./hide_my_python.py", line 46, in main
    for proxy in parser.generate_proxy(args):
  File "/home/abhishek/Desktop/work/gits/hide_my_python/parser.py", line 145, in generate_proxy
    yield parse_proxy(proxy_html)
  File "/home/abhishek/Desktop/work/gits/hide_my_python/parser.py", line 56, in parse_proxy
    ip_port_html = regex.IP_PORT_HTML.search(proxy_html).group(0)
AttributeError: 'NoneType' object has no attribute 'group'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.