Skip to content

Commit df8815e

Browse files
authored
Update README.md
1 parent 5f1d0ac commit df8815e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ Returns [requests.Response](https://docs.python-requests.org/en/latest/api/#requ
1212

1313
Masking as Tor Browser by using its default headers:
1414
```
15-
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
15+
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8",
1616
"Accept-Encoding": "gzip, deflate, br",
1717
"Accept-Language": "en-US,en;q=0.5",
1818
"Upgrade-Insecure-Requests": "1",
19-
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
19+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0",
2020
```
2121

2222
### Install
@@ -79,7 +79,7 @@ HashedControlPassword hashed_password
7979
from requests_tor import RequestsTor
8080

8181
rt = RequestsTor(tor_ports=(9000, 9001, 9002, 9003, 9004), tor_cport=9151, password=None,
82-
autochange_id=5, threads=8, verbose=True)
82+
autochange_id=5, threads=8)
8383
"""
8484
tor_ports = specify Tor socks ports tuple (default is (9150,), as the default in Tor Browser),
8585
if more than one port is set, the requests will be sent sequentially through the each port;
@@ -88,7 +88,6 @@ rt = RequestsTor(tor_ports=(9000, 9001, 9002, 9003, 9004), tor_cport=9151, passw
8888
autochange_id = number of requests via a one Tor socks port (default=5) to change TOR identity,
8989
specify autochange_id = 0 to turn off autochange Tor identity;
9090
threads = specify threads to download urls list (default=8);
91-
verbose = print debug information (default=False).
9291
"""
9392

9493
# check your ip

0 commit comments

Comments
 (0)