alethiophile / ffmirror Goto Github PK
View Code? Open in Web Editor NEWA program to create a local mirror of stories from fanfiction sites
A program to create a local mirror of stories from fanfiction sites
When trying to download this user: https://www.fanfiction.net/u/4294222/Elhini-Prime
Story 3 (https://www.fanfiction.net/s/11967471/3/Shadow-and-Light) returns the following error:
Traceback (most recent call last): File "C:\Python34\lib\runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "C:\Python34\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Python34\lib\ffmirror\__main__.py", line 151, in <module> actions[pn]() File "C:\Python34\lib\ffmirror\__main__.py", line 118, in run_add download_list(**args.__dict__) File "C:\Python34\lib\ffmirror\__main__.py", line 108, in download_list cur_mirror.update_list(nsl, callback=progress) File "C:\Python34\lib\ffmirror\mirror.py", line 116, in update_list mod.compile_story(i, toc, out, contents=True, callback=callback) File "C:\Python34\lib\ffmirror\ffnet.py", line 182, in compile_story outfile.write(text + "\n\n") File "C:\Python34\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u014d' in position 6343: character maps to <undefined>
I think this is due to non-English characters, is there any way to fix this?
The following is the source of the issue:
"Qui vállë tóquetë, ván tecë (If no review comes from y'all; no story comes from me)
Máriessë ar mára tecië"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.