temporarily disable pixiv sapi calls

This commit is contained in:
r888888888
2015-05-11 10:28:52 -07:00
parent 9878429ab1
commit 5457d9ed4e

View File

@@ -316,6 +316,9 @@ module Sources
# Refer to http://danbooru.donmai.us/wiki_pages/58938 for documentation on the Pixiv API.
def get_metadata_from_spapi!(illust_id)
yield []
return
spapi_url = "http://spapi.pixiv.net/iphone/illust.php?illust_id=#{illust_id}&PHPSESSID=#{PixivWebAgent.phpsessid(agent)}"
agent.get(spapi_url) do |response|