1
0
Fork 0
mirror of synced 2024-06-26 10:00:20 +12:00
Commit graph

333 commits

Author SHA1 Message Date
Serene-Arc 0d839329e5 Remove utils module for downloaders 2021-04-18 16:42:59 +03:00
Serene-Arc be613949fe Rename files to conform to PEP8 2021-04-18 16:42:49 +03:00
Serene-Arc 12b5fd351e Update gitignore to Python standard 2021-04-18 16:42:49 +03:00
Serene-Arc d8a1204d8b Move to standard module structure 2021-04-18 16:42:49 +03:00
Serene-Arc 185335e60b Add tentative typing 2021-04-18 16:42:39 +03:00
Serene 4143b86467 Pep8 format (#184)
* Format file to be PEP8 compliant

* Remove unused imports

* Format file to PEP8

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Format file to PEP8

* Format file to PEP8

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Format file to PEP8

* Remove unused imports

* Format file to PEP8

* Remove unused imports

* Condense spacing
2021-04-18 16:42:25 +03:00
Ali Parlakci f034c1a87c Increment version to 1.10.0 2021-04-18 12:09:10 +03:00
Ali Parlakci e179c09fae Revert "Add --config option for explicitly stating configuration file to use."
This reverts commit 37a3d83725.
2021-04-18 11:31:51 +03:00
Ali Parlakci 975b2753c4 Don't wait when exception 2021-04-06 17:43:09 +03:00
Ali Parlakci 8179b845b7 Revert "respect --quit when JSON exception is thrown"
This reverts commit 33324cde26.
2021-04-06 17:41:43 +03:00
Ali Parlakci 33324cde26 respect --quit when JSON exception is thrown 2021-03-27 12:31:00 +03:00
Ali Parlakci 3d5a2fc1a7 Merge branch 'master' of https://github.com/aliparlakci/bulk-downloader-for-reddit 2021-03-27 12:28:49 +03:00
Ali Parlakci 3ac4ac3f3d Merge branch 'r-pufky-config-flag' 2021-03-27 12:28:39 +03:00
Ali Parlakci fdff302460 Merge branch 'config-flag' of https://github.com/r-pufky/bulk-downloader-for-reddit into r-pufky-config-flag 2021-03-27 12:28:23 +03:00
Stas Kornienko ec23430027
Fix error "'NoneType' object is not iterable" (issue #214) and "InvalidSchema: No connection adapters were found" (issue #198) (#215)
* Fix error "'NoneType' object is not iterable"

* Fixed downloading galleries
2021-03-27 12:20:29 +03:00
Ali Parlakci 30fe10e689 Merge branch 'dwbfox-feature-download-delay' 2021-03-26 13:06:53 +03:00
Ali Parlakci 99c1e4c455 Add documentation for --downloaded-delay 2021-03-26 13:06:17 +03:00
Ali Parlakci f63fde6ae7 Merge branch 'feature-download-delay' of https://github.com/dwbfox/bulk-downloader-for-reddit into dwbfox-feature-download-delay 2021-03-26 13:04:22 +03:00
Serene d8ab14d879
Merge pull request #202 from bad-jacob/local_config_fix_take_two
Stop exiting the script when using use_local_config setting
2021-03-23 14:51:33 +10:00
Ali Parlakçı 825ff34cfd
v2-beta is out 2021-03-21 22:48:16 +03:00
Ali Parlakçı 851c10f6e9
Fix gallery (#203)
* Delete Gallery.py

* Update and rename gallery.py to Gallery.py

* Update script.py
2021-03-21 22:37:30 +03:00
felizk c6b1bb7f3e Stop exiting the script when using use_local_config setting 2021-03-21 09:38:24 +01:00
vlad doster 0d9b122736
Merge branch 'master' into master 2021-02-28 23:55:50 -06:00
vlad doster fc42afbabe
(maint) code clean up (#187)
## bdfr

- Add the bound instance as method parameter
- Change methods not using its bound instance to staticmethods
- Fix dangerous default argument
- Refactor the comparison involving `not`
- Refactor unnecessary `else` / `elif` when `if` block has a `raise` statement
- Refactor unnecessary `else` / `elif` when `if` block has a `return` statement
- Refactor useless `else` block in the loop
- Remove implicit `object` from the base class
- Remove reimported module
- Remove unnecessary generator
- Remove unnecessary return statement
- Remove unnecessary use of comprehension
- Remove unused imports
- Use `is` to compare type of objects
- Using not x can cause unwanted results

## Dockerfile

- use a pinned Python version tag instead of latest
- leverage cached requirements

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>

Co-authored-by: Ali Parlakçı <parlakciali@gmail.com>
2021-02-25 12:32:06 +03:00
Creepler13 e0a2d2eda0
This allows to download gallerys/multiple images in posts (#174)
Co-authored-by: Ali Parlakçı <parlakciali@gmail.com>
2021-02-25 12:26:25 +03:00
vlad doster d731613f8a
Merge pull request #191 from aliparlakci/vladdoster-patch-1
(bug) default to python3
2021-02-22 11:06:31 -06:00
vlad doster 41bc2db10a
(bug) default to python3
- set shebang to python3 or else it errors if python2 is on users system
2021-02-22 02:28:30 -06:00
vlad doster b44b458363
Pin Dockerfile Python version explicitly to a release tag 2021-02-06 06:48:17 -06:00
vlad doster 4c85e7c015
Delete .deepsource.toml 2021-02-06 05:37:47 -06:00
DeepSource Bot af8e73d28a Add .deepsource.toml 2021-02-06 11:36:05 +00:00
Ali Parlakçı c1f8a3bb65
Merge pull request #182 from aliparlakci/remove-patreon
Delete FUNDING.yml
2021-02-05 17:02:27 +03:00
Ali Parlakçı 133beaae3d
Delete FUNDING.yml 2021-02-05 17:00:13 +03:00
Ali Parlakçı 10bc42a063
Merge pull request #177 from EkriirkE/master
Reddit native album downloader, minor fix for imgur json error, access denied in redgifs
2021-02-05 13:27:21 +03:00
Ali Parlakçı 45ed203859
Typo fix 2021-02-05 13:14:10 +03:00
Ali Parlakçı 60c93dea59
Update README.md 2021-02-05 13:13:28 +03:00
Erik Johnson 332e08d038
Fix for access denied 2021-01-17 22:58:51 +01:00
Erik Johnson e7bf66f28b
Add native gallery catch 2021-01-07 10:48:47 +01:00
Erik Johnson c6a346eb90
Beta optout, fix for random imgur json error
I have no idea what I'm doing, this is my first Python dabbling
2021-01-07 10:45:16 +01:00
Erik Johnson 37fdd87ab9
add native gallery 2021-01-07 10:42:41 +01:00
Erik Johnson c40ee547b5
Add native gallery catch 2021-01-07 10:40:33 +01:00
Erik Johnson 825fc5da53
reddit native gallery parser
I have no idea what I'm doing, this is my first edit of Python code so forgive me
2021-01-07 10:37:49 +01:00
Dagmawi Biru 2c99c584a5 Added new --download-delay flag to allow throttling the download across all supported platofrms. 2020-12-27 19:26:47 -06:00
Ali Parlakçı 56428883a1
Update README.md 2020-12-11 21:06:41 +03:00
Ali Parlakçı 51a0b2150d
Merge pull request #172 from ComradeEcho/master
Don't mkdir defaultConfigDirectory if not needed
2020-12-09 12:00:05 +03:00
Ali Parlakçı 1ff5dbbb75
Merge pull request #171 from ComradeEcho/patch-1
Record duplicate downloaded files into the --downloaded-posts file
2020-12-09 11:59:26 +03:00
ComradeEcho 39e31794db
Don't mkdir defaultConfigDirectory if not needed
Check to see if config.json exists in the current working directory before creating a new configuration directory in the home folder.

If config.json exists, then defaultConfigDirectory would be empty and unused - so there's no reason to create that directory if it's not going to be used.
2020-12-03 22:04:52 -06:00
ComradeEcho 5f7a69cdd9
Update script.py
Mark duplicate files as being downloaded to prevent them from being downloaded again
2020-12-03 19:20:20 -06:00
Ali Parlakçı 79078d8e0b
Merge pull request #160 from dunefox/patch-1
Added "jpeg" as file format to be downloaded
2020-10-12 15:54:44 +03:00
Phil Fox f9ac4f925b
Added "jpeg" as file format to be downloaded 2020-10-12 14:50:32 +02:00
Robert Pufky 37a3d83725 Add --config option for explicitly stating configuration file to use.
aliparlakci/bulk-downloader-for-reddit#122

Address comments in pull review.

* Removed vertical space.
* Added config file existence check with log message.
2020-08-15 14:09:31 -07:00