Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiktok api object has no attribute byHashtag #689

Closed
udithanuwanw opened this issue Sep 11, 2021 · 8 comments
Closed

tiktok api object has no attribute byHashtag #689

udithanuwanw opened this issue Sep 11, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@udithanuwanw
Copy link

Hi got this error when run ,tiktok downloader

tiktok api object has no attribute byHashtag

@udithanuwanw udithanuwanw added the bug Something isn't working label Sep 11, 2021
@Syahrol13
Copy link

Try using by_hashtag() instead

@hwasiti
Copy link

hwasiti commented Sep 20, 2021

This worked for me. Thanks @Syahrol13

@heiver13
Copy link

heiver13 commented Nov 2, 2021

hello, I had the same error and with @hwasiti contribution I solved it but now I get the following error:

File "C:\Users\lenovo\Desktop\art\tiktokbot.py", line 163, in
b = api.get_Video_By_DownloadURL(
AttributeError: 'TikTokApi' object has no attribute 'get_Video_By_DownloadURL'

@Syahrol13
Copy link

@heiver13, use get_tiktok_by_url() instead. Most functions now use small letter after the update. you can check in the code for confirmation.

@heiver13
Copy link

heiver13 commented Nov 2, 2021

ok, corrected but now I have this bug:
results[x]['itemInfos']['video']['urls'][0], custom_did=did)
KeyError: 'itemInfos'

@Syahrol13
Copy link

can i see your code?

@heiver13
Copy link

heiver13 commented Nov 2, 2021

@Syahrol13
Copy link

This is the same case as issue #296 i think, maybe you can check there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants