Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (38 sloc) 2.31 KB

About This Django App

👉 Click For Hosted Version

How it works

Bandcamp 2 MusicBrainz helper

This application scrapes a Bandcamp album page & outputs scraped data in a MusicBrainz friendly format. In the future I will try to implement an automatic post to MusicBrainz assuming their API allows it.

About BandCamp Scraper

This project has a clean and reusable scraper module, check it out at bmbhelper.utils.bandcamp_parser.py Tests for this module are found under tests.test_utils.py

Nerdy part of the project

  • uses unittest'ing
  • uses coverage for testing
  • uses mock for faking scraped html
  • usages of type annotations
  • custom __str__ method implementation | __str__ > __repr__
  • custom __getitem__ implementation
  • file load hack for unit tests: create a python variable.
  • shows how to override a python FormObject.is_valid() method
  • shows that I know how write regexes
  • implements custom dict class
  • added custom css to django form widget
  • is completely dockerized for production and development
  • has automatic builds as soon as source is pushed to github master branch
  • uses decouple package for storing of secrets
  • uses settings_prod.py for simple config value overrides
You can’t perform that action at this time.