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

RecursionError - maximum recursion depth exceeded while calling a Python object #29

Open
caligoig opened this issue Feb 20, 2022 · 0 comments
Milestone

Comments

@caligoig
Copy link

I am having issues with parsing some of the urls.
Code generates ResursionError as on image attached.
In code sample I added two urls causing this issue.

from usp.tree import sitemap_tree_for_homepage
url1='https://infirmaryhealth.org/'
t = sitemap_tree_for_homepage(url1)
url2='https://www.kdhmadison.org/'
t = sitemap_tree_for_homepage(url2)

Following scenario happens when robots.txt as Sitemap contains itself, ie a Sitemap entry with robots.txt
image

@freddyheppell freddyheppell added this to the v1.0 milestone Sep 4, 2024
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

2 participants