Skip to content

Import yields incorrect link for Tumblr image posts #3178

Description

@boxydog
  • I have read the Filing Issues and subsequent “How to Get Help” sections of the documentation.
  • I have searched the issues (including closed ones) and believe that this is not a duplicate.
  • OS version and name: OS X 12.6.7
  • Python version: 3.11.4
  • Pelican version: 4.8.0
  • Link to theme: default
  • Links to plugins: default
  • Link to your site: n/a
  • Link to your source: n/a
  • Link to a Gist with the contents of your settings file: n/a

Issue

Importing tumblr blog entry with an image produces an incorrect link.

For example, https://www.tumblr.com/boxydog/188887119699/a-nice-visualization-of-whats-been-getting produces the link all spread out one letter at a time (see below). I bet the python code is iterating over a string when it thinks it's iterating over a list.

First 50 lines of the .rst file:

$ head -50 boxydog.com/2019-11-07-a-nice-visualization-of-whats-been-getting.rst 
blog.bluecrossmn.com
####################
:date: 2019-11-07 15:26:40
:author: boxydog
:category: photo
:tags: economics
:slug: 2019-11-07-a-nice-visualization-of-whats-been-getting
:status: published

<

i

m

g

a

l

t

=

"

"

s

r

c

=

"

h

t

t

p

s

:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions