Commit Graph

16 Commits (master)

Author SHA1 Message Date
AnthonyF cf9d43fed2 Housekeeping + Minor bugfixes
Fixed: #186, #188, #189

Cleaned up lingering `.format()`s and replaced with appropriate f-strings.

Updated project structure to slightly more modern standards.
2021-12-09 21:18:42 -05:00
AnthonyF f3e91a7d4d Exposed slugify args
Enhanced flexibility when naming output files:
Example: `--template="%{artist}/%{album}/%{track}-%{title}" --space-char="_"`

Would produce "scene" style filenames.

Also added is the ability to:
 - Retain upper case letters
 - Leave spaces intact
 - Convert characters to ASCII (北京 -> beijing)
 - Allow additional characters like `()[];` etc
2021-01-10 15:03:53 -05:00
Nightdavisao 0b9ce91621
change the matching <script> type attribute (#171) 2020-10-16 20:29:07 -04:00
Piotr Patrzyk 3d3a524af2
Jsdatafix (#167)
* bandcampjson simplify

* one merged json

* change script identifier

* version bump

* rm extract_data

* go back to json data as list

* tralbum fix

* fix title path

* logging fix
2020-09-27 08:05:04 -07:00
Anthony Forsberg c460cdc09c Added debug option, corrected an argument check
`--debug` option is now in, should give you a better idea of what is happening when used and where a possible error may be.
2017-05-25 11:22:45 -04:00
Anthony Forsberg 2f8b87713c Lyrics embedding update
Fixed lyrics embedding, they will now work even if the lyrics were left out of the track data as we now insert it ourselves by grabbing it from the tracks individual page.

This of course slows things down when using the option so be aware.
2017-05-24 15:29:04 -04:00
Anthony Forsberg 5d9327195a Preliminary lyric embedding changes 2017-05-23 14:47:41 -04:00
Anthony Forsberg 12327e119b 0.0.8 Update
Added --track for downloading individual tracks/singles
Added --embed-art to forcibly embed album art if available
2017-04-15 09:30:34 -04:00
Anthony Forsberg 609ad3a813 Logging for debug purposes 2017-02-27 08:02:24 -05:00
Anthony Forsberg 098ae8c6c7 Refactored BandcampJSON, Added --group option, readability changes.
BandcampJSON now returns a list of JSON strings, Album data, Embed data,
and Page data and is only called once.

Added a `--group` option to insert a group tag, currently this attempts
to use the artist/album Label.

Made some small readability changes for future work, adjusted the
imports and filenames for the last time.
2017-02-17 22:09:17 -05:00
Anthony Forsberg 88107f7538 Fixes #100 and possibly #99
Patches Requests if Python version is below 3.6.0 to fix a quirk in
httplib relating to utf-8 headers.

Also tracks are now sanitized before tagging.
2017-01-28 06:12:21 -05:00
Anthony Forsberg 370da98e21 Refined the regex, no need to remove offending characters now 2017-01-16 21:14:00 -05:00
Anthony Forsberg 1e572a7ad3 JS dictionary can contain strings with ; in them 2017-01-16 16:41:26 -05:00
Anthony Forsberg abf0dd261b Merge 0.0.7 (#94)
* Preliminary 0.0.7 changes

Moved to a new album/track data parser using demjson.

Slimit and Ply are no longer required.

Some basic spelling corrections and consistency changes.

Function Annotation, return types, and docstrings added.

* Initial commit for the Issue Template

* Fleshed out the issue template

* Switched to rst (oops), reformatted accordingly

* Update ISSUE_TEMPLATE.rst

* Moved CONTRIBUTING to the hidden .github directory

* No longer trips up on unavailable tracks in an album

* Much more robust file integrity checking, session file support.

Multi-step process in making sure files are downloaded and encoded
properly.

Bandcamp-dl will now attempt to search for a not.finished file and if it
is found load that sessions arguments and resume operation form where it
left off.

* Improve download status/progress messages

Made the download progress and status messages neater, no more multiple
progress bars and lines of status messages.

* Final 0.0.7 changes

Setup imports for distribution again.

Reformatted docstrings.

Clarified choices in partial download dialog.

Updated changelog.

Updated manifest.

Updated readme.
2017-01-12 19:25:43 -05:00
Anthony Forsberg d8ce58e66d Revert "Preliminary 0.0.7 changes"
This reverts commit 8cc97905a7.
2017-01-04 14:08:56 -05:00
Anthony Forsberg 8cc97905a7 Preliminary 0.0.7 changes
Moved to a new album/track data parser using demjson.

Slimit and Ply are no longer required.

Some basic spelling corrections and consistency changes.

Function Annotation, return types, and docstrings added.
2017-01-04 14:07:53 -05:00