Comments (10)
ok i will check on colab
from tiktok-api-python.
thanks for the update, i already test it but didn't work so thought it's still under progress.... using any example like user feed example this error happen
`ModuleNotFoundError Traceback (most recent call last)
in () ----> 1 from TiktokApi import * 2 3 Api = Tiktok() 4 5 # nhập tên người dùng
1 frames
/content/TiktokApi/api.py in () 8 import pickle 9 from urllib.parse import urlencode, quote ---> 10 from .browser import Browser 11 from .ultis import set_url, get_param_url 12 from .encryption import get_tt_param
ModuleNotFoundError: No module named 'TiktokApi.browser'`
i am using google colab, any help will be appreciated
you need all the modules for it to work, I've only tested it on Windows
from tiktok-api-python.
is there any work around to make it work in google colab?
may be using chromium instead of browser or passing tiktok cookies manually to tiktok-api?
`# install chromium, its driver, and selenium
!apt-get update
!apt install chromium-chromedriver
!cp /usr/lib/chromium-browser/chromedriver /usr/bin
!pip install selenium
set options to be headless, ..
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--headless')
options.add_argument('--no-sandbox')
options.add_argument('--disable-dev-shm-usage')
open it, go to a website, and get results
wd = webdriver.Chrome('chromedriver',options=options)
wd.get("https://www.website.com")
print(wd.page_source) # results`
from tiktok-api-python.
for it to work on Colab i think need to use requests and some method of getting datapost encoding
from tiktok-api-python.
can you give me an example?
from tiktok-api-python.
can you please mange it to work with google colab
- browser..cp39-win_amd64
- encryption.cp39-win_amd64
from tiktok-api-python.
Had the same problem while running on Jupyter.
ModuleNotFoundError: No module named 'TiktokApi.browser'
pip install the modules inside requirements.txt. And the browser and encryption pyd files are inside the TiktokApi folder.
Did I miss out something?
from tiktok-api-python.
Had the same problem while running on Jupyter. ModuleNotFoundError: No module named 'TiktokApi.browser'
pip install the modules inside requirements.txt. And the browser and encryption pyd files are inside the TiktokApi folder. Did I miss out something?
ok, seems like just need to remove the middle string from "browser.cp39-win_amd64.pyd" to "browser.pyd".
from tiktok-api-python.
this module extension build for windows and will not work in other system.....
- browser..cp39-win_amd64
- encryption.cp39-win_amd64
can you please make another build for those modules to work in google colab
from tiktok-api-python.
ok i will check on colab
any news
from tiktok-api-python.
Related Issues (20)
- GetChallangeFeed Not Working HOT 1
- how to get video count for music id? HOT 3
- cannot unpack non-iterable bool object HOT 6
- AttributeError: 'NoneType' object has no attribute 'group' / TypeError: cannot unpack non-iterable bool object HOT 1
- getInfoVideo cannot unpack non-iterable bool object HOT 2
- request timeout HOT 1
- getInfoUser() stopped working HOT 4
- getInfoVideo list index out of range HOT 2
- getChallengeFeed minCursor, maxCursor, count HOT 1
- cannot unpack non-iterable bool object HOT 3
- run script problem HOT 2
- secUid vs userid HOT 1
- Message: javascript error: a is not defined HOT 1
- line 19 download HOT 3
- selenium.common.exceptions.TimeoutException: Message: script timeout HOT 1
- What does this do? HOT 2
- What exactly does the trending.py file return? Is it the trending hashtags in my area? HOT 3
- Tiktok
- File "getChallengeFeed.py", in <module> for x in data['itemList']: TypeError: 'bool' object is not subscriptable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktok-api-python.