Set Bongacams page size to 72
This commit is contained in:
parent
aa44917935
commit
d6ecb0a96a
|
@ -3,9 +3,14 @@
|
||||||
* Added menu entry to force recording of models without changing the prio
|
* Added menu entry to force recording of models without changing the prio
|
||||||
* Added blacklist and whitelist settings to automatically filter out models
|
* Added blacklist and whitelist settings to automatically filter out models
|
||||||
* Added setting to delete orphaned recording metadata (switched off by default)
|
* Added setting to delete orphaned recording metadata (switched off by default)
|
||||||
|
* Doubled Bongacams page size
|
||||||
* Fixed thumbnail caching
|
* Fixed thumbnail caching
|
||||||
* Added setting to restrict recording by bit rate
|
* Made sure, that @winkru's fix to faster check, if a Chaturbate model is
|
||||||
* Added setting to use the shortest side to restrict the resolution
|
online is merged correctly into my codebase. This should reduce 429 errors
|
||||||
|
and speed up the online check quite a bit.
|
||||||
|
* Changes by @WinkRU
|
||||||
|
* Added setting to restrict recording by bit rate
|
||||||
|
* Added setting to use the shortest side to restrict the resolution
|
||||||
|
|
||||||
5.2.3
|
5.2.3
|
||||||
========================
|
========================
|
||||||
|
|
|
@ -23,32 +23,32 @@ public class BongaCamsTabProvider extends AbstractTabProvider {
|
||||||
List<Tab> tabs = new ArrayList<>();
|
List<Tab> tabs = new ArrayList<>();
|
||||||
|
|
||||||
// female
|
// female
|
||||||
String url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=female&online_only=true&is_mobile=true&offset=";
|
String url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=female&online_only=true&is_mobile=true&limit=72&offset=";
|
||||||
var updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
var updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
||||||
tabs.add(createTab("Female", updateService));
|
tabs.add(createTab("Female", updateService));
|
||||||
|
|
||||||
// male
|
// male
|
||||||
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=male&online_only=true&is_mobile=true&offset=";
|
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=male&online_only=true&is_mobile=true&limit=72&offset=";
|
||||||
updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
||||||
tabs.add(createTab("Male", updateService));
|
tabs.add(createTab("Male", updateService));
|
||||||
|
|
||||||
// couples
|
// couples
|
||||||
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=couples&online_only=true&is_mobile=true&offset=";
|
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=couples&online_only=true&is_mobile=true&limit=72&offset=";
|
||||||
updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
||||||
tabs.add(createTab("Couples", updateService));
|
tabs.add(createTab("Couples", updateService));
|
||||||
|
|
||||||
// trans
|
// trans
|
||||||
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=transsexual&online_only=true&is_mobile=true&offset=";
|
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=transsexual&online_only=true&is_mobile=true&limit=72&offset=";
|
||||||
updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
||||||
tabs.add(createTab("Transsexual", updateService));
|
tabs.add(createTab("Transsexual", updateService));
|
||||||
|
|
||||||
// new
|
// new
|
||||||
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=new&online_only=true&is_mobile=true&offset=";
|
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=new&online_only=true&is_mobile=true&limit=72&offset=";
|
||||||
updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
updateService = new BongaCamsUpdateService((BongaCams) site, url);
|
||||||
tabs.add(createTab("New", updateService));
|
tabs.add(createTab("New", updateService));
|
||||||
|
|
||||||
// friends
|
// friends
|
||||||
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=friends&online_only=true&offset=";
|
url = site.getBaseUrl() + "/tools/listing_v3.php?livetab=friends&online_only=true&limit=72&offset=";
|
||||||
updateService = new BongaCamsUpdateService((BongaCams) site, url, true);
|
updateService = new BongaCamsUpdateService((BongaCams) site, url, true);
|
||||||
friendsTab = new BongaCamsFriendsTab("Friends", updateService, site);
|
friendsTab = new BongaCamsFriendsTab("Friends", updateService, site);
|
||||||
friendsTab.setRecorder(recorder);
|
friendsTab.setRecorder(recorder);
|
||||||
|
|
|
@ -54,7 +54,7 @@ public class BongaCamsUpdateService extends PaginatedScheduledService {
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<Model> loadModelList() throws IOException {
|
private List<Model> loadModelList() throws IOException {
|
||||||
String pageUrl = url + ((page - 1) * 36);
|
String pageUrl = url + ((page - 1) * 72);
|
||||||
LOG.debug("Fetching page {}", pageUrl);
|
LOG.debug("Fetching page {}", pageUrl);
|
||||||
var request = new Request.Builder()
|
var request = new Request.Builder()
|
||||||
.url(pageUrl)
|
.url(pageUrl)
|
||||||
|
|
Loading…
Reference in New Issue