mirror of https://gitlab.com/bashrc2/epicyon
Fallback to actor
parent
6d2987d9d1
commit
37e15a8549
|
|
@ -192,7 +192,10 @@ def follow_confirm2(self, calling_domain: str, cookie: str,
|
|||
if '&submitView=' in follow_confirm_params:
|
||||
following_actor = \
|
||||
urllib.parse.unquote_plus(follow_confirm_params)
|
||||
following_actor = following_actor.split('actorUrl=')[1]
|
||||
if 'actorUrl=' in following_actor:
|
||||
following_actor = following_actor.split('actorUrl=')[1]
|
||||
else:
|
||||
following_actor = following_actor.split('actor=')[1]
|
||||
if '&' in following_actor:
|
||||
following_actor = following_actor.split('&')[0]
|
||||
redirect_headers(self, following_actor, cookie, calling_domain, 303)
|
||||
|
|
|
|||
Loading…
Reference in New Issue