python - Get current URL in Twisted -


i wrote script in twisted proxies websites, , i'm wondering if there's way current url in twisted? or let me know when url changes? thanks!

from twisted.internet import reactor twisted.web import proxy, server site = server.site(proxy.reverseproxyresource('www.website.com', 80, ''.encode("utf-8"))) reactor.listentcp(80, site) reactor.run() 


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Java JSoup error fetching URL -

webstorm - PhpStorm file cache conflict with TypeScript compiler -