Allow source fetcher to work on non-mobile twitter
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
module Sources::Strategies
|
module Sources::Strategies
|
||||||
class Twitter < Base
|
class Twitter < Base
|
||||||
def self.url_match?(url)
|
def self.url_match?(url)
|
||||||
url =~ %r!https?://mobile\.twitter\.com/\w+/status/\d+!
|
url =~ %r!https?://(?:mobile\.)?twitter\.com/\w+/status/\d+!
|
||||||
end
|
end
|
||||||
|
|
||||||
def tags
|
def tags
|
||||||
|
|||||||
Reference in New Issue
Block a user