Compare commits

..

4 Commits

Author SHA1 Message Date
Paul van Tilburg a1afa8af39
Update documentation 2022-12-20 17:05:29 +01:00
Paul van Tilburg c9e6b3d6ec
Always apply limit after filtering successful streams 2022-12-20 17:05:29 +01:00
Paul van Tilburg 1012e5fe01
Set updated at timestamp for videos
Since the metadata only provides a date, set the time part to 12:00:00
(UTC).

Also fix up the deprecation warning for the creation of the initial zero
last build timestamp.
2022-12-20 17:05:29 +01:00
Paul van Tilburg 206af11152
Bump the depend on ytextract
This newer version is able to correctly parse the date of streamed
videos.

Also use the full `ytextract::Video` structs which should have have all
the metadata.
2022-12-20 17:04:49 +01:00
2 changed files with 4 additions and 3 deletions

5
Cargo.lock generated
View File

@ -3124,8 +3124,9 @@ dependencies = [
[[package]]
name = "ytextract"
version = "0.11.0"
source = "git+https://github.com/paulvt/ytextract.git?branch=fix-date-parsing-live#6829a27b942d925b12d10996bc75552ad7aaa5cf"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d23e95563efc0a066ac0e6491ecd7012940ef495ce050c9f09de145a034ccabf"
dependencies = [
"async-stream",
"base64 0.13.1",

View File

@ -20,7 +20,7 @@ rss = "2.0.1"
thiserror = "1.0.31"
url = { version = "2.2.2", features = ["serde"] }
youtube_dl = { version = "0.7.0", features = ["tokio"] }
ytextract = { version = "0.11.0", git = "https://github.com/paulvt/ytextract.git", branch = "fix-date-parsing-live" }
ytextract = "0.11.1"
[package.metadata.deb]
maintainer = "Paul van Tilburg <paul@luon.net>"