damn you are good. Is this a new py3 thing?
I must missed lots of CTF lessons.
How about adding another .replace('﹍','').replace('gi_frame', '') ?