dfreelon / pyktok

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

Exception has occurred: PermissionError #29

Closed 31onMusk closed 1 year ago

31onMusk commented 1 year ago

I get this error: Exception has occurred: PermissionError [Errno 13] Permission denied: 'C:\Users\Elon Musk\AppData\Roaming..\Local\Google\Chrome\User Data\Default\Network\Cookies' File "C:\Users\Elon Musk\TTD.py", line 1, in import pyktok as pyk PermissionError: [Errno 13] Permission denied: 'C:\Users\Elon Musk\AppData\Roaming..\Local\Google\Chrome\User Data\Default\Network\Cookies'

Some ideas how to solve that?

dfreelon commented 1 year ago

Hi, I had that problem as well. This fixed it for me: https://stackoverflow.com/questions/76440733/unable-to-open-cookie-file

31onMusk commented 1 year ago

Thanks! It works!