Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 2.7.0 #908

Open
wants to merge 127 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
247ea5d
UP009
OMEGARAZER Jan 29, 2023
95c8c72
UP008
OMEGARAZER Jan 29, 2023
086f409
UP034
OMEGARAZER Jan 29, 2023
7308569
Update unsaveposts.py
OMEGARAZER Feb 1, 2023
afd2f88
Update test_direct.py
OMEGARAZER Feb 1, 2023
07e38a7
fix #753
bunny-foofoo Feb 2, 2023
a535fee
Black update
OMEGARAZER Feb 2, 2023
708b22d
Merge pull request #765 from OMEGARAZER/unsave
Serene-Arc Feb 3, 2023
7676ff0
Merge pull request #766 from bunny-foofoo/development
Serene-Arc Feb 3, 2023
4a91ff6
Version logged
OMEGARAZER Feb 4, 2023
c8a859a
Merge pull request #768 from OMEGARAZER/logged-version
Serene-Arc Feb 4, 2023
1895d2f
Add warning for --search-existing
Feb 5, 2023
4e15af6
Make option descriptions clearer
Feb 5, 2023
980cf5d
Merge pull request #773 from Serene-Arc/enhancement_771
Serene-Arc Feb 5, 2023
0bf44e5
UP012
OMEGARAZER Jan 29, 2023
0e28c7e
Gfycat API
OMEGARAZER Feb 4, 2023
55384cd
UP032
OMEGARAZER Jan 29, 2023
e5b184e
Merge pull request #762 from OMEGARAZER/pyupgrade-lint
Serene-Arc Feb 12, 2023
0051877
Merge pull request #769 from OMEGARAZER/gfycat-api
Serene-Arc Feb 12, 2023
183f592
Update CONTRIBUTING bug report requirements
Feb 14, 2023
673076e
Add requirement for template
Feb 14, 2023
9eeff73
Update yt-dlp
OMEGARAZER Feb 17, 2023
a3b9e78
Update tests
OMEGARAZER Feb 17, 2023
5cf2c81
Merge pull request #779 from OMEGARAZER/development
Serene-Arc Feb 17, 2023
5c57de7
B907 Cleanup/updates
OMEGARAZER Feb 18, 2023
98aa3d7
Quote cleanup
OMEGARAZER Feb 18, 2023
8f9bed0
Harden requests
OMEGARAZER Feb 18, 2023
3d07ffb
Merge pull request #781 from OMEGARAZER/requests
Serene-Arc Feb 19, 2023
9114106
Merge pull request #780 from OMEGARAZER/Quote-cleanup
Serene-Arc Feb 19, 2023
80c66c8
Erome fixes
Soulsuck24 Feb 19, 2023
60e9e58
Merge pull request #785 from Soulsuck24/development
Serene-Arc Feb 19, 2023
987172c
Update README.md
thomas694 Feb 22, 2023
47fb5d3
Bandit fixes
OMEGARAZER Feb 24, 2023
005454a
Don't create directory if not needed
OMEGARAZER Feb 25, 2023
6df7906
Merge pull request #796 from OMEGARAZER/empty-dir-fix
Serene-Arc Feb 27, 2023
dd28313
Imgur fixes
Soulsuck24 Feb 27, 2023
9fdd418
Merge pull request #802 from Soulsuck24/development
Serene-Arc Feb 28, 2023
a16622e
Merge pull request #804 from thomas694/update-readme
Serene-Arc Feb 28, 2023
74d842e
Scripts testing/fixes
OMEGARAZER Mar 2, 2023
a5b4459
Partial revert of 98aa3d7
OMEGARAZER Feb 24, 2023
38e6c45
Merge pull request #807 from OMEGARAZER/Scripts-tests
Serene-Arc Mar 2, 2023
905f54f
Add ruff
OMEGARAZER Feb 24, 2023
1705884
Use proper user agent string
OMEGARAZER Mar 4, 2023
b6bc94b
Merge pull request #810 from OMEGARAZER/user-agent
Serene-Arc Mar 8, 2023
c09d945
Fix test config
OMEGARAZER Feb 27, 2023
caa4421
ANN204
OMEGARAZER Feb 19, 2023
a5f5df7
ANN201
OMEGARAZER Feb 19, 2023
0c4cfd8
ANN202
OMEGARAZER Feb 19, 2023
c27fcb0
ANN205
OMEGARAZER Feb 19, 2023
3b69d83
ANN001
OMEGARAZER Feb 19, 2023
7fbd001
Fix Youtube test
OMEGARAZER Mar 11, 2023
d8f79d7
Merge pull request #819 from OMEGARAZER/test-fix
Serene-Arc Mar 11, 2023
87fd63d
Test fixes
OMEGARAZER Mar 23, 2023
b90ab1b
Update docs
OMEGARAZER Mar 3, 2023
7e9afc2
Merge pull request #831 from OMEGARAZER/doc-fixes
Serene-Arc Apr 7, 2023
38bef1d
Add Catbox downloader
OMEGARAZER Apr 27, 2023
72d5b1a
Merge pull request #845 from OMEGARAZER/catbox-downloader
Serene-Arc Apr 28, 2023
8d61011
Redgif coverage
Soulsuck24 Apr 29, 2023
17350ba
Merge pull request #847 from Soulsuck24/development
Serene-Arc Apr 30, 2023
a05ece3
Add option for downvoted posts
OMEGARAZER May 5, 2023
13980fb
Remove failing test case
May 17, 2023
f920da5
allow skipping of comment download
artoonie May 23, 2023
ceecb4d
Add imgchest downloader
OMEGARAZER May 16, 2023
b081f5c
Refactor Imgur
OMEGARAZER Apr 30, 2023
db08bc6
Update tests
OMEGARAZER May 25, 2023
85ab259
Merge branch 'development' into imgur
OMEGARAZER May 25, 2023
baa3530
Merge pull request #848 from OMEGARAZER/imgur
Serene-Arc May 29, 2023
9f32492
Merge pull request #861 from OMEGARAZER/imgchest
Serene-Arc May 29, 2023
bb41e4a
Merge pull request #853 from OMEGARAZER/downvoted
Serene-Arc May 29, 2023
1427851
Merge pull request #826 from OMEGARAZER/test-fixes
Serene-Arc May 29, 2023
dd6f123
Merge pull request #818 from OMEGARAZER/Annotations
Serene-Arc May 29, 2023
175a918
Merge pull request #813 from OMEGARAZER/test-config
Serene-Arc May 29, 2023
697de4f
Merge pull request #806 from OMEGARAZER/add-ruff
Serene-Arc May 29, 2023
9ae17b7
Merge pull request #792 from OMEGARAZER/Bandit
Serene-Arc May 29, 2023
9c0017c
Fix Erome test
OMEGARAZER May 25, 2023
3934175
Merge branch 'development' into erome
Soulsuck24 May 31, 2023
54b242f
Merge pull request #868 from Soulsuck24/erome
Serene-Arc May 31, 2023
288c42f
RUF001
OMEGARAZER Jun 4, 2023
4fb4875
RUF005
OMEGARAZER Jun 4, 2023
a8c7570
B607/603 coverage
OMEGARAZER Apr 20, 2023
62fe08d
B311
OMEGARAZER Jun 6, 2023
1d95778
Connector test edge case
OMEGARAZER Jun 5, 2023
0017030
Merge pull request #874 from OMEGARAZER/connector-test
Serene-Arc Jun 7, 2023
84ff854
Merge pull request #875 from OMEGARAZER/RUF-lint
Serene-Arc Jun 7, 2023
56ecc06
Merge pull request #876 from OMEGARAZER/Bandit
Serene-Arc Jun 7, 2023
42264f0
Add Flickr
OMEGARAZER Jun 9, 2023
663b9a9
remove failing test
OMEGARAZER Jun 9, 2023
912311e
Flickr update
OMEGARAZER Jun 13, 2023
a161781
Merge pull request #885 from OMEGARAZER/flickr
Serene-Arc Jun 13, 2023
68b2b96
Update versions
OMEGARAZER Jun 12, 2023
1df6b07
Merge pull request #886 from OMEGARAZER/update-versions
Serene-Arc Jun 14, 2023
192ea38
Oauth2 updates
OMEGARAZER Mar 8, 2023
d474713
Merge pull request #889 from OMEGARAZER/api_keys
Serene-Arc Jun 17, 2023
7f4a84a
Add site nsfw.pics
Soulsuck24 Jun 17, 2023
ce4017d
Merge branch 'development' into master
artoonie Jun 18, 2023
bcce191
add test
artoonie Jun 18, 2023
c1ac8d6
Merge pull request #891 from Soulsuck24/nsfw.pics
Serene-Arc Jun 18, 2023
928aa7e
Fix declaration
Jun 18, 2023
fded771
Fix test
Jun 18, 2023
4eeb423
Reformat file
Jun 18, 2023
f28f74c
Add integration test
Jun 18, 2023
e174443
Merge pull request #863 from artoonie/master
Serene-Arc Jun 18, 2023
fb6ae39
Add instruction for logs to bug reports
Jun 15, 2023
6d0386a
Fix command name to match documentation
Jun 21, 2023
c993e01
Test fixes
OMEGARAZER Jun 24, 2023
ca2408b
RUF013
OMEGARAZER Jun 20, 2023
10d24ed
Merge pull request #898 from OMEGARAZER/test-fixes
Serene-Arc Jun 25, 2023
3bd6047
Merge pull request #899 from OMEGARAZER/RUF013
Serene-Arc Jun 25, 2023
b97dacb
Allow archiver format to be specified multiple times
Jun 25, 2023
0635b16
Merge pull request #900 from Serene-Arc/feature_815
Serene-Arc Jun 25, 2023
3584ff1
Format README according to line length
Jun 25, 2023
86101a2
Format documents according to line length
Jun 25, 2023
0adf326
Chevereto downloader
Soulsuck24 Jun 26, 2023
5925358
Merge pull request #902 from Soulsuck24/development
Serene-Arc Jun 27, 2023
29c7344
Bump version
Jul 8, 2023
c1ed7e8
Add warnings for default and no app id
Jul 16, 2023
610bf23
Add ratelimit to praw object
Jul 29, 2023
b02eefd
fix: f-strings in clone command exception
vladdoster Oct 1, 2023
8e61039
Merge pull request #927 from aliparlakci/vladdoster-patch-1
Serene-Arc Oct 2, 2023
c6c9f2d
fixed ruff instructions
stared Jan 15, 2024
ff27049
fix linted errors
stared Jan 15, 2024
9d2bda7
bumped ruff to 0.1.13
stared Jan 18, 2024
257d444
Merge pull request #938 from stared/ruff-command-fix
Serene-Arc Feb 2, 2024
f198904
Remove gfycat since site is defunct
Serene-Arc Aug 24, 2024
8d71e77
Merge tests
Serene-Arc Nov 14, 2024
89521d9
Remove test case for domain that no longer exists
Serene-Arc Nov 14, 2024
b5b47f9
Remove link to resources that no longer exist
Serene-Arc Nov 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge tests
  • Loading branch information
