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

[Request] Add robots.txt parsing #177

Open
joshua-bn opened this issue Jan 10, 2023 · 3 comments
Open

[Request] Add robots.txt parsing #177

joshua-bn opened this issue Jan 10, 2023 · 3 comments

Comments

@joshua-bn
Copy link

Would be nice to have the ability to parse robots.txt like RSS feeds. $web->robots

https://github.com/bopoda/robots-txt-parser is a library. Not sure if it is the one to use here but it seems to do the job

@joshua-bn joshua-bn changed the title Add robots.txt parsing [Request] Add robots.txt parsing Jan 12, 2023
@spekulatius
Copy link
Owner

Yeah, that's something to consider. I would opt for https://github.com/spatie/robots-txt instead as it's better maintained. What exactly do you want to achieve with the information?

@joshua-bn
Copy link
Author

Personally, I am looking for sitemaps declared in robots.txt but I think there's also value in checking for rules for crawling.

@spekulatius
Copy link
Owner

spekulatius commented Jan 15, 2023 via email

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