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

multithreading #6

Open
blackhat-t opened this issue Sep 29, 2022 · 1 comment
Open

multithreading #6

blackhat-t opened this issue Sep 29, 2022 · 1 comment

Comments

@blackhat-t
Copy link

add ### threads to filler.py to pull the requests concurrently rather than a loop
for i in range(count_of_reports): print('Fetching report ' + str(i + 1) + ' out of ' + str(count_of_reports)) report_url = 'https://' + reports[i]['link'] + '.json'

@blackhat-t blackhat-t changed the title multithread multithreading Sep 29, 2022
@reddelexc
Copy link
Owner

reddelexc commented Oct 5, 2022

Hi, thanks for suggestion but i don't want to abuse h1 api and send a lot of concurrent requests. Also current speed of script is good for me but if you want you can send me PR and i will merge it

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

No branches or pull requests

2 participants