bandcampsync 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {bandcampsync-0.2.2/bandcampsync.egg-info → bandcampsync-0.2.3}/PKG-INFO +1 -1
  2. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync/__init__.py +1 -0
  3. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync/config.py +1 -1
  4. {bandcampsync-0.2.2 → bandcampsync-0.2.3/bandcampsync.egg-info}/PKG-INFO +1 -1
  5. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/setup.py +1 -1
  6. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/LICENSE +0 -0
  7. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/MANIFEST.in +0 -0
  8. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/README.md +0 -0
  9. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync/bandcamp.py +0 -0
  10. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync/download.py +0 -0
  11. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync/logger.py +0 -0
  12. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync/media.py +0 -0
  13. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync.egg-info/SOURCES.txt +0 -0
  14. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync.egg-info/dependency_links.txt +0 -0
  15. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync.egg-info/requires.txt +0 -0
  16. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bandcampsync.egg-info/top_level.txt +0 -0
  17. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bin/bandcampsync +0 -0
  18. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/bin/bandcampsync-service +0 -0
  19. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/cookies.txt +0 -0
  20. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/requirements.txt +0 -0
  21. {bandcampsync-0.2.2 → bandcampsync-0.2.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bandcampsync
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A Python module and script to synchronise media purchased on bandcamp.com with a local directory.
5
5
  Home-page: https://github.com/meeb/bandcampsync
6
6
  Author: https://github.com/meeb
@@ -27,6 +27,7 @@ def do_sync(cookies_path, cookies, dir_path, media_format):
27
27
  log.info(f'New media item, downloading: {item.band_name} / {item.item_title} '
28
28
  f'(id:{item.item_id}) in "{media_format}"')
29
29
  local_path = local_media.get_path_for_purchase(item)
30
+ local_path.mkdir(parents=True)
30
31
  download_file_url = bandcamp.get_download_file_url(item, encoding=media_format)
31
32
  with NamedTemporaryFile(mode='w+b', delete=True) as temp_file:
32
33
  log.info(f'Downloading item {item.band_name} / {item.item_title} (id:{item.item_id}) '
@@ -1,2 +1,2 @@
1
- VERSION = '0.2.2'
1
+ VERSION = '0.2.3'
2
2
  USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bandcampsync
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A Python module and script to synchronise media purchased on bandcamp.com with a local directory.
5
5
  Home-page: https://github.com/meeb/bandcampsync
6
6
  Author: https://github.com/meeb
@@ -3,7 +3,7 @@ import sys
3
3
  from setuptools import setup, find_packages
4
4
 
5
5
 
6
- version = '0.2.2'
6
+ version = '0.2.3'
7
7
 
8
8
 
9
9
  with open('README.md', 'rt') as f:
File without changes
File without changes
File without changes
File without changes
File without changes