uploads: remove batch upload page.

* Make /uploads/batch redirect to /uploads/new.
* Remove /uploads/image_proxy.
This commit is contained in:
evazion
2022-02-21 00:03:43 -06:00
parent 3da9c1574f
commit 68ba447494
13 changed files with 4 additions and 166 deletions

View File

@@ -93,10 +93,6 @@ module Sources
image_urls.map { |img| img.gsub(%r{.cn/\w+/(\w+)}, '.cn/orj360/\1') }
end
def headers
{ "Referer" => "https://weibo.com" }
end
def page_url
if api_response.present?
artist_id = api_response["user"]["id"]