Videos: parse data during first fetching

There will be less data to be stores in the DB cache
This commit is contained in:
Samantaz Fox
2022-07-24 23:30:58 +02:00
parent cd03fa06ae
commit 6aaea7fafa
2 changed files with 182 additions and 120 deletions

View File

@ -22,7 +22,6 @@ Spectator.describe Invidious::Hashtag do
expect(info["likes"].as_i).to eq(2_283)
expect(info["genre"].as_s).to eq("Gaming")
expect(info["genreUrl"].raw).to be_nil
expect(info["genreUcid"].as_s).to be_empty
expect(info["license"].as_s).to be_empty
@ -81,7 +80,6 @@ Spectator.describe Invidious::Hashtag do
expect(info["likes"].as_i).to eq(22)
expect(info["genre"].as_s).to eq("Entertainment")
expect(info["genreUrl"].raw).to be_nil
expect(info["genreUcid"].as_s).to be_empty
expect(info["license"].as_s).to be_empty