Script HTML to Epub

Discussion in 'General Novel Discussion' started by Aundinn, Dec 19, 2017.

  1. Aundinn

    Aundinn New Member

    Joined:
    Dec 18, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Hi !

    A while ago, I created a Python script toconvert the novel pages in Wuxiaworld to Epub, I just got on Gravity Tales and decided to modify it so you could use it here too.

    Inside you will just have to put the url of a novel where you're indicated to and also the boundaries for the chapters (that is first and last chapter).
    Just remember, for the script to work you will have to install Python and the libraries cfscrape, beautifulsoup, html5lib and ebooklib.

    That's all ! I hope you'll find it useful !

    P.S. : Just remember to change the .txt file to a .py file !
     

    Attached Files:

    • GT.txt
      File size:
      1.7 KB
      Views:
      8
  2. Luiz H

    Luiz H New Member

    Joined:
    Feb 19, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Or you could use the baka-tsuki's "Web to Epub" chrome extension. It works fine for most "novels" sites, including GT and Wuxiaworld.
     
  3. Aundinn

    Aundinn New Member

    Joined:
    Dec 18, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Really ? Never heard of it. It could be useful I guess but I don't use Chrome.
    Still, you should leave a link for anyone who would be interested!
     

Share This Page