question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Workflow will stop if 1 submission page only has gym submissions

See original GitHub issue

How to reproduce:

  • Set CF handle to I_love_Hoang_Yen,
  • Run harwest codeforces -p 5

What happens: the crawler stop without crawling anything, even though I have 150+ pages of submissions.

I think the reason is because page 5 has only my non-AC or gym submissions. So self.client.get_user_submissions returns an empty array, thus stopping the crawler.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
nileshsahcommented, Dec 22, 2020

Great thinking there @s-i-d-d-i-s! It does seem like a possible idea that we can use. I remember the reason why I first went with the pagination approach of 50 was to keep it in parity with the submissions page on codeforces for easy tracking, though it might not be completely necessary. Let’s take up your approach as a first iteration for dealing with this problem if more people request this feature. Hopefully should not hurt the user experience much.

1reaction
s-i-d-d-i-scommented, Dec 22, 2020

@nileshsah I would suggest increasing the page size to 1000 or some huge number,

I was partly aware of the possibility of this situation arising though thought that cases like these would be fairly uncommon.

i think with such a huge number it would be very unlikely to occur? unless someone did 1000+ gym submission, also that would reduce the number of api calls as well

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wix Forms: Adding Submission Limits to Your Forms
The option to limit form submissions is only available once your form is published on your site. If you have not published your...
Read more >
dafman36-2905.pdf - Air Force Personnel Center - AF.mil
Submit requests for waivers through the chain of command to the appropriate Tier waiver approval authority, or alternately, to AFPC/DP3SA for.
Read more >
eNAVFIT - MyNavyHR - Navy.mil
eNavFit is the Navy's new interface for conducting evaluations and fitness reports. It is now available for all Sailors (Reserve and Active Components)....
Read more >
Common Form Status and Workflow Resolutions for HCS and ...
The following forms can have a status of Pending Coach Review, and providers or LIDDAs must submit a review packet to HHSC Utilization...
Read more >
Submissions | The Health & Fitness Journal of Canada
The manuscript should have right and left margins of 1 inch (2.54 cm) and be single-spaced throughout. The typical manuscript length is a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found