#1866: Add nico seiga support and fix various seiga bugs

* Support rewriting source when user uploads from a thumbnail url or
html page url
* Fix bug where site did not log in correctly
* Fix bug where the image url couldn't be extracted from the page if the
image was rated as adults only on seiga
* Normalize direct image url to html page url so tags, etc., can be
extracted
This commit is contained in:
Toks
2014-04-29 11:46:08 -04:00
parent d1c0b5a6cf
commit 0507064004
3 changed files with 68 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ module Downloads
module Strategies
class Base
def self.strategies
[Pixiv, Twitpic, DeviantArt, Tumblr]
[Pixiv, NicoSeiga, Twitpic, DeviantArt, Tumblr]
end
def rewrite(url, headers)