Last active
January 10, 2021 20:19
-
-
Save Galina-Blokh/d0528413523e333a261e02ac415987ce to your computer and use it in GitHub Desktop.
How to use grequest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import grequests | |
batches = 20 | |
url_to_get = 'https://www.loveandlemons.com/recipes/' | |
page = grequests.get(url_to_get) | |
response = grequests.map([page], size=batches) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment