-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Change log - Youtube support added - Custom filenames feature added - Custom folder structure feature added - Unsaving downloaded posts option added - Remove duplicate posts on different subreddits option added - Skipping given domains option added - Keeping track of already downloaded posts on a separate file option added (See --dowloaded-posts in README) - No audio on v.redd.it videos bug fixed (see README for details about ffmpeg) - --default-directory option is added - --default-options is added - --use-local-config option is added - Bug fixes
- Loading branch information
1 parent
0e007ab
commit fd4958c
Showing
26 changed files
with
1,806 additions
and
1,713 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,35 @@ | ||
# Interpret from source code | ||
## Requirements | ||
### Python 3 Interpreter | ||
- This program is designed to work best on **Python 3.6.5** and this version of Python 3 is suggested. See if it is already installed, [here](#finding-the-correct-keyword-for-python). | ||
- If not, download the matching release for your platform [here](https://www.python.org/downloads/) and install it. If you are a *Windows* user, selecting **Add Python 3 to PATH** option when installing the software is mandatory. | ||
### π Python 3 Interpreter | ||
- Python 3 is required. See if it is already installed, [here](#finding-the-correct-keyword-for-python). | ||
- If not, download the matching release for your platform [here](https://www.python.org/downloads/) and install it. If you are a *Windows* user, selecting **Add Python 3 to PATH** option when installing the software is **mandatory**. | ||
|
||
## Using terminal | ||
### To open it... | ||
- **on Windows**: Press **Shift+Right Click**, select **Open Powershell window here** or **Open Command Prompt window here** | ||
|
||
- **on Linux**: Right-click in a folder and select **Open Terminal** or press **Ctrl+Alt+T**. | ||
|
||
- **on MacOS**: Look for an app called **Terminal**. | ||
|
||
### Navigating to the directory where script is downloaded | ||
Go inside the folder where script.py is located. If you are not familiar with changing directories on command-prompt and terminal read *Changing Directories* in [this article](https://lifehacker.com/5633909/who-needs-a-mouse-learn-to-use-the-command-line-for-almost-anything) | ||
### π Source Code | ||
[Download the repository](https://github.com/aliparlakci/bulk-downloader-for-reddit/archive/master.zip) and extract the zip into a folder. | ||
|
||
## π» Using the command line | ||
Open the [Command Promt](https://youtu.be/bgSSJQolR0E?t=18), [Powershell](https://youtu.be/bgSSJQolR0E?t=18) or [Terminal](https://youtu.be/Pz4yHAB3G8w?t=31) in the folder that contains the script.py file (click on the links to see how) | ||
|
||
## Finding the correct keyword for Python | ||
Enter these lines to terminal window until it prints out the version you have downloaded and installed: | ||
### Finding the correct keyword for Python | ||
Enter these lines to the terminal window until it prints out the a version starting with **`3.`**: | ||
|
||
- `python --version` | ||
- `python3 --version` | ||
- `python3.7 --version` | ||
- `python3.6 --version` | ||
- `py --version` | ||
- `py -3 --version` | ||
- `py -3.6 --version` | ||
- `py -3.7 --version` | ||
|
||
Once it does, your keyword is without the `--version` part. | ||
|
||
## Installing dependencies | ||
Enter the line below to terminal window when you are in the directory where script.py is, use your keyword for Python: | ||
## π¦ Installing dependencies | ||
Enter the line below to terminal window when you are in the directory where script.py is, use your keyword instead of `python`: | ||
```console | ||
python -m pip install -r requirements.txt | ||
``` | ||
|
||
## πββοΈ Running the code | ||
Type below code into command line inside the program folder, use your keyword instead of `python`: | ||
```console | ||
python script.py | ||
``` | ||
|
||
--- | ||
|
||
Now, you can go to [Using command-line arguments](COMMAND_LINE_ARGUMENTS.md) | ||
The program should guide you through. **However**, you can also use custom options. See [Options](../README.md#β-Options) |
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,4 +1,5 @@ | ||
bs4 | ||
requests | ||
praw | ||
imgurpython | ||
imgurpython | ||
youtube-dl |
Oops, something went wrong.