Skip to content

Commit

Permalink
chore: update YouTube metadata record content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
CorentinB committed Sep 28, 2024
1 parent a3820f6 commit d899c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/crawl/capture.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func (c *Crawl) Capture(item *queue.Item) error {

// Write the metadata record for the video
if rawJSON != "" {
c.Client.WriteRecord(utils.URLToString(item.URL), "metadata", "application/json;generator=youtube-dlp", rawJSON)
c.Client.WriteRecord(utils.URLToString(item.URL), "metadata", "application/json; metadata-type=ia-video; generator=yt-dlp", rawJSON)
}

if len(metaURLs) > 0 {
Expand Down

0 comments on commit d899c0f

Please sign in to comment.