also support twitter mobile urls
This commit is contained in:
parent
31531949ce
commit
f7aa56b8eb
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ _exports = None
|
||||||
_log = None
|
_log = None
|
||||||
|
|
||||||
REGEX_TWITTERURL = re.compile(
|
REGEX_TWITTERURL = re.compile(
|
||||||
"https?://(?:www\.)?twitter.com/[^/]+/status/(\d+)", re.I)
|
"https?://(?:www\.|mobile\.)?twitter.com/[^/]+/status/(\d+)", re.I)
|
||||||
|
|
||||||
def _get_follows():
|
def _get_follows():
|
||||||
return _bot.database.channel_settings.find_by_setting("twitter-follow")
|
return _bot.database.channel_settings.find_by_setting("twitter-follow")
|
||||||
|
|
Loading…
Reference in a new issue