Skip to content
This repository was archived by the owner on Sep 29, 2024. It is now read-only.

Kohlchan doesn't load catalog #899

Open
BugmanSpirit opened this issue Jun 2, 2023 · 7 comments
Open

Kohlchan doesn't load catalog #899

BugmanSpirit opened this issue Jun 2, 2023 · 7 comments

Comments

@BugmanSpirit
Copy link

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/.

@stale
Copy link

stale bot commented Aug 7, 2023

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.

@K1rakishou
Copy link
Owner

K1rakishou commented Aug 9, 2023

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.

@BugmanSpirit
Copy link
Author

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

@K1rakishou
Copy link
Owner

Wait that's how it's supposed to work because Kohlchan's catalog is paginated.

@BugmanSpirit
Copy link
Author

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?

@stale
Copy link

stale bot commented Sep 17, 2023

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.

@stale stale bot added the wontfix (auto) label Sep 17, 2023
@BugmanSpirit
Copy link
Author

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.

@stale stale bot removed the wontfix (auto) label May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants