-
Notifications
You must be signed in to change notification settings - Fork 42
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
Only pulling 60 stargazers (2 pages) #11
Comments
Hi @RandallKent , I modified the code according to your new PR. However, the program still only gets 60 stargazers' info. Could you give some advice? Thanks a lot. |
@tianshanghong - Did you build/install after modifying fetch/fecth.go#L62? Alternatively, assuming you modified cd $HOME/go/src/github.com/spencerkimball/stargazers \
&& go run main.go :owner/:repo --token=:access_token [flags] |
Even after the modification, it still fetches only 60 stargazers. |
Any luck? I am having the same issue. |
@luharias yes.. the issue is that the imports in the library are from the github repo and you are making changes to your local files. So those changes are not being used when running the program. Instead, you should change all the imports in all the files to point to your local files with the modifications (using relative paths).. this fixed the issue for me. |
Thank you so much @rishabhpoddar, that helped me resolve it. |
I think I'm having this issue also :/ |
Stargazers was only getting through 60 (2 pages) of our stargazers☹️
It appears the format of the
Link
response header may have changed to now include arel="prev"
on pages 2+ which broke the RegEx pattern seen @ fetch/fecth.go#L62. Adding a.*
to the RegEx pattern has resolved the issue for me. Will be submitting a PR shortly!Value of
Link
header see with 1st Page:Value of
Link
header see with 2+ Pages:The text was updated successfully, but these errors were encountered: