Git Product home page Git Product logo

Comments (4)

davidteather avatar davidteather commented on June 15, 2024 1

@theparcel What part of your code doesn't work? Since you added me on your repository it seems like the downloader.py file works fine at least for me.

Edit: I'll open a issue in your repository instead of on here

from tiktok-api.

issue-label-bot avatar issue-label-bot commented on June 15, 2024

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

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

from tiktok-api.

davidteather avatar davidteather commented on June 15, 2024

I forgot to change the example files with the new update. There is no longer a trending_tags() method as they are not displayed on TikTok's main page. Below is code that should work.

from TikTokApi import TikTokapi

# Starts The Api Class
api = TikTokapi("browsermob-proxy/bin/browsermob-proxy")

# The Number of trending TikToks you want to be displayed
results = 10

# Searches for the top trending hashtag of TikTok
result = api.search_by_hashtag("funny")

for tiktok in result:
    # Prints the text of the tiktok
    print(tiktok['itemInfos']['text'])

print(len(result))
api.quit_browser()

I will change that example file.

from tiktok-api.

Lem0nTree avatar Lem0nTree commented on June 15, 2024

If i use your code it works well, if i put your code on my previous working code it gives me something wrong without any error :s Can you help me, i really don't understand what is wrong with my code that worked well with your previous api :(

from tiktok-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.