feat!: update channel model, addd handle + video_count, remove tv/mobile banner

This commit is contained in:
ThetaDev 2024-08-17 02:44:47 +02:00
parent 5a6b2c3a62
commit e6715700d9
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
23 changed files with 114 additions and 619 deletions

View file

@ -158,7 +158,7 @@ impl DownloadVideo {
channel_id: video.channel_id().map(str::to_owned),
channel_name: video
.channel_name()
.map(|n| n.strip_suffix(" - Topic").unwrap_or(n).to_owned()),
.map(|n| n.strip_suffix("- Topic").unwrap_or(n).trim().to_owned()),
album_id: None,
album_name: None,
track_nr: None,