Closed isaacs closed 5 years ago
Turned out I didn't have to fetch them in the import script, because the tumblr backupper python goober already does this! Thanks, @bbolli!
I just had the importer look for the filenames in the frontmatter and content, and swap out urls for local files, and then copy the files into the post directory if it was found.
don't make requests out to https://66.media.tumblr.com/72695ea24d6b9854794a36463eca0275/tumblr_o44abzEHrc1qzjzo9o1_1280.jpg for example