temporarily disable pixiv sapi calls
This commit is contained in:
@@ -316,6 +316,9 @@ module Sources
|
|||||||
|
|
||||||
# Refer to http://danbooru.donmai.us/wiki_pages/58938 for documentation on the Pixiv API.
|
# Refer to http://danbooru.donmai.us/wiki_pages/58938 for documentation on the Pixiv API.
|
||||||
def get_metadata_from_spapi!(illust_id)
|
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)}"
|
spapi_url = "http://spapi.pixiv.net/iphone/illust.php?illust_id=#{illust_id}&PHPSESSID=#{PixivWebAgent.phpsessid(agent)}"
|
||||||
|
|
||||||
agent.get(spapi_url) do |response|
|
agent.get(spapi_url) do |response|
|
||||||
|
|||||||
Reference in New Issue
Block a user