Closed uhue closed 2 years ago
I don't get why they allow weird unicode character is these titles. For now I would use --restrict-names
that should remove that unicode character causing the issue.
seems that using --restrict-names
does not to fix it. I am still getting the same error.
Below is the command I am using.
python "C:\Users\Areen Amjad\Documents\kemono-dl\kemono-dl.py" --cookies "C:\Users\Areen Amjad\Documents\kemono-dl\kemono.party_cookies.txt" --kemono-favorite-users --skip-comments --restrict-names --extract-links -o E:\kemono.party
Below is the error I am receiving.
Traceback (most recent call last):
File "C:\Users\Areen Amjad\Documents\kemono-dl\kemono-dl.py", line 4, in <module>
main()
File "C:\Users\Areen Amjad\Documents\kemono-dl\src\main.py", line 765, in main
downloader(urls)
File "C:\Users\Areen Amjad\Documents\kemono-dl\src\main.py", line 58, in __init__
self.add_favorite_artists('kemono')
File "C:\Users\Areen Amjad\Documents\kemono-dl\src\main.py", line 105, in add_favorite_artists
self._find_posts(site,favorite['service'],favorite['id'])
File "C:\Users\Areen Amjad\Documents\kemono-dl\src\main.py", line 176, in _find_posts
self.download_post()
File "C:\Users\Areen Amjad\Documents\kemono-dl\src\main.py", line 187, in download_post
self._download_content()
File "C:\Users\Areen Amjad\Documents\kemono-dl\src\main.py", line 333, in _download_content
os.makedirs(self.current_post_path)
File "C:\Users\Areen Amjad\AppData\Local\Programs\Python\Python310\lib\os.py", line 225, in makedirs
mkdir(name, mode)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'E:\\kemono.party\\patreon\\toneeartwork_[556390]\\[20210214]_[47538372]_\x1dJanuary_2021_rewards_preview'```
For right now I would recommend using the --archive
option and manually adding that post to it so it is skipped. even without `--restrict-names
slashes should always remove from the file name. Will have to look into it more.
I finally figured out the issue of the stupid Unicode character. I will have a new release this weekend that fixes it.
Version
Version: 2022.02.10
Your Command
Description of bug
WinError 123 when it reaches a certain post of the user.
How To Reproduce
Run command that is posted.
Error messages and tracebacks
Additional comments
link to user link to post that errors