UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

I/O Error: encoder error

Open James-MF-Thomas opened this issue 6 years ago • 11 comments

encoding error : input conversion failed due to input error. bytes 0x99 0x73 0x20 0x67

happens for all media resulting in no media files being saved

James-MF-Thomas avatar Oct 17 '20 20:10 James-MF-Thomas

I dunno what this is or where the error occurs.

UltimaHoarder avatar Oct 19 '20 00:10 UltimaHoarder

This has happened with every model with the exception of 1 out of 100: Screen Shot 2020-10-18 at 8 08 19 PM

Screen Shot 2020-10-18 at 8 05 41 PM

James-MF-Thomas avatar Oct 19 '20 01:10 James-MF-Thomas

the links to all the media are avail in the metadata which can be copy/pasted into jdownloader... but a little too tedious

James-MF-Thomas avatar Oct 19 '20 01:10 James-MF-Thomas

What's your file name format

UltimaHoarder avatar Oct 19 '20 01:10 UltimaHoarder

happened with default naming initially, now its' {username}-{media_id}.ext

James-MF-Thomas avatar Oct 19 '20 01:10 James-MF-Thomas

Screen Shot 2020-10-18 at 8 12 22 PM

James-MF-Thomas avatar Oct 19 '20 01:10 James-MF-Thomas

another forum had the error referenced to beautifulsoup4... i tried tracing it but i got lost

James-MF-Thomas avatar Oct 19 '20 01:10 James-MF-Thomas

It's most likely because I switched from lxml to html for bs4

UltimaHoarder avatar Oct 19 '20 01:10 UltimaHoarder

Finally LXML works for Python 3.9 so I'm adding it back in.

UltimaHoarder avatar Oct 20 '20 08:10 UltimaHoarder

👍🏼 thank you sir. (I was able get the script to work(download), just had to let it run a second loop, took a while)

James-MF-Thomas avatar Oct 20 '20 11:10 James-MF-Thomas

I saw this when I used "filename_format": "{date}-{media_id}-{text}.{ext}", and the text had an emoji in it

adamwinn avatar Feb 17 '21 23:02 adamwinn