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

Serp API Code Challenge #282

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

farzinadil
Copy link

This solution uses Python and BeautifulSoup to parse the HTML.

In hindsight, getting each carousel item and using regex to find the relevant data might be better than looking for certain elements/attributes. This solution uses regex to find the image source but looks for HTML elements/attributes for the rest of the data.

The instructions for how to run are in the README.

The test compares the generated output to expected-array.json. The other 2 HTML files are warriors.html and 49ers-players.html

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

Successfully merging this pull request may close these issues.

1 participant