Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant