Comments (3)
Another weird title I found that fails is
5-toubun no Hanayome∽
Tho different error
Search MyAnimeList for anime in Season? (y|n):
n
Search: hanayome
Add another search: (y|n)
n
Current: hanayome
[1] Seto No Hanayome
[2] Gotoubun no Hanayome
[3] Seto No Hanayome Ova
[4] 5-toubun no Hanayome 2
[5] 5-toubun no Hanayome∽
[6] 5-toubun no Hanayome Movie
[7] Ranma 1/2: Nihao my Concubine
[8] Detective Conan Movie 25: Halloween no Hanayome
[9] UFO Ultramaiden Valkyrie 3: Bride of Celestial Souls` Day
[10] Crayon Shin-chan Movie 18: Chou Jikuu! Arashi wo Yobu Ora no Hanayome
Enter Number: 5
Episode (Range with '-') [1-1]
1
Downloading: 5-toubun no Hanayome∽ EP: 1 - hls
Traceback (most recent call last):
File "C:\Users\raymo\Documents\GitHub\anipy-cli\anipy_cli.py", line 14, in
main()
File "C:\Users\raymo\Documents\GitHub\anipy-cli\anipy_cli.py", line 8, in main
cli.run_cli()
File "C:\Users\raymo\Documents\GitHub\anipy-cli\anipy_cli\cli\cli.py", line 37, in run_cli
cli_class(options=args, rpc_client=rpc_client).run()
File "C:\Users\raymo\Documents\GitHub\anipy-cli\anipy_cli\cli\clis\base_cli.py", line 36, in run
self.process()
File "C:\Users\raymo\Documents\GitHub\anipy-cli\anipy_cli\cli\clis\download_cli.py", line 86, in process
download(entry, self.options.quality, self.options.ffmpeg).download()
File "C:\Users\raymo\Documents\GitHub\anipy-cli\anipy_cli\download.py", line 94, in download
self.multithread_m3u8_dl()
File "C:\Users\raymo\Documents\GitHub\anipy-cli\anipy_cli\download.py", line 301, in multithread_m3u8_dl
input_file = self._dump_m3u8(self._m3u8_content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\raymo\Documents\GitHub\anipy-cli\anipy_cli\download.py", line 398, in _dump_m3u8
content.dump(filename)
File "C:\Users\raymo\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\m3u8\model.py", line 371, in dump
fileobj.write(self.dumps())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.496.0_x64__qbz5n2kfra8p0\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 '\u223d' in position 153: character maps to
from anipy-cli.
Okay, so basically it looks like anipy-cli is trying to save the file as the exact name for the anime, but some OS's don't support the characters being written (tab key, or tilda). I'll go ahead and see if I can fix it and make a pull request if I can. Thanks for the highlight!
from anipy-cli.
Okay, so basically it looks like anipy-cli is trying to save the file as the exact name for the anime, but some OS's don't support the characters being written (tab key, or tilda). I'll go ahead and see if I can fix it and make a pull request if I can. Thanks for the highlight!
That would be nice. We already have a function that takes care of cleaning filenames in download.py. what you could do is to get rid of Unicode chars by encoding it to ASCII, something like that :encode("ascii", "ignore")
. I would do it but currently not at home and editing with my phone is no fun.
from anipy-cli.
Related Issues (20)
- Config not being generated HOT 8
- Randomly creates random extensions for tmp files HOT 17
- Dubs not available in search HOT 14
- JSON decode error when trying to play episodes HOT 3
- Download broken (response code:502) HOT 2
- Program crashes on startup HOT 2
- Error when running Anipy-cli: OSError: FFmpeg version command returned an error HOT 2
- JSON decode error while syncing from MAL HOT 3
- Need to clean titles with special Character to valid filename characters HOT 6
- Requests: Invalid URL: no host supplied HOT 3
- Script Trying to Parse Invalid URL HOT 1
- .5 episode breaks seasonals download HOT 3
- "UnboundLocalError: local variable 'progress_bar' referenced before assignment" HOT 6
- VLC Player doesn't open HOT 1
- Unable to watch anime due to the change of the website HOT 3
- episode 0 is not downloadable HOT 4
- MAL Mode with Apple ID HOT 8
- [macOS Bug] does not initialize config file properly on a fresh install HOT 4
- Windows enviroment variables dont work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anipy-cli.