fix pixiv source
This commit is contained in:
@@ -49,7 +49,9 @@ module Sources
|
|||||||
end
|
end
|
||||||
|
|
||||||
def get_tags_from_page(page)
|
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/
|
node["href"] =~ /tags\.php/
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user