Skip to content

Issues with subfolder crawling #239

@vladejs

Description

@vladejs

I'm having issues with subfolders. It seems like if I have this:

www.site.com/
  css/index.css
  blog/
     indexBlog.html
     css/index.css

When crawling site.com it downloads first css/index.css.
When crawling blog it finds a link with href to css/index.css insideindexBlog.html.

This last path isn't relative, and the crawler instead of downloading it into blog/css/index.css it checks for the upper /css/index.css, leading to the asset not being downloaded.

So it ends up with this:

www.site.com/
  css/index.css
  blog/
     indexBlog.html // the reference inside is wrong
     [missing index.css file]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions