{"id":20827293,"url":"https://github.com/realpython/python-web-scraping-examples","last_synced_at":"2025-09-23T17:30:25.716Z","repository":{"id":67324829,"uuid":"117859207","full_name":"realpython/python-web-scraping-examples","owner":"realpython","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-31T18:40:07.000Z","size":4,"stargazers_count":44,"open_issues_count":0,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-07T21:03:06.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realpython.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-17T16:03:20.000Z","updated_at":"2025-02-06T18:58:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"fef83c7f-9854-4150-ad31-d71200a18e67","html_url":"https://github.com/realpython/python-web-scraping-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-web-scraping-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-web-scraping-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-web-scraping-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realpython%2Fpython-web-scraping-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realpython","download_url":"https://codeload.github.com/realpython/python-web-scraping-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954409,"owners_count":21830902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T23:11:43.898Z","updated_at":"2025-09-23T17:30:20.661Z","avatar_url":"https://github.com/realpython.png","language":"Python","readme":"# python-web-scraping-examples\n\n## BandLeader\n\nThe code sample found in `bandleader.py` accompanies [this](hhttps://realpython.com/modern-web-automation-with-python-and-selenium/) post on [realpython.com](https://realpython.com).  It introduces the reader to using Python to control headless web browsers. Specifically, `bandleader.py` lets you play music from [bandcamp](https://bandcamp.com) through your Python shell!\n\nTo play around with `bandleader.py`, see the [the tutorial](https://realpython.com/modern-web-automation-with-python-and-selenium/) for setting up, then run something like:\n\n\n```python\n\n\u003e\u003e\u003e from bandleader import BandLeader\n\u003e\u003e\u003e bl = BandLeader('myhistory.csv')\n\u003e\u003e\u003e bl.play()            # should start playing a track\n\n\u003e\u003e\u003e bl.play(3)           # plays the third track in the listing\n\n\u003e\u003e\u003e bl.play_next()       # advances the track\n \n\u003e\u003e\u003e bl.more_tracks()     # see more music to play with\n\n\u003e\u003e\u003e bl.browser.quit()    # close the webdriver instance\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fpython-web-scraping-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealpython%2Fpython-web-scraping-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealpython%2Fpython-web-scraping-examples/lists"}