upload-post 2.7.0__tar.gz → 2.8.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {upload_post-2.7.0 → upload_post-2.8.1}/PKG-INFO +1 -4
- {upload_post-2.7.0 → upload_post-2.8.1}/README.md +0 -3
- {upload_post-2.7.0 → upload_post-2.8.1}/setup.py +1 -1
- {upload_post-2.7.0 → upload_post-2.8.1}/upload_post/__init__.py +1 -1
- {upload_post-2.7.0 → upload_post-2.8.1}/upload_post/api_client.py +7 -11
- {upload_post-2.7.0 → upload_post-2.8.1}/upload_post.egg-info/PKG-INFO +1 -4
- {upload_post-2.7.0 → upload_post-2.8.1}/setup.cfg +0 -0
- {upload_post-2.7.0 → upload_post-2.8.1}/upload_post/cli.py +0 -0
- {upload_post-2.7.0 → upload_post-2.8.1}/upload_post.egg-info/SOURCES.txt +0 -0
- {upload_post-2.7.0 → upload_post-2.8.1}/upload_post.egg-info/dependency_links.txt +0 -0
- {upload_post-2.7.0 → upload_post-2.8.1}/upload_post.egg-info/requires.txt +0 -0
- {upload_post-2.7.0 → upload_post-2.8.1}/upload_post.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: upload-post
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.1
|
|
4
4
|
Summary: Cross-platform social media upload for TikTok, Instagram, YouTube, LinkedIn, Facebook, Pinterest, Threads, Reddit, Bluesky, Discord, Telegram, and X (Twitter)
|
|
5
5
|
Home-page: https://www.upload-post.com/
|
|
6
6
|
Author: Upload-Post
|
|
@@ -360,9 +360,6 @@ These options work across all upload methods:
|
|
|
360
360
|
| `add_to_queue` | Add to posting queue |
|
|
361
361
|
| `max_posts_per_slot` | Max posts per queue slot (overrides profile setting) |
|
|
362
362
|
| `async_upload` | Process asynchronously (default: True) |
|
|
363
|
-
| `autogenerate` | If True, AI generates native per-platform title/description from the media and fills any field left empty |
|
|
364
|
-
| `autogenerate_title` / `autogenerate_description` | Generate only the title or only the description (bool) |
|
|
365
|
-
| `autogenerate_language` | Force the output language (ISO code); omit to auto-detect from the media |
|
|
366
363
|
|
|
367
364
|
## Error Handling
|
|
368
365
|
|
|
@@ -322,9 +322,6 @@ These options work across all upload methods:
|
|
|
322
322
|
| `add_to_queue` | Add to posting queue |
|
|
323
323
|
| `max_posts_per_slot` | Max posts per queue slot (overrides profile setting) |
|
|
324
324
|
| `async_upload` | Process asynchronously (default: True) |
|
|
325
|
-
| `autogenerate` | If True, AI generates native per-platform title/description from the media and fills any field left empty |
|
|
326
|
-
| `autogenerate_title` / `autogenerate_description` | Generate only the title or only the description (bool) |
|
|
327
|
-
| `autogenerate_language` | Force the output language (ISO code); omit to auto-detect from the media |
|
|
328
325
|
|
|
329
326
|
## Error Handling
|
|
330
327
|
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="upload-post",
|
|
8
|
-
version="2.
|
|
8
|
+
version="2.8.1",
|
|
9
9
|
author="Upload-Post",
|
|
10
10
|
author_email="hi@img2html.com",
|
|
11
11
|
description="Cross-platform social media upload for TikTok, Instagram, YouTube, LinkedIn, Facebook, Pinterest, Threads, Reddit, Bluesky, Discord, Telegram, and X (Twitter)",
|
|
@@ -129,14 +129,6 @@ class UploadPostClient:
|
|
|
129
129
|
if async_upload is not None:
|
|
130
130
|
data.append(("async_upload", str(async_upload).lower()))
|
|
131
131
|
# AI auto-generation of native per-platform copy from the media (fills blank fields)
|
|
132
|
-
if kwargs.get("autogenerate") is not None:
|
|
133
|
-
data.append(("autogenerate", str(kwargs["autogenerate"]).lower()))
|
|
134
|
-
if kwargs.get("autogenerate_title") is not None:
|
|
135
|
-
data.append(("autogenerate_title", str(kwargs["autogenerate_title"]).lower()))
|
|
136
|
-
if kwargs.get("autogenerate_description") is not None:
|
|
137
|
-
data.append(("autogenerate_description", str(kwargs["autogenerate_description"]).lower()))
|
|
138
|
-
if kwargs.get("autogenerate_language"):
|
|
139
|
-
data.append(("autogenerate_language", str(kwargs["autogenerate_language"])))
|
|
140
132
|
|
|
141
133
|
# Platform-specific title overrides
|
|
142
134
|
title_overrides = [
|
|
@@ -303,12 +295,16 @@ class UploadPostClient:
|
|
|
303
295
|
"""Add Facebook-specific parameters."""
|
|
304
296
|
if kwargs.get("facebook_page_id"):
|
|
305
297
|
data.append(("facebook_page_id", kwargs["facebook_page_id"]))
|
|
306
|
-
|
|
298
|
+
|
|
299
|
+
# facebook_media_type (POSTS/STORIES/REELS) is honored for BOTH photos and video
|
|
300
|
+
# (backend uploadphotos.py reads request.form.get('facebook_media_type')). Gating it
|
|
301
|
+
# behind is_video prevented publishing Facebook Story photos from the SDK.
|
|
302
|
+
if kwargs.get("facebook_media_type"):
|
|
303
|
+
data.append(("facebook_media_type", kwargs["facebook_media_type"]))
|
|
304
|
+
|
|
307
305
|
if is_video:
|
|
308
306
|
if kwargs.get("video_state"):
|
|
309
307
|
data.append(("video_state", kwargs["video_state"]))
|
|
310
|
-
if kwargs.get("facebook_media_type"):
|
|
311
|
-
data.append(("facebook_media_type", kwargs["facebook_media_type"]))
|
|
312
308
|
if kwargs.get("thumbnail_url"):
|
|
313
309
|
data.append(("thumbnail_url", kwargs["thumbnail_url"]))
|
|
314
310
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: upload-post
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.1
|
|
4
4
|
Summary: Cross-platform social media upload for TikTok, Instagram, YouTube, LinkedIn, Facebook, Pinterest, Threads, Reddit, Bluesky, Discord, Telegram, and X (Twitter)
|
|
5
5
|
Home-page: https://www.upload-post.com/
|
|
6
6
|
Author: Upload-Post
|
|
@@ -360,9 +360,6 @@ These options work across all upload methods:
|
|
|
360
360
|
| `add_to_queue` | Add to posting queue |
|
|
361
361
|
| `max_posts_per_slot` | Max posts per queue slot (overrides profile setting) |
|
|
362
362
|
| `async_upload` | Process asynchronously (default: True) |
|
|
363
|
-
| `autogenerate` | If True, AI generates native per-platform title/description from the media and fills any field left empty |
|
|
364
|
-
| `autogenerate_title` / `autogenerate_description` | Generate only the title or only the description (bool) |
|
|
365
|
-
| `autogenerate_language` | Force the output language (ISO code); omit to auto-detect from the media |
|
|
366
363
|
|
|
367
364
|
## Error Handling
|
|
368
365
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|