1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
|
# Availability Check
## Domains / IPs Availability
PyFunceble can check the availability of domains and IPs.
### Input Source: Inline
You can check the availability of a domain or IP, by running PyFunceble with
the `-d` argument.
```sh
pyfunceble -d github.com
```
The `-d` argument can also take multiple domains to test.
```sh
pyfunceble -d github.com gitlab.com gitea.com 93.184.216.34
```
<script async id="asciicast-DeyvkADk8zCm51Sxo7iinNOk3" src="https://asciinema.org/a/DeyvkADk8zCm51Sxo7iinNOk3.js"></script>
### Input Source: File
You can check the availability of the domains or IPs located inside a file, by
giving the file path-s to PyFunceble through the `-f` argument.
```sh
pyfunceble -f ./source.list
pyfunceble -f https://example.org/my/awesome/file
```
When using the `-f` argument, the inputted source can be:
- any file-s on your filesystem accessible by the user running PyFunceble.
- an HTTP (raw) URLs of the file you want PyFunceble to download and check.
When testing for the availability of domains or IPs, PyFunceble supports the
following file formats:
- hosts file
- plain text file
- AdBlock filter list (please use with the `--adblock` argument)
- RPZ (formatted) file (please use with the `--rpz` argument)
<script async id="asciicast-JIPgxiZgueGiD2wI1FvuRQJyx" src="https://asciinema.org/a/JIPgxiZgueGiD2wI1FvuRQJyx.js"></script>
## URLs Availability
PyFunceble can check the availability of URLs.
### Input Source: Inline
You can check the availability of a URL through the `-u` argument of PyFunceble.
```sh
pyfunceble -u https://github.com/pyfunceble
```
That `-u` argument can also take multiple URLs to test.
```sh
pyfunceble -u https://github.com/pyfunceble https://gitlab.com/funilrys https://gitea.com
```
<script async id="asciicast-HyVGobPUHiPq2PPh5Krr0ilhh" src="https://asciinema.org/a/HyVGobPUHiPq2PPh5Krr0ilhh.js"></script>
### Input Source: File
You can check the availability of the URLs located inside a file, by
giving the file path-s to PyFunceble through the `-uf` argument.
```sh
pyfunceble -uf ./source.url.list
pyfunceble -uf https://example.org/my/awesome/file
```
Just like the `-f` argument, when using the `-uf` argument, the inputted source can be:
- any file-s on your filesystem accessible by the user running PyFunceble.
- an HTTP (raw) URL-s of the file you want PyFunceble to download and check.
When testing the availability of URLs, PyFunceble following the following formats:
- plain text file
<script async id="asciicast-6EQeyFdgeA4CHZlbsWMZqkKeS" src="https://asciinema.org/a/6EQeyFdgeA4CHZlbsWMZqkKeS.js"></script>
|