Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Seems like Pagination is broken? #1105

Open
jasonwonton opened this issue Jan 15, 2024 · 1 comment
Open

[BUG] - Seems like Pagination is broken? #1105

jasonwonton opened this issue Jan 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jasonwonton
Copy link

jasonwonton commented Jan 15, 2024

Running into problems paginating using search.py. Pagination on hashtag.py works fine. Also working with headless=False and using msToken.

After cursor finds "has_more" on the first page (which works fine) and tries to paginate, I run into this response.

{'type': 1, 'user_list': [], 'challenge_list': None, 'music_list': None, 'cursor': 20, 'has_more': 0, 'status_code': 0, 'qc': '', 'rid': '------------', 'log_pb': {'impr_id': '-------'}, 'extra': {'now': 1705291138000, 'logid': '--------------', 'fatal_item_ids': [], 'search_request_id': ''}, 'search_nil_info': {'search_nil_type': '', 'is_load_more': 'is_load_more', 'search_nil_item': 'empty_session', 'text_type': 10}, 'input_keyword': 'david teather', 'global_doodle_config': {'keyword': 'david teather', 'display_filter_bar': 0, 'new_source': '', 'search_channel': 'tiktok_user', 'hide_results': False, 'feedback_survey': None, 'hit_shark': False, 'hit_dolphin': False}, 'feedback_type': 'user'}

So this is telling me, after the first page of results and changing cursor, we get has_more = 0 which forces us to exit. Anyone have any recommendations?

@jasonwonton jasonwonton added the bug Something isn't working label Jan 15, 2024
@jasonwonton
Copy link
Author

Just found this bug - #1088

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@jasonwonton and others