-
Notifications
You must be signed in to change notification settings - Fork 1
Incompatibility with JuPyter Notebook (Playwright ASync API) #44
Comments
According to this issue on the Playwright-Python GitHub repository, when using JuPyter Notebook, the asynchronous Playwright API must be used. I was notified recently of this issue when I myself tried to use this software in JuPyter. Right now, the |
Thanks for the fast response! Can't wait for the update! |
Hey Jacob, Have you found a solution to this bug? |
Sorry it's taking so long. I've been held up with other stuff for the past few weeks, but I've been slowly making progress locally. Hopefully I'll have a solution by mid-August, but I'll get to work pushing my commits here these next two weeks. |
How's it coming? |
I'm so sorry it's taking so long. I know what code I need to write, but I've been so held up with school that I haven't been able to write the code. I don't know an exact timetable for completion, but I, personally, want to get it done before playoff season. |
Hey guys,
I apologize if this is annoying. I'm having issues understanding how to actually run the code in a jupyter notebook to scrape the table from the URL at the bottom of this post. When I try and run the code from the example I keep getting an error that reads "It looks like you are using Playwright Sync API inside the asyncio loop. Please use the Async API instead.". Would someone be willing to show me the code I would need to run to get that table? Any help would be greatly appreciated.
https://www.fangraphs.com/leaders/splits-leaderboards?splitArr=42&splitArrPitch=&position=P&autoPt=false&splitTeams=false&statType=player&statgroup=1&startDate=2021-03-01&endDate=2021-11-01&players=&filter=&groupBy=game&sort=-1,1
The text was updated successfully, but these errors were encountered: