Hosted App has a bug due to which results never shows up for a user with high number of following or follow ups, Fixing will take time because of other projects rush work. Till then, hit it locally! or maybe try your luck!
- You may read from here
- Also suggested to read code inside utils folder where file name does'nt start with util
- I may be writing docs too quickly and very briefly ignoring code
- clone the repo locally
pip install -r requirements.txt
uvicorn server:app --reload
- Shift code to use GitHub API
- Parallelize the code
- Data cruching only once for complete analysis
- Add/Fix link to repositories in suggessted repositories
- Be patient because their is hell lot of scraping happening in behind
- GitHub api crashes when sending data of someone with above 5k followers, and some bots are their trying to does the same
- I can easily control that part with this approach, although later I will shift it to api usage and make it multi threaded
- Time Complexity / Scraping for each analysis:
((followers + following) of followers) * ((followers + following) of following)
- It's Suggested to run locally
- Possible reason for heroku bug is request getting timeout, only effective way to handle this is to revamp the web app server code