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

Cookbook Check a Webpage for Broken Links #2581

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ggsmith842
Copy link
Contributor

Adds recipe for validating links on a webpage. For this example the webpage is represented as an html string. This code makes use of the cohttp and lambdasoup libraries.

@ggsmith842 ggsmith842 changed the title Create 00-cohttp_lambdasoup.ml Cookbook Check a Webpage for Broken Links Jul 5, 2024
It shows the library as Lambda Soup here:
https://opam.ocaml.org/packages/lambdasoup/

Otherwise, perhaps put `lambdasoup` in monospace
@christinerose
Copy link
Collaborator

It shows the library as Lambda Soup here:
https://opam.ocaml.org/packages/lambdasoup/

Otherwise, perhaps put lambdasoup in monospace. ??

@yawaramin
Copy link
Contributor

I think this makes #2552 redundant? They both show how to parse a web page and grab all the hyperlinks inside it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants