|
@@ -4,7 +4,7 @@ import types, utils, query
|
|
|
|
|
|
|
|
const
|
|
const
|
|
|
ytRegex = re"([A-z.]+\.)?youtu(be\.com|\.be)"
|
|
ytRegex = re"([A-z.]+\.)?youtu(be\.com|\.be)"
|
|
|
- twRegex = re"(www\.|mobile\.)?twitter\.com"
|
|
|
|
|
|
|
+ twRegex = re"(?<![^\/> ])(?<![^\/]\/)(www\.|mobile\.)?twitter\.com"
|
|
|
igRegex = re"(www\.)?instagram\.com"
|
|
igRegex = re"(www\.)?instagram\.com"
|
|
|
cards = "cards.twitter.com/cards"
|
|
cards = "cards.twitter.com/cards"
|
|
|
tco = "https://t.co"
|
|
tco = "https://t.co"
|