fix pixiv source

This commit is contained in:
albert
2012-12-26 15:11:21 -05:00
parent 06c259188d
commit f44ba8fe9f
2 changed files with 4 additions and 2 deletions

View File

@@ -49,7 +49,9 @@ module Sources
end
def get_tags_from_page(page)
links = page.search("span#tags a").find_all do |node|
# puts page.root.to_xhtml
links = page.search("ul.tags a").find_all do |node|
node["href"] =~ /tags\.php/
end