آرشیو رضا بهشتی
Статистика(((دفتر حفظ و نشر آثار رضا بهشتی))) آرشیو ویدیوهای یوتوب 🔴 LIVE Backup
- Последний пост
- 14 авг.
- Последнее чтение
- 14 авг.
- Постов за неделю
- 19
- Всего постов
- 28
- Тип
- открытый
- Язык
- английский
- В каталоге с
- 14 авг.
- 1/24сутки в ленте
- 70
- 1/48двое суток
- 80
- 1/72трое суток
- 86
Оценка по просмотрам недавних постов: пост набирает почти всё за первые сутки.
Посты
2026-08-14-fWH2ydS7gwg-حتی مرگ هم منو درک نمیکنه؟
2026-08-14-fWH2ydS7gwg-حتی مرگ هم منو درک نمیکنه؟
2026-08-14-fWH2ydS7gwg-حتی مرگ هم منو درک نمیکنه؟
2026-08-14-fWH2ydS7gwg-حتی مرگ هم منو درک نمیکنه؟.info
✉️ ANNOUNCEMENT ✉️
2026-08-14-xCsLI22nHA8-آرزوهای من
2026-08-14-xCsLI22nHA8-آرزوهای من
2026-08-14-xCsLI22nHA8-آرزوهای من
2026-08-14-xCsLI22nHA8-آرزوهای من.info
2026-08-13-kwkCsPS7ghY-آیا عدالتی در زندگی هست؟
2026-08-13-kwkCsPS7ghY-آیا عدالتی در زندگی هست؟
2026-08-13-kwkCsPS7ghY-آیا عدالتی در زندگی هست؟.info
2026-08-11-yM8LRsoF7LA-آیا من درست فهمیدهام
2026-08-11-yM8LRsoF7LA-آیا من درست فهمیدهام
2026-08-11-yM8LRsoF7LA-آیا من درست فهمیدهام.info
⭐️ BACKEND UPDATE ⭐️ For the sake of transparency, this is the newest back-end update. LLMs 🧠 were also used, helping with the troubleshooting and improvements. The bash file named reza-cmd.sh were updated ⬆️, everything else remained fairly similar to the quoted document. [Updates and Issues] • ⬆️ Switched yt-dlp and telegram-upload from the old global pip/Python setup to pipx, keeping each application in its own isolated environment. • 🟢 Added Python 3.11 alongside Ubuntu 22.04's system Python 3.10, without replacing the system python3. Both yt-dlp and telegram-upload now run through their own Python 3.11 environments. • 🛠 Fixed the PATH issue so the pipx versions in ~/.local/bin are used instead of the older /usr/local/bin installations. • 🛠 We encountered a problem with telegram-upload where it generated a temporary JPG thumbnail in /tmp, but the temporary file disappeared before Telethon could upload it. This caused the upload to reach 100% and then fail with a FileNotFoundError. Instead of letting telegram-upload generate a temporary thumbnail, the workflow now uses the JPG thumbnail generated by yt-dlp with --write-thumbnail and --convert-thumbnails jpg, passing that existing file to telegram-upload as the video's thumbnail. • ⬆️ The upload #Workflow was also changed to process each video individually: upload the metadata, description, thumbnail, and finally the video. Only after everything succeeds are the local files deleted. • 🟢 Added a final storage safeguard that checks the download directory after processing and removes leftover files if it exceeds 2 GB. [New 👩💻 reza-cmd.sh Bash File] #!/bin/bash # ============================== # Configuration # ============================== FILES_DIR="/home/nero/youtube/files" TELEGRAM_TO="https://t.me/RezaBeheshtiArchive/" ARCHIVE="/home/nero/youtube/reza-archive-3.txt" LOG_FILE="/home/nero/logs/general-updates.log" # Add logging exec >> "$LOG_FILE" 2>&1 echo echo "========================================" echo "Started: $(date)" echo "========================================" # ============================== # Download new videos # ============================== yt-dlp \ --download-archive "$ARCHIVE" \ --write-info-json \ --write-description \ --convert-thumbnails jpg \ --write-thumbnail \ -o "$FILES_DIR/%(upload_date>%Y-%m-%d)s-%(id)s-%(title)s.%(ext)s" \ -S ext:mp4:m4a \ "https://www.youtube.com/playlist?list=UUvF6vHwKu0hcQWAP8meXbwQ" # ============================== # Clean zero-byte and NA-* files # ============================== find "$FILES_DIR" -type f -size 0c -delete rm -f "$FILES_DIR"/NA-* # ============================== # Upload each video # ============================== for video in "$FILES_DIR"/*.mp4; do # If no MP4 files exist, skip the loop [ -e "$video" ] || continue thumbnail="${video%.mp4}.jpg" info="${video%.mp4}.info.json" description="${video%.mp4}.description" echo echo "========================================" echo "Processing:" echo "$(basename "$video")" echo "========================================" # ------------------------------ # Upload info JSON # ------------------------------ if [ -f "$info" ]; then echo "Uploading info JSON..." telegram-upload \ --to "$TELEGRAM_TO" \ "$info" || { echo "ERROR: Failed to upload info JSON." continue } fi # ------------------------------ # Upload description # ------------------------------ if [ -f "$description" ]; then echo "Uploading description..." telegram-upload \ --to "$TELEGRAM_TO" \ "$description" || { echo "ERROR: Failed to upload description." continue } fi # ------------------------------ # Upload thumbnail # ------------------------------ if [ -f "$thumbnail" ]; then echo "Uploading thumbnail..." telegram-upload \ --to "$TELEGRAM_TO" \ "$thumbnail" || { echo "ERROR: Failed to upload thumbnail." continue } fi # ------------------------------ # Upload video # ------------------------------ echo "Uploading video..." telegram-upload \ --thumbnail-file "$thumbnail" \ --to "$TELEGRAM_TO" \ "$video" || { echo "ERROR: Failed to upload video." continue } # ------------------------------ # Everything succeeded # ------------------------------ echo "All uploads successful." echo "Deleting local files..." rm -f "$info" rm -f "$description" rm -f "$thumbnail" rm -f "$video" echo "Done: $(basename "$video")" done # ============================== # Final cleanup # ============================== echo echo "========================================" echo "Upload process finished: $(date)" echo "========================================" # Check the size of FILES_DIR. # du reports the size in KiB with --block-size=1K. DIRECTORY_SIZE_KB=$(du -s --block-size=1K "$FILES_DIR" | cut -f1) echo "FILES_DIR size: ${DIRECTORY_SIZE_KB} KiB" # 2 GiB = 2 * 1024 * 1024 KiB TWO_GB_KB=$((2 * 1024 * 1024)) if [ "$DIRECTORY_SIZE_KB" -gt "$TWO_GB_KB" ]; then echo "WARNING: FILES_DIR is larger than 2 GB." echo "Deleting all remaining files..." find "$FILES_DIR" -mindepth 1 -maxdepth 1 -type f -delete echo "Leftover files deleted." else echo "FILES_DIR is below 2 GB. No final cleanup required." fi echo echo "========================================" echo "Finished: $(date)" echo "========================================" [NOTE ⚠️] • If you used pipx like me, you have to update your auto updater commands. python3 -m pip install --user --upgrade pipx pipx upgrade-all #Workflow
2026-08-12-DcNwi5NqIh8-متفاوتترین ویژگی ما ایرانیها
2026-08-12-DcNwi5NqIh8-متفاوتترین ویژگی ما ایرانیها
2026-08-12-DcNwi5NqIh8-متفاوتترین ویژگی ما ایرانیها.info
2026-08-08-OHMqPiu8rw8-بهترین متنی که خوندم