Serene-Arc committed Nov 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 8d71e773fd64e65973097bca1f29c7fd1b913537
42 changes: 10 additions & 32 deletions tests/site_downloaders/test_chevereto.py
Original file line number Diff line number Diff line change
@@ -6,38 +6,6 @@
from bdfr.site_downloaders.chevereto import Chevereto


@pytest.mark.online
@pytest.mark.parametrize(
("test_url", "expected"),
(
(
"https://nsfw.pics/album/Test.l2t", # Album
{
"https://nsfw.pics/image/OdfV",
"https://nsfw.pics/image/ObUF",
"https://nsfw.pics/image/OOV7",
"https://nsfw.pics/image/OD71",
"https://nsfw.pics/image/O6du",
},
),
(
"https://lensdump.com/a/Vb411", # Album
{
"https://lensdump.com/i/CDIUci",
"https://lensdump.com/i/CDIXZo",
"https://lensdump.com/i/CDIwD2",
"https://lensdump.com/i/CDI5VC",
"https://lensdump.com/i/CDIGn5",
},
),
),
)
def test_get_album(test_url: str, expected: set[str]):
results = Chevereto._get_album_links(test_url)
assert len(results) == len(expected)
assert sorted(results) == sorted(expected)


@pytest.mark.online
@pytest.mark.parametrize(
("test_url", "expected"),
@@ -70,6 +38,16 @@ def test_get_album(test_url: str, expected: set[str]):
"https://lensdump.com/i/CDIUci", # Single image
{"https://i3.lensdump.com/i/CDIUci.gif?open=true"},
),
(
"https://lensdump.com/a/Vb411", # Album
{
"https://lensdump.com/i/CDIUci",
"https://lensdump.com/i/CDIXZo",
"https://lensdump.com/i/CDIwD2",
"https://lensdump.com/i/CDI5VC",
"https://lensdump.com/i/CDIGn5",
},
),
),
)
def test_get_links(test_url: str, expected: set[str]):