GithubHelp home page GithubHelp logo

Comments (5)

ak545 avatar ak545 commented on June 13, 2024

image

I don't see any problems.
Perhaps the unavailability of .ru domains is due to political reasons. Is access to Russian websites blocked in your country?

from dns-domain-expiration-checker.

ak545 avatar ak545 commented on June 13, 2024

While I make the necessary changes to the script code, you can quickly solve this problem (though without any guarantees) using a SOCKS proxy.

The simplest solution might look like this:

  1. Update the required Python packages:
    pip install -U python-whois requests[socks] --user

  2. Launch Tor Browser (just launch it)

  3. Add a line to the script
    os.environ['SOCKS']: str = '127.0.0.1:9150'
    image

  4. Run the script
    image

These actions will route embedded whois traffic through the Tor network. However, some whois servers may block requests from Tor, so keep this in mind.

from dns-domain-expiration-checker.

ak545 avatar ak545 commented on June 13, 2024

New version 0.2.25 is available

  -piw URL, --proxy-internal-whois URL
                        Socks-proxy link for internal whois engine only (default is None)
                        for example:
                        user:[email protected]:8080
                        127.0.0.1:9150

from dns-domain-expiration-checker.

woodholly avatar woodholly commented on June 13, 2024

Same problem using socks proxy... can this problem be in new python-whois ?
try pip3 install --upgrade python-whois

from dns-domain-expiration-checker.

ak545 avatar ak545 commented on June 13, 2024

image

No. The new python-whois, as you can see in the screenshot, works properly.

If you run the script from under some Linux account, then it’s better to update the packages this way

pip install -U python-whois requests[socks] --user

Pay attention to the --user option
https://pip.pypa.io/en/stable/user_guide/

Check whether Russian domains are generally available to you

$ whois mail.ru
image

from dns-domain-expiration-checker.

Related Issues (15)

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.