Skip to content

Commit

Permalink
Merge pull request psf#250 from David-Hinschberger/patch-1
Browse files Browse the repository at this point in the history
Update requests_html.py
  • Loading branch information
inishchith committed Feb 14, 2019
2 parents 47b2ad8 + b2cb028 commit 093edf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions requests_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def render(self, retries: int = 8, script: str = None, wait: float = 0.2, scroll
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.
Expand Down Expand Up @@ -766,8 +766,8 @@ async def close(self):

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
]
Expand Down

0 comments on commit 093edf1

Please sign in to comment.