davidteather / TikTok-Api

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

[INSTALLATION] - Chromium downloading taking forever for any api calls #252

Closed nitneo closed 4 years ago

nitneo commented 4 years ago

Describe the error

When I am calling api the script started to download the chromium and it took forever to complete the download. It looks like it almost struck at 39-40% and never complete. Am getting the below message from the code, please note this is not an error or script won't terminate but and endless download which is downloading only few bits per sec.

RESTART: C:\Users\***\Desktop\tiktok.py ==================
[W:pyppeteer.chromium_downloader] start chromium download.
Download may take a few minutes.

I also downloaded chromedriver as per instruction given in this issue and tested through cmd prompt (windows) and it is running fine. Still issue exist for me

The buggy code

from TikTokApi import TikTokApi # this imports the library api = TikTokApi() # initializes the library to api count = 2

Desktop (please complete the following information):

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.78. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

duplicate-issues[bot] commented 4 years ago

Hey @nitneo,

We did a quick check and this issue looks very darn similar to

This could be a coincidence, but if any of these issues solves your problem then I did a good job :smile:

If not, the maintainers will get to this issue shortly.

Cheers, Your Friendly Neighborhood ProBot

davidteather commented 4 years ago

Not an issue with this library, check out puppeteer for help.