fix pixiv source

This commit is contained in:
albert
2013-01-06 15:59:31 -05:00
parent 3e4d5b714b
commit b6e9e5b41f

View File

@@ -51,8 +51,8 @@ module Sources
def get_tags_from_page(page)
# puts page.root.to_xhtml
links = page.search("ul.tags a").find_all do |node|
node["href"] =~ /tags\.php/
links = page.search("ul.tags a.text").find_all do |node|
node["href"] =~ /search\.php/
end
if links.any?