UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

Changing "text_length" has no effect

Open NotMyMainOne opened this issue 6 years ago • 10 comments

Latest build,

I'm trying to shorten the text_length so that there's room for the file names as I noticed its not downloading multiple files when there's a multiphoto post with a long text description. It only scrapes the first photo in those posts since it can't differentiate. I tried to set it to 225 and 200, saved, backed out of the program, and then re-entered it. It still does the full 240 and downloads only the first file.

I see now that someone else had this same issue back in February due to long paths being enabled but it was fixed. Is this now an issue again or do I need to do something different?

NotMyMainOne avatar Apr 20 '20 23:04 NotMyMainOne

What file name format Accidentally closed

UltimaHoarder avatar Apr 21 '20 22:04 UltimaHoarder

{date} - {text} - {file_name}.{ext}

NotMyMainOne avatar Apr 21 '20 22:04 NotMyMainOne

Do you have long paths enabled on Windows?

UltimaHoarder avatar Apr 22 '20 00:04 UltimaHoarder

Assuming I have the right location (under group policies) it says not configured.

NotMyMainOne avatar Apr 22 '20 00:04 NotMyMainOne

Just disabled long paths and it threw traceback errors (errno 22) for some files and downloaded others. Oddly though instead of limiting text_length to 225 as it is in my config file, it limited the ones it did download to 150.

NotMyMainOne avatar Apr 22 '20 03:04 NotMyMainOne

So you had long paths on when the text_length had no effect?

UltimaHoarder avatar Apr 22 '20 03:04 UltimaHoarder

Well it wasn't configured and I'm thinking it's on by default so yeah. But as I said turning it off only created a whole new set of problems with the errors/skipped downloads and defaulting to 150 characters instead of 225 where I set it.

NotMyMainOne avatar Apr 22 '20 04:04 NotMyMainOne

Alright, what happens when you turn it on?

UltimaHoarder avatar Apr 22 '20 16:04 UltimaHoarder

It goes right back to where we started. That's why I said I figure it acts as on by default because the parameter change has no effect.

NotMyMainOne avatar Apr 22 '20 21:04 NotMyMainOne

Try the latest commit

UltimaHoarder avatar May 11 '20 17:05 UltimaHoarder