-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from shaenr/refactor
Got an exe working in windows with pyinstaller.exe
- Loading branch information
Showing
21 changed files
with
37 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,4 +131,6 @@ dmypy.json | |
|
||
.idea/ | ||
zips/* | ||
./src/geckodriver.log | ||
./src/geckodriver.log | ||
build/* | ||
dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
python3 bandcamp_flac_get.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,38 @@ | ||
from pathlib import Path | ||
|
||
# Folder must exist. An absolute path to your download directory | ||
DOWNLOAD_PATH = Path(r".") | ||
# Leave the r that is before the quotes like r"" -- it's supposed to be there. | ||
DOWNLOAD_PATH = r"." | ||
|
||
# Use "chrome", "chromium", "firefox", "opera", "ie", "edge" | ||
# I recommend using the most updated version official google chrome or chromium. | ||
# Other browsers are not really tested. | ||
# If one does not work try another. Updating your browser may help. | ||
BROWSER = "chrome" | ||
BROWSER = r"chrome" | ||
|
||
# You only need one path to the binary (the executable file) named in the option BROWSER | ||
# Try the command | ||
# which google-chrome | ||
# or whatever your command is for the browser (chromium-browser, firefox, etc) | ||
# That path goes here. You can also find paths by right clicking and looking in properties of icons | ||
# HINT: This probably won't be your path. | ||
CHROME_BINARY = Path(r"C:\Program Files\Google\Chrome\Application\chrome.exe") | ||
FIREFOX_BINARY = "" | ||
CHROMIUM_BINARY = "" | ||
EDGE_BINARY = "" | ||
IE_BINARY = "" | ||
OPERA_BINARY = "" | ||
CHROME_BINARY = r"C:\Program Files\Google\Chrome\Application\chrome.exe" | ||
CHROMIUM_BINARY = r"" | ||
|
||
# The path to a txt file where you will list bandcamp album urls to batch download. | ||
ALBUM_LINKS_TXT = Path(r"C:\Users\x\PycharmProjects\bandcamp-flac-get\album_links.txt") | ||
ALBUM_LINKS_TXT = r"./album_links.txt" | ||
|
||
# Select one: Format options are "mp3" "mp3-vo" "mp3-320" "flac" "vorbis" | ||
FORMAT = "mp3" | ||
FORMAT = r"mp3" | ||
|
||
# When bandcamp can't respond fast enough, how long should the browser wait before giving up? | ||
# You can change this if you want. | ||
TIMEOUT_TIME = 1000000000 | ||
|
||
# When you're done write out (CTRL+O) and exit (CTRL+X) | ||
|
||
# Don't touch these | ||
DOWNLOAD_PATH = Path(DOWNLOAD_PATH) | ||
CHROME_BINARY = Path(CHROME_BINARY) | ||
CHROMIUM_BINARY = Path(CHROMIUM_BINARY) | ||
ALBUM_LINKS_TXT = Path(ALBUM_LINKS_TXT) |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[metadata] | ||
name = bandcamp-flac-get | ||
version = 0.1 | ||
version = 1.0.1 | ||
author = shaenr | ||
author_email = [email protected] | ||
description = XXX | ||
|
@@ -15,9 +15,9 @@ classifiers = | |
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) | ||
[options] | ||
package_dir = | ||
= src | ||
= . | ||
packages = find: | ||
python_requires = >=3.6 | ||
|
||
[options.packages.find] | ||
where = src | ||
where = . |
File renamed without changes.
File renamed without changes.
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.