Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

How to start from a string instead of a request? #468

Closed
realtebo opened this issue Jun 15, 2022 · 2 comments
Closed

How to start from a string instead of a request? #468

realtebo opened this issue Jun 15, 2022 · 2 comments

Comments

@realtebo
Copy link

I've already a string containing valid html.

How can I parse it instead of doing a request ?

@stof
Copy link
Member

stof commented Jun 15, 2022

Use symfony/dom-crawler directly instead of using Goutte. See https://symfony.com/doc/current/components/dom_crawler.html for its doc.

@realtebo
Copy link
Author

Oh, thanks

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

2 participants