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
Post a Comment