You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some trial and error found out that if the following function in index.js (Line : 140)
rewriteHtmlUrls({ $, url, headers })
is comment out then the downloaded HTML contains relative URLs.
Request your assistance in solving this issue. As I want to have the downloaded HTML unmodified i.e. if the URLs in the original HTML is absolute it should be absolute else if it is relative, then the downloaded should have relative.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I am currently using that package for one of my work and facing an issue that relative URLs in HTML are getting resolved to absolute URLs.
URL: https://spiritualtactics.com/
After some trial and error found out that if the following function in index.js (Line : 140)
rewriteHtmlUrls({ $, url, headers })
is comment out then the downloaded HTML contains relative URLs.
Request your assistance in solving this issue. As I want to have the downloaded HTML unmodified i.e. if the URLs in the original HTML is absolute it should be absolute else if it is relative, then the downloaded should have relative.
Thanks
The text was updated successfully, but these errors were encountered: