summaryrefslogtreecommitdiffstats
path: root/modules/head.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/head.py')
-rwxr-xr-xmodules/head.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/head.py b/modules/head.py
index 384b8df..1008628 100755
--- a/modules/head.py
+++ b/modules/head.py
@@ -26,6 +26,7 @@ def head(phenny, input):
if not uri.startswith('htt'):
uri = 'http://' + uri
+ # uri = uri.replace('#!', '?_escaped_fragment_=')
try: info = web.head(uri)
except IOError: return phenny.say("Can't connect to %s" % uri)
@@ -80,6 +81,7 @@ def f_title(self, origin, match, args):
if not ':' in uri:
uri = 'http://' + uri
+ uri = uri.replace('#!', '?_escaped_fragment_=')
try:
redirects = 0