-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Could you extend the documentation to include an example of collecting data from a table, please? #30
Comments
Hi, mate thanks for this! Let me know if that helps or you can show me your exact example and I will tell you what to do with it. |
Hey mate, thanks for the quick reply! You've actually caught me posting up a comment as I'm about to head off travelling for a week and a bit - so my replies might be a little slow, sorry! The following is an example of what I'm doing using a combination of scrapling and bs4. The code is in a state of laziness since I'm still just stuffing around in a jupyter notebook before tidy up, so please accept my apologies for that. I've also broken up the page url in the first couple of lines just so its a little less findable in search. The output is essentially the table that's on the above page to a pandas dataframe, noting that I've also had to account for colspans.
|
Have you searched if there an existing feature request for this?
Feature description
Great work on scrapling!
I would find it particularly useful if you could give an example in the readme of how to scrape from a table, particularly if that table doesn't necessarily had an ID or class.
The text was updated successfully, but these errors were encountered: