Commit 2ec9a6b
authored
Fix Tumblr fetch when text_only=False (#80)
Calling `fetch_social_posting_vertical(text_only=False)` returns a 404
from Tumblr's API because the code was sending `type=` (empty string) as
a query parameter.
When `text_only=False`, omit the `type` parameter entirely. Tumblr
accepts no `type` to mean "all types" but rejects `type=`.
Closes #81
Update: This PR also closes #821 parent e1cb2f7 commit 2ec9a6b
2 files changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 129 | + | |
132 | 130 | | |
133 | 131 | | |
134 | 132 | | |
| |||
0 commit comments