Merge pull request #136 from icewind1991/search-sort
sort by views for mangafox and mangahere search results
This commit is contained in:
commit
a33b525f9e
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ public class Mangafox extends Source {
|
||||||
public static final String BASE_URL = "http://mangafox.me";
|
public static final String BASE_URL = "http://mangafox.me";
|
||||||
public static final String POPULAR_MANGAS_URL = BASE_URL + "/directory/%s";
|
public static final String POPULAR_MANGAS_URL = BASE_URL + "/directory/%s";
|
||||||
public static final String SEARCH_URL =
|
public static final String SEARCH_URL =
|
||||||
BASE_URL + "/search.php?name_method=cw&advopts=1&order=az&sort=name&name=%s&page=%s";
|
BASE_URL + "/search.php?name_method=cw&advopts=1&order=za&sort=views&name=%s&page=%s";
|
||||||
|
|
||||||
public Mangafox(Context context) {
|
public Mangafox(Context context) {
|
||||||
super(context);
|
super(context);
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class Mangahere extends Source {
|
||||||
public static final String NAME = "Mangahere (EN)";
|
public static final String NAME = "Mangahere (EN)";
|
||||||
public static final String BASE_URL = "http://www.mangahere.co";
|
public static final String BASE_URL = "http://www.mangahere.co";
|
||||||
public static final String POPULAR_MANGAS_URL = BASE_URL + "/directory/%s";
|
public static final String POPULAR_MANGAS_URL = BASE_URL + "/directory/%s";
|
||||||
public static final String SEARCH_URL = BASE_URL + "/search.php?name=%s&page=%s";
|
public static final String SEARCH_URL = BASE_URL + "/search.php?name=%s&page=%s&sort=views&order=za";
|
||||||
|
|
||||||
public Mangahere(Context context) {
|
public Mangahere(Context context) {
|
||||||
super(context);
|
super(context);
|
||||||
|
|
Reference in a new issue