requests-html icon indicating copy to clipboard operation
requests-html copied to clipboard

Is there a way to pass parameters to Async functions

Open almacitunaberk opened this issue 1 year ago • 1 comments

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.

almacitunaberk avatar Mar 04 '23 18:03 almacitunaberk

See here: https://github.com/psf/requests-html/issues/362#issuecomment-588248111

ZJaume avatar Mar 11 '23 19:03 ZJaume