コード例 #1
0
 public TumblrHiddenCrawler(IShellService shellService, ICrawlerService crawlerService, IWebRequestFactory webRequestFactory,
                            ISharedCookieService cookieService, IDownloader downloader, ICrawlerDataDownloader crawlerDataDownloader,
                            ITumblrToTextParser <Post> tumblrJsonParser, ITumblrParser tumblrParser, IImgurParser imgurParser,
                            IGfycatParser gfycatParser, IWebmshareParser webmshareParser, IUguuParser uguuParser, ICatBoxParser catboxParser,
                            IPostQueue <AbstractPost> postQueue, IPostQueue <CrawlerData <Post> > jsonQueue, IBlog blog, IProgress <DownloadProgress> progress, PauseToken pt, CancellationToken ct)
     : base(shellService, crawlerService, webRequestFactory, cookieService, tumblrParser, imgurParser, gfycatParser,
            webmshareParser, uguuParser, catboxParser, postQueue, blog, downloader, crawlerDataDownloader, progress, pt,
            ct)
 {
     this.downloader       = downloader;
     this.tumblrJsonParser = tumblrJsonParser;
     this.jsonQueue        = jsonQueue;
 }
コード例 #2
0
 public TumblrBlogCrawler(IShellService shellService, CancellationToken ct, PauseToken pt,
                          IProgress <DownloadProgress> progress, ICrawlerService crawlerService, IWebRequestFactory webRequestFactory,
                          ISharedCookieService cookieService, IDownloader downloader, ICrawlerDataDownloader crawlerDataDownloader,
                          ITumblrToTextParser <Post> tumblrJsonParser, ITumblrParser tumblrParser, IImgurParser imgurParser,
                          IGfycatParser gfycatParser, IWebmshareParser webmshareParser, IMixtapeParser mixtapeParser, IUguuParser uguuParser,
                          ISafeMoeParser safemoeParser, ILoliSafeParser lolisafeParser, ICatBoxParser catboxParser,
                          IPostQueue <TumblrPost> postQueue, IPostQueue <TumblrCrawlerData <Post> > jsonQueue, IBlog blog)
     : base(shellService, crawlerService, ct, pt, progress, webRequestFactory, cookieService, tumblrParser, imgurParser,
            gfycatParser, webmshareParser, mixtapeParser, uguuParser, safemoeParser, lolisafeParser, catboxParser, postQueue,
            blog)
 {
     this.downloader            = downloader;
     this.tumblrJsonParser      = tumblrJsonParser;
     this.jsonQueue             = jsonQueue;
     this.crawlerDataDownloader = crawlerDataDownloader;
 }
コード例 #3
0
 public TumblrHiddenCrawler(IShellService shellService, CancellationToken ct, PauseToken pt, IProgress <DownloadProgress> progress,
                            ICrawlerService crawlerService, IWebRequestFactory webRequestFactory, ISharedCookieService cookieService, IDownloader downloader,
                            ICrawlerDataDownloader crawlerDataDownloader, ITumblrToTextParser <Post> tumblrJsonParser, IImgurParser imgurParser,
                            IGfycatParser gfycatParser, IWebmshareParser webmshareParser, IPostQueue <TumblrPost> postQueue,
                            IPostQueue <TumblrCrawlerData <Post> > jsonQueue, IBlog blog)
     : base(shellService, ct, progress, webRequestFactory, cookieService, postQueue, blog)
 {
     this.crawlerService        = crawlerService;
     this.downloader            = downloader;
     this.pt                    = pt;
     this.tumblrJsonParser      = tumblrJsonParser;
     this.imgurParser           = imgurParser;
     this.gfycatParser          = gfycatParser;
     this.webmshareParser       = webmshareParser;
     this.jsonQueue             = jsonQueue;
     this.crawlerDataDownloader = crawlerDataDownloader;
 }