suckit icon indicating copy to clipboard operation
suckit copied to clipboard

Incorrect local URLs on an index_no_slash.html

Open raphCode opened this issue 2 years ago • 2 comments

When the URL does not end with an slash, the downloaded file becomes index_no_slash.html. But the converted local links are wrong, because url.join() is called, and since the URL does not end with an slash, it strips away the last folder, thinking it is a file.

I made a hackish fix here: https://github.com/raphCode/suckit/tree/hack_url_fix Not sure if you want to merge, feel like a mess.

raphCode avatar Mar 17 '22 12:03 raphCode

@raphCode hey bro I am getting an Downloader.get() has encountered an error: still got the same error with your variant as well any idea how can I fix this it's sort of confusing for my little no coding knowledge brain image

star2202 avatar Apr 20 '22 11:04 star2202

Put a '/' after '.com', it should fix this.

Sorry for the delay in a lot of fixes and issues, I don't have a lot of free time these days

Skallwar avatar Apr 22 '22 07:04 Skallwar