davidteather / TikTok-Api

The Unofficial TikTok API Wrapper In Python
https://davidteather.github.io/TikTok-Api
MIT License
4.76k stars 960 forks source link

Add option to select which browser playwright uses #1129

Closed willmhowes closed 5 months ago

willmhowes commented 6 months ago

This addition is purely motivated by the fact that I was able to circumvent the #1116 headless mode error by using firefox instead of the default chromium browser which currently throws errors. I am new the project and don't know the motivations behind using chromium as the default, which does still work in headed mode, so I added the option to select the browser rather than changing any default behavior.

My testing has been limited, but I haven't found any library behavior broken by using firefox instead of chromium.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

davidteather commented 5 months ago

LGTM