fix
Browse files
social_media_publishers/frontend/src/components/TikTokUploadModal.jsx
CHANGED
|
@@ -360,7 +360,7 @@ export default function TikTokUploadModal({ platform, onClose, accountEmail, onS
|
|
| 360 |
|
| 361 |
<div className="p-5 pt-2 border-t border-border/50 bg-white">
|
| 362 |
<div className="text-[10px] text-center text-secondary mb-2">
|
| 363 |
-
Agree to <a href="
|
| 364 |
</div>
|
| 365 |
|
| 366 |
<button
|
|
|
|
| 360 |
|
| 361 |
<div className="p-5 pt-2 border-t border-border/50 bg-white">
|
| 362 |
<div className="text-[10px] text-center text-secondary mb-2">
|
| 363 |
+
Agree to <a href="https://www.tiktok.com/legal/page/eea/privacy-policy/en" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">TikTok's Music Usage Confirmation</a>
|
| 364 |
</div>
|
| 365 |
|
| 366 |
<button
|
social_media_publishers/youtube/publisher.py
CHANGED
|
@@ -363,7 +363,8 @@ class YoutubePublisher(SocialPublisher):
|
|
| 363 |
'title': snippet['title'],
|
| 364 |
'published_at': published_at,
|
| 365 |
'thumbnail': snippet['thumbnails'].get('medium', {}).get('url'),
|
| 366 |
-
'description': snippet['description'][:100] + '...'
|
|
|
|
| 367 |
})
|
| 368 |
|
| 369 |
if len(videos) >= limit:
|
|
|
|
| 363 |
'title': snippet['title'],
|
| 364 |
'published_at': published_at,
|
| 365 |
'thumbnail': snippet['thumbnails'].get('medium', {}).get('url'),
|
| 366 |
+
'description': snippet['description'][:100] + '...',
|
| 367 |
+
'permalink': f"https://www.youtube.com/watch?v={vid_id}"
|
| 368 |
})
|
| 369 |
|
| 370 |
if len(videos) >= limit:
|