question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] - Getting videos by Hashtag stopped working

See original GitHub issue

Getting an exception:

Tag #viral, Error: Expecting value: line 1 column 1 (char 0)

It fails at this code:

with TikTokApi() as api:
    tag = api.hashtag(name="viral")

    print(tag.info())

    ->for video in tag.videos():
        print(video.id)

the for loop fires the exception and return 0 videos

This is the log output

urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): m.tiktok.com:443
urllib3.connectionpool - DEBUG - https://m.tiktok.com:443 "GET /api/challenge/detail" 200 308
urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): us.tiktok.com:443
urllib3.connectionpool - DEBUG - https://us.tiktok.com:443 "GET /api/challenge/item_list" 200 0
batch - ERROR - Tag #viral, Error: Expecting value: line 1 column 1 (char 0)

It was working perfectly on production, code above is a simplified example of my code, the issue happens with or without a proxy It was working up to the Nov 15th

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:24

github_iconTop GitHub Comments

6reactions
mandyscommented, Nov 16, 2022

+1

2reactions
azickricommented, Nov 18, 2022

@mandys, i was try hit with full request params and response is blank… how you solve this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hashtags Not Working? Here's 10 Reasons Why and How to ...
In this article, we will look at 10 reasons why your hashtags might not be working and how you can fix them to...
Read more >
[English] Hashtags are not Working? | 100% Proven Fix
[English] Hashtags are not Working ? | 100% Proven Fix | Youtube Hashtag Not visible Bug Solution. Watch later. Share. Copy link.
Read more >
My hashtags don't work on Instagram (How to fix it)
Have your hashtags stopped working? In this post, I'll share why hashtags don't work on Instagram and how to fix it!
Read more >
Instagram Hashtags Not Working? (Here are 8 Reasons Why)
Reason #1 for Instagram Hashtags Not Working: Your Profile Has Been Shadowbanned or Flagged as Spam. This is one of the main culprits...
Read more >
Instagram Hashtags Not Working [+57 Banned Hashtags)
When Instagram Hashtags not working, users are very affected by it. Instagram Hashtags Not Working Solution is very easy to fix it.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found