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

extracting more pages and versions #2

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

sagilaufer1992
Copy link

No description provided.

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -e
pages=4

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason this is specifically 4? Wouldn't this mean we'd need to change this value in the future?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might. for now it works, and it is the maximal number of pages. tried finding the max page, needs working with regexes, over the headers of the request. burnt too much time on it. defaulted to magic number for now, willing to open a ticket for later fixing it

@sagilaufer1992 sagilaufer1992 merged commit 48edeb3 into master Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants