dfreelon / pyktok

A simple module to collect video, text, and metadata from Tiktok.
BSD 3-Clause "New" or "Revised" License
316 stars 44 forks source link

pyk.save_tiktok_multi_page error #44

Closed jobreu closed 3 months ago

jobreu commented 3 months ago

Thanks for the great library!

I wanted to collect user metadata, but get the following error when running pyk.save_tiktok_multi_page:

TypeError: 'NoneType' object is not subscriptable

error_pyktok

I am working with Jupyter Lab, Python v 3.11, OS = Win 10

I have logged in to a TikTok account in Chrome and have closed it before running the command. pyk.save_tiktok also works. It is just pyk.save_tiktok_multi_page that throws an error. I have tried multiple accounts (including the one from the example code).