Removed .posted, .lines, augmented title retrieval.

This commit is contained in:
andreimarcu
2014-04-01 18:53:17 -04:00
committed by mutantmonkey
parent f8c25e5a3b
commit 2da9ed09c1
3 changed files with 4 additions and 69 deletions

View File

@@ -13,7 +13,6 @@ import time
from html.entities import name2codepoint
import web
from tools import deprecated
from modules.linx import get_title as linx_gettitle
def head(phenny, input):
@@ -90,11 +89,7 @@ noteuri.priority = 'low'
def snarfuri(phenny, input):
uri = input.group(1)
if phenny.config.linx_api_key != "":
title = linx_gettitle(phenny, uri, input.sender)
else:
title = gettitle(phenny, uri)
title = gettitle(phenny, uri)
if title:
phenny.msg(input.sender, title)