Kuroba-Experimental
Kuroba-Experimental copied to clipboard
Kohlchan doesn't load catalog
Catalog in kohlchan doesn't loads the full catalog when opened. Only the top 6 posts loads at first. When scrolled to the bottom, the whole catalog gets refreshed and a few more posts gets loaded which it also reorganizes the existing order of the already loaded posts. To load the full catalog you have to scroll to the bottom for 30 times.
There is an exact url for kohlchan which gets the catalog directly without navigating from the home. https://kohlchan.net/int/catalog.html
The default behavior of the site is to load the boards and threads without changing the url from https://kohlchan.net/.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Do you have catalog sorting set to something other than BUMP? That's not supported. With BUMP it works for me on /int/ and other boards.
I did have the sorting order set to latest first. But even after changing it to bump it only loads the first few posts. When reached to the end it loads some more posts.
What's changed is that after setting the sorting order to bump it doesn't have to refresh the catalog after loading more posts. https://github.com/K1rakishou/Kuroba-Experimental/assets/85781937/acb092ba-3ad5-4a7c-9c0c-17ace0ba13a7
Wait that's how it's supposed to work because Kohlchan's catalog is paginated.
When I do a get request on https://kohlchan.net/int/catalog.html in python requests I am able to get the html page containing all 300 posts. Can we not just parse this output to produce the catalog in the app?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Can you add a feature in which it is configurable to set the number of pages to preload upon reaching a threshold in the scrollable space. For example load next 5 pages when I've scrolled to 75% of current content.