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

Issue while importing the library #11

Open
alejandroperezcosio opened this issue Dec 7, 2021 · 1 comment
Open

Issue while importing the library #11

alejandroperezcosio opened this issue Dec 7, 2021 · 1 comment

Comments

@alejandroperezcosio
Copy link

from tiktok_downloader import snaptik

Traceback (most recent call last):
  File "services/tiktok.py", line 2, in <module>
    from tiktok_downloader import snaptik
  File "/Users/ale/.virtualenvs/scrappy-3.6/lib/python3.6/site-packages/tiktok_downloader/__init__.py", line 1, in <module>
    from .snaptik import snaptik
  File "/Users/ale/.virtualenvs/scrappy-3.6/lib/python3.6/site-packages/tiktok_downloader/snaptik.py", line 8, in <module>
    class snaptik(Session):
  File "/Users/ale/.virtualenvs/scrappy-3.6/lib/python3.6/site-packages/tiktok_downloader/snaptik.py", line 24, in snaptik
    def get_media(self)->list[info_videotiktok]:
TypeError: 'type' object is not subscriptable
@krypton-byte
Copy link
Owner

use python3.9

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