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

ripme downloading the -mobile.mp4 from redgifs/gfycat #1936

Open
wants to merge 394 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
394 commits
Select commit Hold shift + click to select a range
eb9f556
Fix Vsco session token
neurolancer Jan 1, 2022
aab6ebd
enable vscorippertest
soloturn Jan 3, 2022
822f78b
booru test flaky
soloturn Jan 3, 2022
af701b2
not build on tags, release already built in future
soloturn Jan 3, 2022
9aed081
print shasum -a 256 after building, only before upload
soloturn Jan 3, 2022
a3054da
danbooru flaky
soloturn Jan 3, 2022
03e32cb
fix download and start
soloturn Jan 3, 2022
9911c50
release 2.0.4, tag 2.0.4-13-03e32cb7
soloturn Jan 3, 2022
1ef49d3
remove junit-4.13
soloturn Jan 3, 2022
53248d9
ripme.jar --version prints version on stdout
soloturn Jan 16, 2022
0450845
listalripper with _ in url test
soloturn Jan 16, 2022
24115fb
updateutils now uses java.nio
soloturn Jan 3, 2022
7429135
app convert to java.nio
soloturn Jan 3, 2022
a610d5c
utils, java.nio for config file load
soloturn Jan 3, 2022
fca100c
utils, clearurl now java.nio
soloturn Jan 3, 2022
ffa11e8
shortenSaveAsWindows now uses java.nio
soloturn Jan 3, 2022
6bbd75a
remove unused fuzzyexists
soloturn Jan 3, 2022
cd85219
workingdir now java.nio
soloturn Jan 3, 2022
a581714
reformat mangadex
soloturn Jan 3, 2022
09d21cd
reformat ehentai
soloturn Jan 3, 2022
6271528
ehentai java.nio
soloturn Jan 3, 2022
e3f6499
multiple rippers java.nio
soloturn Jan 3, 2022
6c74922
ripstatuscomplete java.nio
soloturn Jan 3, 2022
01e6b5b
videoripper java.nio
soloturn Jan 3, 2022
a3df3d7
downloadvideothread java.nio
soloturn Jan 3, 2022
1422e32
downloadexists java.nio
soloturn Jan 3, 2022
9016782
addURLToDownload(url, saveAs) java.nio
soloturn Jan 3, 2022
3c89ca8
imgur java.nio
soloturn Jan 3, 2022
2171d28
addURLToDownload(url, saveAs, referrer, cookies, getFileExtFromMIME) …
soloturn Jan 3, 2022
88fc69a
imgur flaky
soloturn Jan 3, 2022
65eed02
Utils.removeCWD java.nio
soloturn Jan 3, 2022
5d5ce9d
downloadCompleted java.nio
soloturn Jan 3, 2022
fbd6feb
newgroundsrippertest flaky
soloturn Jan 3, 2022
061e18e
Merge master'
soloturn Feb 7, 2022
d4dc7a7
current way of gradle cache, use javac release flag
soloturn Feb 12, 2022
8710220
thechive flaky
soloturn Feb 12, 2022
0adb70d
Fix to not fail on deleted comments
gzsombor Feb 23, 2022
abb1eaa
update dependency versions, log4j, graalvm.js, setup-java
soloturn Feb 27, 2022
a061926
java-11 now necessary to run ripme
soloturn Feb 27, 2022
c73092a
xhamster tests flaky
soloturn Feb 27, 2022
579a40d
Created mrcong.com ripper
EPorti Mar 3, 2022
0ba0fc8
Created mrcong.com ripper
EPorti Mar 3, 2022
96acdb0
Set workingDir even if the file exists - this prevents an NPE later
gzsombor Mar 3, 2022
b4ee50d
MyhentaicomicsRipperTest flaky
soloturn Mar 11, 2022
536339d
workingdir exists, print error if not, but continue. fixes #74
soloturn Mar 11, 2022
7748058
update gradle-7.3.3 --> gradle 7.4.2
soloturn Apr 1, 2022
76b2bc8
textGetNextPage Soundgasm test flaky
soloturn Apr 1, 2022
9d66f41
remove method removeCWD(String)
soloturn Apr 2, 2022
5c9c13a
remove warnings in AbstractRipper AbstractHTMLRipper DownloadFileThre…
soloturn Apr 2, 2022
4f2a509
try getData(DataFlavor.getTextPlainUnicodeFlavor())
soloturn Apr 10, 2022
f355b63
remove .vscode, debug works automatically in recent vscode
soloturn Apr 15, 2022
e081e92
java-11 now, mention in readme
soloturn Apr 15, 2022
6659e06
sanitize filename string before converting to java Path
soloturn Apr 15, 2022
9e099de
reorder prefix parameter to be close to filename
soloturn Apr 15, 2022
dec495f
no extra variable saveAs when finding filename
soloturn Apr 15, 2022
3b33a69
check if empty for filename and extension, not double add extension
soloturn Apr 15, 2022
4be9eba
reorder and comment code to find filename
soloturn Apr 15, 2022
3eca9fa
assure filname with prefix is file system safe
soloturn Apr 15, 2022
015d357
split out method to retrieve the download path
soloturn Apr 15, 2022
9a68353
no whitespace at the end of a filename
soloturn Apr 15, 2022
4744d64
latest version 2.1.1 for download
soloturn Apr 15, 2022
b6ba978
let gitter stick out a little more
soloturn Apr 16, 2022
9ef0f78
Automatically update the configuration when the value has been changed
gzsombor Apr 12, 2022
01fc7ac
deviantart test or ripper broken
soloturn Apr 22, 2022
f728bed
reddit sanitize filename, fixes #82
soloturn Apr 22, 2022
bfc915e
file.separator only important when printing for windows shell
soloturn Apr 22, 2022
ebac12f
2.1.2 release
soloturn Apr 22, 2022
d22c9bf
reddit, report exception in loop instead of throwing it.
soloturn Apr 24, 2022
ea90b17
reddit, test flaky on windows
soloturn Apr 24, 2022
bc59d90
2.1.2 release
soloturn Apr 24, 2022
886782d
print exceptions in main window
soloturn Apr 25, 2022
78af90a
main window, localize one variable, remove unused method
soloturn Apr 25, 2022
ea097ad
simplify main window variable assignments
soloturn Apr 25, 2022
e3550d6
remove unused in main window
soloturn Apr 25, 2022
e0e58c1
shorten path uses nio, fixes #85.
soloturn Apr 25, 2022
3a9f5b5
clean up log messages
soloturn Apr 25, 2022
7262a79
read clipboard correctly to start auto-download
soloturn Apr 26, 2022
3bf05a7
Change behavior of closing dialog with hitting X
Attacktive Apr 25, 2022
54d861a
German language fixes
designer2k2 Mar 12, 2022
4c25aff
Merge 'pr-1962' mrcong
soloturn Apr 26, 2022
825fd94
newgrounds no _full
soloturn Apr 27, 2022
8b2304d
Fix for nhentai changing image URLs
kleptoc Mar 4, 2022
827cc13
Fix for IllegalArgumentException on pathing
kleptoc May 3, 2022
a06ca35
update tkn URL
holysoles Aug 27, 2022
d6c201b
update gradle version to 7.5.1
soloturn Oct 8, 2022
38751db
disable not working tests
soloturn Oct 8, 2022
ed0e214
Retry sleep time
gzsombor Apr 13, 2022
e6ccfc0
Retry sleep time in Http and in DownloadFileThread too
gzsombor Apr 13, 2022
b72a49f
Move the sleep function to Utils
gzsombor Aug 4, 2022
e581eee
Thread -> runnable
gzsombor Aug 4, 2022
98f3720
Implement caching of the first page for every ripper
gzsombor Aug 2, 2022
e5438e8
webtoonstest flaky
soloturn Oct 8, 2022
3da6515
relelase 2.1.2-23-e5438e85
soloturn Oct 8, 2022
dffcb4f
Update LabelsBundle_es_ES.properties
lbalmaceda Oct 9, 2022
568587e
Create NsfwXxxRipper.java
2omsnF Sep 24, 2022
aa5bd00
Create NsfwXxxRipperTest.java
2omsnF Sep 24, 2022
d1a5057
Fix video download bugs
2omsnF Sep 24, 2022
07b90dd
Added ability to create urls.txt before appending to it.
noesterle Oct 20, 2022
3545cfb
Refactor code, to not repeat the same caching, getFirstPage implement…
gzsombor Oct 12, 2022
76d1905
Fixed relative path issue. Relative path was being made from subfolde…
noesterle Oct 21, 2022
dd307bc
Saved name of image file to be a part of saveAs, allowing images to b…
noesterle Oct 21, 2022
c9c46d6
Added ability to sanatize reddit titles saved as files.
noesterle Oct 22, 2022
edf320a
* Additional logging in AbstractHTMLRipper
brantspar Feb 28, 2023
830e22e
fix download link
soloturn Jun 10, 2023
b109a34
update versions, make it work with java-20
soloturn Jun 11, 2023
1898dd2
couple of tests flaky
soloturn Jun 11, 2023
1b83dc6
update to gradle-8.1.1
soloturn Jun 11, 2023
360ad95
release 2.1.4
soloturn Jun 11, 2023
8ba17b4
space in debug message for lastestversion
soloturn Jun 11, 2023
726e023
delete unnecessary files
soloturn Jun 11, 2023
9a2ee24
update class for command line properties to DefaultParser, remove unu…
soloturn Jun 11, 2023
0b50035
new URL(string) replaced with new URI(string).toURL(), as deprecated …
soloturn Jun 11, 2023
8cbdb33
crfl --> cr, arttnruppertest
soloturn Jun 12, 2023
53e8a66
new URL(string) replaced with new URI(string).toURL(), as deprecated …
soloturn Jun 11, 2023
1d7d4d7
new URI in App, Http, RipUtils.
soloturn Jun 12, 2023
a996825
new URI in mainwindow.
soloturn Jun 12, 2023
45e0e2f
new URI instead of new URL in tests.
soloturn Jun 13, 2023
42d9400
new URI instead of new URL in tests, 2.
soloturn Jun 13, 2023
854e7f4
new URI instead of new URL in tests, 3.
soloturn Jun 13, 2023
d072dc7
new URI instead of new URL in tests, 4.
soloturn Jun 13, 2023
2bb79a4
new URI instead of new URL in tests, Gfycat.
soloturn Jun 13, 2023
ab8bb31
new URI instead of new URL in tests, 5.
soloturn Jun 13, 2023
7f307ba
new URI instead of new URL in tests, 6.
soloturn Jun 13, 2023
78e6e7d
new URI instead of new URL in tests, 7.
soloturn Jun 13, 2023
3c8b677
new URI instead of new URL in tests, 8.
soloturn Jun 13, 2023
874c565
new URI instead of new URL in tests, 9.
soloturn Jun 13, 2023
589d7eb
new URI instead of new URL in tests, 10.
soloturn Jun 13, 2023
d501578
new URI instead of new URL in tests, 11.
soloturn Jun 13, 2023
44513b1
new URI instead of new URL in tests, 12.
soloturn Jun 13, 2023
5969471
remove unused import.
soloturn Jun 13, 2023
1a508ca
correct vsco test
soloturn Jun 13, 2023
430487b
run tests with java-20
soloturn Jun 15, 2023
3ae8fd9
remove unused
soloturn Jun 15, 2023
7e6cdab
new URL is deprecated, use new URI, abstractripper
soloturn Jun 15, 2023
911f3d0
new URL is deprecated, additional exceptions
soloturn Jun 15, 2023
2e41ee0
sanitizeURL can throw URISyntaxException.
soloturn Jun 15, 2023
5aeaf7d
flickr test slow.
soloturn Jun 15, 2023
0717847
sanitizeURL can throw URISyntaxException, imgur.
soloturn Jun 15, 2023
029b03c
new URL is deprecated, use new URI, setGID, imgur
soloturn Jun 15, 2023
6ffd6f3
new URL is deprecated, use new URI, reddit.
soloturn Jun 15, 2023
ab17fa9
new URL is deprecated, use new URI, AbstractHTML.
soloturn Jun 15, 2023
96c9907
dos2unix to have lf line endings.
soloturn Jun 15, 2023
eee8f1b
update to gradle-8.2.1
soloturn Jul 30, 2023
ecf427c
java-17 is default
soloturn Jul 30, 2023
836a749
* fixed imagefap ripper (switching from img/src to img/data-src)
brantspar Jul 15, 2023
4531976
release 2.1.4
soloturn Jul 30, 2023
0376552
gradle-8.3 upgrade
soloturn Sep 27, 2023
f69943f
require java-17
soloturn Sep 27, 2023
ef884f0
github build with java-21, upload with java-17. build.sh should not t…
soloturn Sep 29, 2023
0ccf284
gfycat shut down
soloturn Sep 29, 2023
45e6c4a
upload java-17 build
soloturn Sep 30, 2023
9c2404e
gradle-8.3 deprecations fixed
soloturn Sep 30, 2023
ba51d7b
list and address deprecations in java
soloturn Sep 30, 2023
52e7fbb
release 2.1.5-8-ba51d7b, runningn with java-17
soloturn Sep 30, 2023
68189f2
Erome ripper does not download images fixed
pesho1323 Oct 10, 2023
aeeac42
release 2.1.6
soloturn Oct 12, 2023
0bb8d8b
permit to override the jgitver version
soloturn Oct 14, 2023
c329343
twitter, do not exclude replies, fixes #41
soloturn Oct 14, 2023
3fcad4f
adust hitomi regex, see #43
soloturn Oct 14, 2023
0b261dd
Add Multporn ripper
pesho1323 Oct 17, 2023
2843d4e
small pattern change
pesho1323 Oct 17, 2023
0cca139
Remove print
pesho1323 Oct 17, 2023
74fe3a7
Locale.forLanguageTag instead of deprecated 'new Locale'
soloturn Oct 27, 2023
dd6ac9b
new URL deprecated, use URI
soloturn Oct 27, 2023
95b0af4
new URI instead of new URL.
soloturn Oct 27, 2023
0c6f8d8
new URI instead of new URL.
soloturn Oct 27, 2023
194e5fd
delete duckmovies
soloturn Nov 4, 2023
391b369
Support coomer.party
jonapoul Oct 29, 2023
1e864b7
Update .gitignore
jonapoul Oct 29, 2023
2e3dba7
Update CoomerPartyRipper.java
jonapoul Oct 29, 2023
6d7503f
Use correct index
jonapoul Oct 30, 2023
ce0e60c
LusciousRipper fixed
joroto Nov 4, 2023
ea8e4cd
Skip specified URL file extensions
jonapoul Nov 4, 2023
154cf53
Pass skip status to the UI log
jonapoul Nov 4, 2023
d82cae1
Fix bug in CoomerPartyRipper
jonapoul Nov 4, 2023
4a61ff9
coomerPartyrippertest new URI instead of new URL
soloturn Nov 18, 2023
37ddf55
testHentaifoundry flaky, prevents rollout
soloturn Nov 18, 2023
8897842
exec stringarray instead of string, java-21 deprecation.
soloturn Nov 18, 2023
14c0779
new URI instead of new URL, photobucketrupper.
soloturn Nov 18, 2023
f54aa6f
new URI instead of new URL, abstractjsonripper.
soloturn Nov 18, 2023
2ece008
new URI instead of new URL, abstractjsonripper nextPage.
soloturn Nov 18, 2023
073eb5a
LusciousRipper get next page test removed
joroto Nov 26, 2023
63760ea
Refactoring
joroto Nov 26, 2023
b080faa
flaky test hentai, femjoy
soloturn Dec 1, 2023
8eb9954
release 2.1.7
soloturn Dec 1, 2023
6582419
gradle-8.5 update
soloturn Dec 1, 2023
2e5ef70
Patch/Bug fix for ContextMenuMouseListener Actions (#161)
Undid-Iridium Dec 9, 2023
9e6bb0c
Refactor DanbooruRipper to use OkHttpClient
Undid-Iridium Dec 9, 2023
9c18f45
Add OkHttp dependency in build.gradle.kts
Undid-Iridium Dec 9, 2023
4f10a80
Add OkHttpClient to DanbooruRipper constructor - Some of these header…
Undid-Iridium Dec 9, 2023
10538c3
Update regex pattern in getTag method
Undid-Iridium Dec 9, 2023
10a1b12
Refactor DanbooruRipper's page fetching logic
Undid-Iridium Dec 9, 2023
ba29da0
flaky tests chan, wordpresscomic
soloturn Dec 9, 2023
d40eed3
switch off UIContextMenuTests, headless on server makes them fail.
soloturn Dec 9, 2023
867e933
yuvutu test flaky
soloturn Dec 9, 2023
879c322
new URI instead of new URL, imgabam, imagevenue
soloturn Dec 9, 2023
8f279a6
new URI instead of new URL, mangadex, vk.
soloturn Dec 9, 2023
8b9e4b9
new URI instead of new URL, motherless, nfsfw.
soloturn Dec 9, 2023
43ebb8d
new URI instead of new URL, pornhub, sta.
soloturn Dec 9, 2023
81a77f0
JPG3 (JPG Fish) ripper added
joroto Dec 13, 2023
e185b2a
sanitizeURL added to jpg3 ripper to handle when link to other than th…
joroto Dec 13, 2023
eddcd12
remove not used import
joroto Dec 13, 2023
f5153de
new URI instead of new URL, erotiv.
soloturn Dec 29, 2023
c3a4df4
new URI instead of new URL, rule34, getFirstPage.
soloturn Dec 29, 2023
e5c367d
new URI instead of new URL, jpg3, hentaidude.
soloturn Dec 29, 2023
7afe1eb
new URI instead of new URL, deviantart, flickr.
soloturn Dec 29, 2023
52425a7
release 2.1.8
soloturn Dec 29, 2023
d1166a7
new URI instead of new URL, flickr, hqporn.
soloturn Dec 29, 2023
65f0f0e
new URI instead of new URL, E621.
soloturn Dec 29, 2023
f74c727
new URI instead of new URL, tumblr.
soloturn Dec 29, 2023
eb351d4
EightmusesRipper fixed (#169)
joroto Mar 11, 2024
ab2b27c
Imagefap: add retry logic for getFullSizedImage() (#181)
joroto Mar 11, 2024
ad86ae1
HistoryMenuMouseListener right click menu fix (#174)
joroto Mar 11, 2024
22e915d
release 2.1.9
soloturn Mar 11, 2024
e8052d0
release 2.1.9, this time also the binary is on github
soloturn Mar 18, 2024
404da9b
java-22, java-21 default
soloturn Mar 18, 2024
c2d1472
xhamster.one domain not exists as before.
soloturn Mar 20, 2024
bce4ddd
new URI instead of new URL.
soloturn Mar 20, 2024
edc5d9d
update jacoco for java-22
soloturn Mar 29, 2024
6977025
abstractripper new uri instead url
soloturn Apr 6, 2024
7ea2841
Imagebam ripper fixed (#188)
joroto Jun 20, 2024
a178d8f
Unify colons in UI (#189)
xufeiranfree Jun 20, 2024
71e20fe
- Fixed Motherless ripper
brantspar Jun 28, 2024
e938ac9
fixed the vidble test URL
brantspar Jul 2, 2024
4e595b1
java locale painful, fix - and _
soloturn Jul 27, 2024
aa00c6f
QueueMenuMouseListener right click menu fix
joroto Jul 29, 2024
488849c
Fix rgif ripper
Tush-r Aug 29, 2024
37e9884
Add support for rgif multiple image gallery
Tush-r Aug 29, 2024
0589c52
Fix rgif search and add support for tag urls
Tush-r Aug 29, 2024
8c455e7
Refactor rgif ripper
Tush-r Aug 29, 2024
a7cb78e
Fix logger for rgif ripper
Tush-r Aug 29, 2024
99a5d88
Fix rgif ripper tests
Tush-r Aug 29, 2024
8d27571
Add support for rgif v3 urls
Tush-r Aug 29, 2024
f39c8b9
Set static auth token for redgif
Tush-r Aug 29, 2024
c94a954
Furufanity test flaky
soloturn Sep 8, 2024
7939bf9
release 2.1.10
soloturn Sep 8, 2024
31c71f4
upgrade to gradle-8.10
soloturn Sep 8, 2024
2ace43b
Add Next Page Functionality
AlanParsens Oct 5, 2024
91aeb37
Refactor for D.R.Y.
AlanParsens Oct 5, 2024
01e0727
update to gradle-8.10.2 and github upload-artifact v4
soloturn Nov 3, 2024
298f631
Fix imgur ripper regex for gallery and album
Tush-r Sep 8, 2024
adbc989
Replace imgur usage of album ripper with abstract html ripper
Tush-r Sep 9, 2024
169b2ec
Deprecaate album ripper
Tush-r Sep 9, 2024
4cb2ef4
Fix imgur ripper for single image
Tush-r Sep 9, 2024
577e848
Remove unsupported series of images for imgur ripper
Tush-r Sep 9, 2024
c88018c
Fix imgur not prefixing album images
Tush-r Sep 11, 2024
2fc3853
Fix imgur ripper for user account
Tush-r Sep 11, 2024
d439ff0
Fix imgur ripper tests
Tush-r Sep 12, 2024
e7a531b
Fix imgur url scheme and remove json from logs
Tush-r Sep 12, 2024
5d7897d
Remove 96 character limit for pasted urls
Tush-r Sep 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 15 additions & 15 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
* Ripme version:
* Java version: <!-- (output of `java -version`) -->
* Operating system: <!-- (if Windows, output of `ver` or `winver`) -->
<!-- Please do not link to content featuring underage characters even if the characters are drawn.
These works are still illegal in many places including much of America -->
* Exact URL you were trying to rip when the problem occurred:
* Please include any additional information about how to reproduce the problem:
## Expected Behavior
Detail the expected behavior here.
## Actual Behavior
Detail the actual (incorrect) behavior here. You can post log snippets or attach log files to your issue report.
* Ripme version:
* Java version: <!-- (output of `java -version`) -->
* Operating system: <!-- (if Windows, output of `ver` or `winver`) -->
<!-- Please do not link to content featuring underage characters even if the characters are drawn.
These works are still illegal in many places including much of America -->
* Exact URL you were trying to rip when the problem occurred:
* Please include any additional information about how to reproduce the problem:

## Expected Behavior

Detail the expected behavior here.

## Actual Behavior

Detail the actual (incorrect) behavior here. You can post log snippets or attach log files to your issue report.
54 changes: 27 additions & 27 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# Category
This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [ ] a bug fix (Fix #...)
* [ ] a new Ripper
* [ ] a refactoring
* [ ] a style change/fix
* [ ] a new feature
# Description
Please add details about your change here.
# Testing
Required verification:
* [ ] I've verified that there are no regressions in `mvn test` (there are no new failures or errors).
* [ ] I've verified that this change works as intended.
* [ ] Downloads all relevant content.
* [ ] Downloads content from multiple pages (as necessary or appropriate).
* [ ] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.
* [ ] I've verified that this change did not break existing functionality (especially in the Ripper I modified).
Optional but recommended:
* [ ] I've added a unit test to cover my change.
# Category

This change is exactly one of the following (please change `[ ]` to `[x]`) to indicate which:
* [ ] a bug fix (Fix #...)
* [ ] a new Ripper
* [ ] a refactoring
* [ ] a style change/fix
* [ ] a new feature


# Description

Please add details about your change here.


# Testing

Required verification:
* [ ] I've verified that there are no regressions in `mvn test` (there are no new failures or errors).
* [ ] I've verified that this change works as intended.
* [ ] Downloads all relevant content.
* [ ] Downloads content from multiple pages (as necessary or appropriate).
* [ ] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.
* [ ] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:
* [ ] I've added a unit test to cover my change.
65 changes: 65 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: CI + release

on:
pull_request:
push:
branches:
- '**'
tags:
- '!**'

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
java: [22]
include: # test old java on one os only, upload from ubuntu java-17
- os: ubuntu-latest
java: 21
upload: true

steps:

- uses: actions/checkout@v1

- name: Set environment CI_ variables
id: ci-env
uses: FranzDiebold/github-env-vars-action@v2

- name: Set up java
uses: actions/[email protected]
with:
java-version: ${{ matrix.java }}
distribution: zulu
cache: gradle

- name: Build with Gradle
run: gradle clean build -PjavacRelease=${{ matrix.java }}

- name: SHA256
if: matrix.upload
run: shasum -a 256 build/libs/*.jar

- name: upload jar as asset
if: matrix.upload
uses: actions/upload-artifact@v4
with:
name: zipped-ripme-jar
path: build/libs/*.jar

- name: create pre-release
id: create-pre-release
if: matrix.upload
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest-${{ env.CI_REF_NAME_SLUG }}"
prerelease: true
title: "development build ${{ env.CI_REF_NAME }}"
files: |
build/libs/*.jar

# vim:set ts=2 sw=2 et:
25 changes: 0 additions & 25 deletions .github/workflows/maven.yml

This file was deleted.

12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ buildNumber.properties
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
!/.mvn/wrapper/maven-wrapper.jar

### gradle ###
/.gradle
/build
# Avoid ignoring gradle wrapper jar file (.jar files are usually ignored)
!/gradle/wrapper/gradle-wrapper.jar

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Expand All @@ -105,14 +111,18 @@ $RECYCLE.BIN/
.vscode
.idea
.project
local.properties

### Build files
.gradle/
build/

### Ripme ###
ripme.log
rips/
.history
ripme.jar.update
*.swp
*.properties
!LabelsBundle*.properties
history.json
*.iml
Expand Down
23 changes: 0 additions & 23 deletions .project

This file was deleted.

12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .vscode/settings.json

This file was deleted.

82 changes: 47 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# RipMe [![Licensed under the MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/RipMeApp/ripme/blob/master/LICENSE.txt) [![Join the chat at https://gitter.im/RipMeApp/Lobby](https://badges.gitter.im/RipMeApp/Lobby.svg)](https://gitter.im/RipMeApp/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Subreddit](https://img.shields.io/badge/discuss-on%20reddit-blue.svg)](https://www.reddit.com/r/ripme/)

[![Build Status](https://travis-ci.org/RipMeApp/ripme.svg?branch=master)](https://travis-ci.org/RipMeApp/ripme)
# RipMe
[![Licensed under the MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](/LICENSE.txt)
[![Join the chat at https://gitter.im/RipMeApp/Lobby](https://badges.gitter.im/RipMeApp/Lobby.svg)](https://gitter.im/RipMeApp/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Subreddit](https://img.shields.io/badge/discuss-on%20reddit-blue.svg)](https://www.reddit.com/r/ripme/)
![alt Badge Status](https://github.com/ripmeapp2/ripme/actions/workflows/gradle.yml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/RipMeApp/ripme/badge.svg?branch=master)](https://coveralls.io/github/RipMeApp/ripme?branch=master)

# Contribute

RipMe is maintained with ♥️ and in our limited free time by **[@MetaPrime](https://github.com/metaprime)**, **[@cyian-1756](https://github.com/cyian-1756)** and **[@kevin51jiang](https://github.com/kevin51jiang)**. If you'd like to contribute but aren't good with code, help keep us happy with a small contribution!
RipMe is maintained with ♥️ and in our limited free time by **[@MetaPrime](https://github.com/metaprime)**, **[@cyian-1756](https://github.com/cyian-1756)** and **[@kevin51jiang](https://github.com/kevin51jiang)**. If you'd like to contribute but aren't good with code, help keep us happy with a small contribution! Chat on [gitter](https://gitter.im/RipMeApp/Lobby).

[![Tip with PayPal](https://img.shields.io/badge/PayPal-Buy_us...-lightgrey.svg)](https://www.paypal.me/ripmeapp)
[![Tip with PayPal](https://img.shields.io/badge/coffee-%245-green.svg)](https://www.paypal.com/paypalme/ripmeapp/send?amount=5.00&currencyCode=USD&locale.x=en_US&country.x=US)
Expand All @@ -16,17 +16,20 @@ RipMe is maintained with ♥️ and in our limited free time by **[@MetaPrime](h

# About

RipMe is an album ripper for various websites. It is a cross-platform tool that runs on your computer, and requires Java 8. RipMe has been tested and confirmed working on Windows, Linux and MacOS.
RipMe is an album ripper for various websites. It is a cross-platform tool that runs on your computer, and
requires Java 17. RipMe has been tested and confirmed working on Windows, Linux and MacOS.

![Screenshot](https://i.imgur.com/UCQNjeg.png)

## Downloads

Download `ripme.jar` from the [latest release](https://github.com/ripmeapp/ripme/releases).

**Note: If you're currently using version 1.2.x, 1.3.x or 1.7.49, you will not automatically get updates to the newest versions. We recommend downloading the latest version from the link above.**
Download `ripme.jar` from the [latest release](https://github.com/ripmeapp2/ripme/releases). For information about running the `.jar` file, see
[the How To Run wiki](https://github.com/ripmeapp/ripme/wiki/How-To-Run-RipMe).

For information about running the `.jar` file, see [the How To Run wiki](https://github.com/ripmeapp/ripme/wiki/How-To-Run-RipMe).
The version number like ripme-1.7.94-17-2167aa34-feature_auto_release.jar contains a release number (1.7.94), given by
a person, the number of commits since this version (17). The commit SHA (2167aa34) uniquely references the
source code ripme was built from. If it is not built from the main branch, the branch name (feature/auto-release) is
given.

## Installation

Expand All @@ -37,7 +40,7 @@ brew install --cask ripme && xattr -d com.apple.quarantine /Applications/ripme.j

## Changelog

[Changelog](https://github.com/ripmeapp/ripme/blob/master/ripme.json) **(ripme.json)**
[Changelog](/ripme.json) **(ripme.json)**

# Features

Expand Down Expand Up @@ -77,40 +80,49 @@ If you're a developer, you can add your own Ripper by following the wiki guide:

# Compiling & Building

The project uses [Gradle](https://gradle.org) or [Maven](http://maven.apache.org/).
Therefor both commands are given. To build the .jar file, navigate to the root
project directory and run:
The project uses [Gradle](https://gradle.org). To build the .jar file,
navigate to the root project directory and run at least the test you
change, e.g. Xhamster. test execution can also excluded completely:

```bash
mvn clean compile assembly:single
mvn -B package assembly:single -Dmaven.test.skip=true
```
```bash
./gradlew clean build
./gradlew clean build testAll --tests XhamsterRipperTest.testXhamster2Album
./gradlew clean build -x test --warning-mode all
```

This will include all dependencies in the JAR. One can skip executing the tests
as well.
The generated JAR (java archive) in build/libs will include all
dependencies.

# Running Tests

Tests can be marked as beeing slow, or flaky. Default is to run all but the flaky tests. Slow tests can be excluded to
run. slow and flaky tests can be run on its own. After building you can run tests, quoting might be necessary depending
on your shell:
Tests can be tagged as beeing slow, or flaky. The gradle build reacts to
the following combinations of tags:

```bash
mvn test
mvn test -DexcludedGroups= -Dgroups=flaky,slow
mvn test '-Dgroups=!slow'
```
- default is to run all tests without tag.
- testAll runs all tests.
- testFlaky runs tests with tag "flaky".
- testSlow runs tests with tag "slow".
- tests can be run by test class, or single test. Use "testAll" so it does
not matter if a test is tagged or not.

```bash
./gradlew test
./gradlew test -DexcludeTags= -DincludeTags=flaky,slow
./gradlew test '-DincludeTags=!slow'
./gradlew testAll
./gradlew testFlaky
./gradlew testSlow
./gradlew testAll --tests XhamsterRipperTest
./gradlew testAll --tests XhamsterRipperTest.testXhamster2Album
```

Please note that some tests may fail as sites change and our rippers become out of date.
Start by building and testing a released version of RipMe
and then ensure that any changes you make do not cause more tests to break.
Please note that some tests may fail as sites change and our rippers
become out of date. Start by building and testing a released version
of RipMe and then ensure that any changes you make do not cause more
tests to break.

# New GUI - compose-jb
As Java Swing will go away in future, a new GUI technology should be used. One of the
candidates is [Jetpack Compose for Desktop](https://github.com/JetBrains/compose-jb/).

The library leverages the compose library for android and provides it for android,
desktop and web. The navigation library is not available for desktop, so Arkadii Ivanov
implemented
[decompose](https://proandroiddev.com/a-comprehensive-hundred-line-navigation-for-jetpack-desktop-compose-5b723c4f256e).
3 changes: 1 addition & 2 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
mvn clean compile assembly:single
mvn io.github.zlika:reproducible-build-maven-plugin:0.6:strip-jar
./gradlew clean build -x test
Loading
Loading