-
Notifications
You must be signed in to change notification settings - Fork 40
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
Can you make it as an external DSL ? #8
Comments
That's not really a use case that I have, as what I am doing requires that the crawler DSL work alongside the rest of my Scala app. I'm certainly willing to accept any pull requests though! |
I'm also interested and looking for guidance: What is the most atomic expression to feed into a Crawler instance? After each consumed expression, it should be possible to inspect the nodeStack. My initial guess is simply a |
@ahirner Thanks for bumping the HtmlUnit version. Out of curiosity, are you able to get the crawler to work with JavaScript heavy pages that are using, e.g. AngularJS or other library to render the front end? The various entry points are indeed confusing, and I would probably not choose to write that code the same way if I were starting over on this project again today. Sorry for the uninformative response, it has long been my desire to start this codebase over again now that I have a couple more years of Scala experience under my belt... |
@bplawler the code is highly educating, e.g. how to handle explicit type conversions that are necessary with HtmlUnit. Thanks! |
For example a file that contains the dsl and app can run the dsl and returns the result .
The text was updated successfully, but these errors were encountered: