You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a similar open issue regarding the AttributeError where a 'types.SimpleNamespace' object has no attribute 'data_size'. The suggested solution is to modify the code to safely access the data_size attribute using the safe_extract method. This method provides a default value if the attribute is not present, preventing the error. You can update the code in the __extract_video_download method as follows:
This change ensures that if data_size is not present in play_addr, a default value (e.g., 0) is used instead, thus preventing the AttributeError[1].
Additionally, as a workaround without modifying the code, you can set the storage_format to csv or xlsx instead of sql, as you mentioned. This should help avoid the error and allow you to choose whether to end or continue the process.
storage_format设置为SQL,程序就会退出且报以下错

如博主有几个号,你都添加到accounts_urls ,这个错误很容易触发<作品重复且重命名会失败>
不自己改代码的情况下解决方法是把storage_format设置为csv或者xlsx,出现以上错误 你可以选择结束还是继续。
改name_format没成功,可能得把Data文件夹清空。就没试了。
The text was updated successfully, but these errors were encountered: