mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 23:00:20 +00:00
Update requests_html.py
small grammar/typos
This commit is contained in:
committed by
GitHub
parent
47b2ad86ca
commit
b2cb028b32
+3
-3
@@ -583,7 +583,7 @@ class HTML(BaseParser):
|
||||
Chromium into your home directory (``~/.pyppeteer``).
|
||||
"""
|
||||
|
||||
self.browser = self.session.browser # Automatycally create a event loop and browser
|
||||
self.browser = self.session.browser # Automatically create a event loop and browser
|
||||
content = None
|
||||
|
||||
# Automatically set Reload to False, if example URL is being used.
|
||||
@@ -766,8 +766,8 @@ class AsyncHTMLSession(BaseSession):
|
||||
|
||||
def run(self, *coros):
|
||||
""" Pass in all the coroutines you want to run, it will wrap each one
|
||||
in a task, run it and wait for the result. Retuen a list with all
|
||||
results, this are returned in the same order coros are passed in. """
|
||||
in a task, run it and wait for the result. Return a list with all
|
||||
results, this is returned in the same order coros are passed in. """
|
||||
tasks = [
|
||||
asyncio.ensure_future(coro()) for coro in coros
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user