Git Product home page Git Product logo

dns-online-filter's People

Contributors

navytitanium avatar

Stargazers

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

Watchers

 avatar

dns-online-filter's Issues

AttributeError: '_UnixSelectorEventLoop' object has no attribute 'shutdown_asyncgens'

Hello,

Traceback (most recent call last):
  File "async-filter.py", line 149, in <module>
    safe,Provider = lauch(domains[i])
  File "async-filter.py", line 124, in lauch
    return loop(domain,asn_baseline,hash_baseline)
  File "async-filter.py", line 96, in loop
    loop.run_until_complete(loop.shutdown_asyncgens())
AttributeError: '_UnixSelectorEventLoop' object has no attribute 'shutdown_asyncgens'

When I comment out the line 96 loop.run_until_complete(loop.shutdown_asyncgens()) it runs.
After comment out of the line I also getting bellow errors.
I think this one because of the time out of query in resolver.py. Im kinda new for python so cant figured out ):

(dns-online-filter) ➜  Dns-online-filter git:(master) ✗ python async-filter.py dns.txt
botmasterlabs.net --> safe
botmasterru.com --> safe
botviet.net --> safe
boypost.com --> unsafe, filtered by NortonConnectSafe
bramjnet.com --> unsafe, filtered by NortonConnectSafe
brandibelle.com --> unsafe, filtered by NortonConnectSafe
bravovids.com --> unsafe, filtered by NortonConnectSafe
brimors.pw --> safe
broadspring.com --> safe
browserexstensions.review --> safe
btc-get.com --> safe
bubblesmedia.ru --> safe
budichome.narod.ru --> safe
bulderlabelpoint.club --> safe
bulkregister.com --> safe
bulktube.com --> unsafe, filtered by NortonConnectSafe
bundasnovinhas.com --> unsafe, filtered by ComodoSecure
burn4free.com --> unsafe, filtered by NortonConnectSafe
buscape.com.br --> safe
Traceback (most recent call last):
  File "async-filter.py", line 149, in <module>
    safe,Provider = lauch(domains[i])
  File "async-filter.py", line 105, in lauch
    Answers_Google = Google.query(domain, "A")
  File "/home/msenturk/.virtualenvs/dns-online-filter/lib/python3.5/site-packages/dns/resolver.py", line 949, in query
    timeout = self._compute_timeout(start)
  File "/home/msenturk/.virtualenvs/dns-online-filter/lib/python3.5/site-packages/dns/resolver.py", line 858, in _compute_timeout
    raise Timeout(timeout=duration)
dns.exception.Timeout: The DNS operation timed out after 30.000416040420532 seconds

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.