requests-html
requests-html copied to clipboard
Is there a way to pass parameters to Async functions
Love the package! I am trying to scrape multiple URLs concurrently. For that, I am trying to use the run method of AsyncHTMLSession object. The method expects a list of async functions to run in parallel. But, I couldn't figure out a way to use the same function that accepts a URL as a parameter. Would love if this is supported by the package.
See here: https://github.com/psf/requests-html/issues/362#issuecomment-588248111