If the above doesn’t work, edit your config.ini inside Toticos Com:
[SITERIP]
fallback_mode = true
use_selenium = false
max_retries = 5
Fallback mode uses a simpler DOM parser that ignores most bot blocks. It’s slower but gets the job done.
Locate the siterip.py file inside your Toticos Com plugin folder. Find the make_request() function and replace the headers section with: Toticos Com SITERIP Fix
headers =
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
'Accept-Language': 'en-US,en;q=0.9',
'Accept-Encoding': 'gzip, deflate, br',
'DNT': '1'
If toticos.com has changed its IP address, or if the subdomain used for SITERIP is not correctly pointed in DNS records, the request times out.
SITERIP fails when hitting the same domain too fast. Add this inside your loop: If the above doesn’t work, edit your config
import time
time.sleep(random.uniform(1.5, 3.5))
If you administer the server hosting Toticos Com, you need to patch the SITERIP module.
Determine where the error occurs:
If you get a 403 or blank page, add a cookie jar and a simple consent accept:
session = requests.Session()
session.get('https://targetsite.com/cookies', headers=headers)
# Accept all cookies
session.post('https://targetsite.com/consent', data='accept': 'all')
Then use session.get() for the actual SITERIP operation. Fallback mode uses a simpler DOM parser that
The original SITERIP script may rely on old PHP or Perl libraries that are no longer supported by modern PHP versions (7.4+ or 8.x). If the server hosting Toticos Com updated its software without updating the script, the function calls inside SITERIP will break.