Code Monkey home page Code Monkey logo

wuxiaworld's People

Stargazers

 avatar  avatar  avatar Bocke avatar Doğa avatar Hantsaniala Eléo avatar  avatar  avatar Alborz avatar David avatar  avatar Zere0 avatar  avatar Joms avatar

Watchers

 avatar

wuxiaworld's Issues

Can't run the script

Hi,
I've tried pretty much everything I could think of, but I keep getting this error :

Traceback (most recent call last):
  File "code.py", line 17, in <module>
    if sys.argv[1]:
IndexError: list index out of range

According to instructions, I've changed the script as follows:

# Enter The Novel URL Here
# Link format : https://www.wuxiaworld.com/novel/ancient-strengthening-technique/
novelURL = 'https://www.wuxiaworld.com/novel/keyboard-immortal/'
if sys.argv[1]:
    novelURL = sys.argv[1]

I just don't get what else I can do. Any hint ?

Help please

HI my terminal runs this error

COuld not identify it

Traceback (most recent call last):
File "/Users/me/Library/Preferences/PyCharmCE2018.1/scratches/scratch.py", line 26, in
synopsis = soup.select('div[class="fr-view"]')[1]
IndexError: list index out of range

what do i have to change?

Encoding of chapter content

Line 49: c1.content = div.encode('ascii')

.epub files should be encoded in "utf-8" or "utf-16" as non-ascii characters may appear in html files and wuxiaworld.com

Can´t download chapters.

When i try to download chapters i get this error.
Traceback (most recent call last):
File "code.py", line 26, in <module>
synopsis = soup.select('div[class="fr-view"]')[1]
IndexError: list index out of range

From this line of code:
synopsis = soup.select('div[class="fr-view"]')[1]

And if i change the index number to 0 the scripts works fine and lets me chose the range of chapters to download but when its all finished and all the only thing thats saved its the image of the novel.

The novel that i tried to download was Overgeared, i am using Windows 10 and everything is updated according to the guide.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.