Beispiel #1
0
 private void BookScrape(HtmlDocument doc, PageTypes webType)
 {
     Websites.HtmlBookScraper Book = this.websites[webType] as Websites.HtmlBookScraper;
     Book.OriginalDoc = doc;
     this.NextChapter = Book.GetNextChapter();
     Book.ParseHtml();
     this.BookContent        = Book.Contents;
     this.HTML               = Book.HTML;
     this.CurrentChapterName = Book.GetCurrentChapterName();
 }
Beispiel #2
0
        private void BookScrape(HtmlDocument doc, PageTypes webType)
        {
            Websites.HtmlBookScraper Book = this.websites[webType] as Websites.HtmlBookScraper;
            Book.OriginalDoc = doc;
            Book.BookID      = this.BookID;

            this.CurrentChapterName = Book.GetCurrentChapterName();
            Book.ParseHtml();
            string s = Book.GetNextChapter();
            string p = Book.GetPreviousChapter();

            this.NextChapter     = s;
            this.PreviousChapter = p;
            //Book.ParseHtml();
            this.BookContent = Book.Contents;
            this.HTML        = Book.HTML;
            //this.CurrentChapterName = Book.GetCurrentChapterName();
        }