Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Merge branch 'leftypol' into leftypol-release-tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroCarrara committed Feb 27, 2021
2 parents 2371596 + 143b0d4 commit cb40b1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,4 @@ public boolean siteFeature(SiteFeature siteFeature) {
setApi(new LeftypolApi(this));
setParser(new LeftypolCommentParser());
}

@NonNull
@Override
public ChunkDownloaderSiteProperties getChunkDownloaderSiteProperties() {
/**
* See {@link Chan4#getChunkDownloaderSiteProperties()} for a detailed explanation
*/
return new ChunkDownloaderSiteProperties(2, true);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public LeftypolEndpoints(CommonSite commonSite, String rootUrl, String sysUrl) {
@Override
public HttpUrl thumbnailUrl(Post.Builder post, boolean spoiler, Map<String, String> arg) {
String ext = arg.get("ext");
String tim = arg.get("tim");

if (spoiler) {
return root.builder()
Expand Down Expand Up @@ -52,7 +53,7 @@ public HttpUrl thumbnailUrl(Post.Builder post, boolean spoiler, Map<String, Stri
return root.builder()
.s(post.board.code)
.s("thumb")
.s(arg.get("tim") + finalExt)
.s(tim + finalExt)
.url();
}

Expand Down

0 comments on commit cb40b1f

Please sign in to comment.