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

Add method for raw parsing to providers #114

Open
zyuhel opened this issue Oct 29, 2015 · 0 comments
Open

Add method for raw parsing to providers #114

zyuhel opened this issue Oct 29, 2015 · 0 comments

Comments

@zyuhel
Copy link
Contributor

zyuhel commented Oct 29, 2015

IMO public method should be added for Provider Class for parsing data.
Now there is extract($url) method, it calls _extract($url) submethod. This architecture make it's not possible for chaining processing. If all providers will have parse($html) method in addition to extract ($url)(which will call parse method itself after fetching data). it will be possible to chain providers. Fetch html one time, and then pass the returned data through more then one provider.

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