main
Bob Mottram 2021-09-12 14:37:36 +01:00
parent 126e07df69
commit 13d5a46b1b
1 changed files with 2 additions and 4 deletions

View File

@ -11621,15 +11621,13 @@ class PubServer(BaseHTTPRequestHandler):
refererDomain = refererDomain.split('"')[0] refererDomain = refererDomain.split('"')[0]
elif uaStr: elif uaStr:
if '+https://' in uaStr: if '+https://' in uaStr:
refererDomain = \ refererDomain = uaStr.split('+https://')[1]
self.headers['User-Agent'].split('+https://')[1]
if '/' in refererDomain: if '/' in refererDomain:
refererDomain = refererDomain.split('/')[0] refererDomain = refererDomain.split('/')[0]
elif ')' in refererDomain: elif ')' in refererDomain:
refererDomain = refererDomain.split(')')[0] refererDomain = refererDomain.split(')')[0]
elif '+http://' in uaStr: elif '+http://' in uaStr:
refererDomain = \ refererDomain = uaStr.split('+http://')[1]
self.headers['User-Agent'].split('+http://')[1]
if '/' in refererDomain: if '/' in refererDomain:
refererDomain = refererDomain.split('/')[0] refererDomain = refererDomain.split('/')[0]
elif ')' in refererDomain: elif ')' in refererDomain: