tropicoo / yt-dlp-bot

Self-hosted Video Download Telegram Bot 🇺🇦
BSD 3-Clause "New" or "Revised" License
208 stars 71 forks source link

Update requirements.txt #285

Closed giou closed 4 months ago

giou commented 4 months ago

fix syntax? pre-releases not updating

tropicoo commented 4 months ago

I believe it works, also, I've updated notification task.

giou commented 4 months ago

I believe it works, also, I've updated notification task.

Good, can you check if it updates to latest prereasease? 2024.5.29.232700.dev0 as of now. It did not update for me.

tropicoo commented 4 months ago

Which command do you run?

giou commented 4 months ago

Which command do you run?

docker compose build --no-cache worker

Works with the new syntax

tropicoo commented 4 months ago
  1. app_worker/requirements.txt: yt-dlp>=2024.5.23.232707.dev0
  2. docker compose build --no-cache worker && docker compose up -d -t 0 worker
  3. GET {{base_host}}/v1/yt-dlp/?release_channel=NIGHTLY
    {
    "latest": {
        "version": "2024.05.30.232720",
        "retrieved_at": "2024-05-31T22:10:09"
    },
    "current": {
        "version": "2024.05.30.232720",
        "updated_at": "2024-05-31T22:10:05"
    },
    "need_upgrade": false
    }
giou commented 4 months ago

Just tested it with the new update and it works. Thanks!

But I think it looks cleaner with yt-dlp>=dev0