bbolli / tumblr-utils

Utilities for dealing with Tumblr blogs, Tumblr backup
GNU General Public License v3.0
667 stars 124 forks source link

Issue with cookie.txt and ydl_options #237

Closed AstroWildcat closed 6 months ago

AstroWildcat commented 6 months ago

Hello,

As of this date and my first backup, I used this hash: https://github.com/bbolli/tumblr-utils/commit/892e28d73b75d57c58b24aec00ea4190f17b61c3

When I first used tumblr-utils on 2/23/24 according to the instructions laid out here, it worked just fine - minus the inability to download some videos. The document linked provides a solution to this, which is to add a line to read Tumblr cookies in tumblr_backup.py. When I added this and started the backup process, a lot of errors come up. Too many of them at once for me to properly document it. However, I notice a certain line kept showing up:

_AttributeError: 'HTTPResponse' object has no attribute 'get_contentlength'

I have tried a variety of things to fix this, including removing the line entirely from the tumblr_backup.py file and using the --cookiefile command to point to the file. This does nothing either.

Not sure what to do. Any advice would be greatly appreciated!

AstroWildcat commented 6 months ago

I have found that this fork of tumblr-utils does not have the aforementioned issues.

cebtenzzre commented 6 months ago

You were already using my fork if you saw that error, that's https://github.com/cebtenzzre/tumblr-utils/issues/15.