able to request archive download

This commit is contained in:
Lin, Yi-Li committed 2017-01-29 02:00:02 +09:00
1 parent 9065e7457a
commit b5cae76de5
15 files changed
+407

No files matched your search

@@ -108,6 +108,10 @@ public class EhUrl {
return getHost() + "gallerypopups.php?gid=" + gid + "&t=" + token + "&act=addfav";
}
public static String getDownloadArchive(long gid, String token, String or) {
return getHost() + "archiver.php?gid=" + gid + "&token=" + token + "&or=" + or;
}
public static String getTagDefinitionUrl(String tag) {
return "https://ehwiki.org/wiki/" + tag.replace(' ', '_');
}