Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

<base href='relative_path' is not interpreted properly. #978

Open
agarwal-nitesh opened this issue Jan 23, 2022 · 0 comments
Open

<base href='relative_path' is not interpreted properly. #978

agarwal-nitesh opened this issue Jan 23, 2022 · 0 comments

Comments

@agarwal-nitesh
Copy link

agarwal-nitesh commented Jan 23, 2022

  • pyspider version: latest version, built the master branch using docker.
  • Operating system: macOS Catalina
  • Start up command: docker-compose -f docker-compose.yaml build && docker-compose up

Expected behavior

Either the response should interpret the base tags or, on setting response.url and response.orig_url, proper hrefs are constructed for relative hrefs.

Actual behavior

Proper href URLs are not formed.

How to reproduce

Try to crawl a website with <base href="...."> tag.

@agarwal-nitesh agarwal-nitesh changed the title <base href='/relative_path' is not interpreted properly. <base href='relative_path' is not interpreted properly. Jan 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant