mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
126e07df69
commit
13d5a46b1b
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue