fix pixiv source
This commit is contained in:
@@ -51,8 +51,8 @@ module Sources
|
|||||||
def get_tags_from_page(page)
|
def get_tags_from_page(page)
|
||||||
# puts page.root.to_xhtml
|
# puts page.root.to_xhtml
|
||||||
|
|
||||||
links = page.search("ul.tags a").find_all do |node|
|
links = page.search("ul.tags a.text").find_all do |node|
|
||||||
node["href"] =~ /tags\.php/
|
node["href"] =~ /search\.php/
|
||||||
end
|
end
|
||||||
|
|
||||||
if links.any?
|
if links.any?
|
||||||
|
|||||||
Reference in New Issue
Block a user