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

Traceback (most recent call last): #342

Open
xifanezz opened this issue May 24, 2024 · 6 comments
Open

Traceback (most recent call last): #342

xifanezz opened this issue May 24, 2024 · 6 comments

Comments

@xifanezz
Copy link

I face this issue when I start it:

πŸ“ˆ Getting trending items
πŸ“ˆ Getting trending en: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5/5 [00:00<00:00, 999.98it/s]
2024-05-25 01:57:57 | INFO | πŸ“Ή Found 5 videos
2024-05-25 01:57:58 | INFO | βœ‹ TikTokPy finished working. Session lasted: 12 seconds
Traceback (most recent call last):
File "C:\Users\xFaneZz\Desktop\New folder (2)\tiktokpy-master\quickstart.py", line 37, in
asyncio.run(main())
File "C:\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\asyncio\runners.py", line 118, in run
return self.loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\xFaneZz\Desktop\New folder (2)\tiktokpy-master\quickstart.py", line 9, in main
trending_items = await bot.trending(amount=5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xFaneZz\Desktop\New folder (2)\tiktokpy-master\tiktokpy\bot_init
.py", line 82, in trending
_trending = FeedItems(root=items)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\site-packages\pydantic\main.py", line 341, in init
raise validation_error
pydantic.error_wrappers.ValidationError: 2 validation errors for FeedItems
root -> 3 -> author -> avatarLarger
ensure this value has at least 1 characters (type=value_error.any_str.min_length; limit_value=1)
root -> 3 -> author -> verified
field required (type=value_error.missing)

@DerekDM15
Copy link

did u find a fix ?

@xifanezz
Copy link
Author

xifanezz commented Jul 3, 2024 via email

@DerekDM15
Copy link

How did you do it ?

I am getting this error.
pydantic.error_wrappers.ValidationError: 1 validation error for FeedItems
root -> 3 -> author -> verified
field required (type=value_error.missing)

@xifanezz
Copy link
Author

xifanezz commented Jul 3, 2024 via email

@DerekDM15
Copy link

oh okay thank you

@DerekDM15
Copy link

did you find any alternatives toa this though ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants