Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Commit

Permalink
Add testcase for #109
Browse files Browse the repository at this point in the history
  • Loading branch information
corny committed Jul 22, 2020
1 parent 5a3f99a commit cdc531e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions video_info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@ func TestVideoInfo(t *testing.T) {
published: newDate(2010, 9, 9),
description: "SUBSCRIBE: http://www.youtube.com/saturninefilms \r\n\r\nEven Obama has taken a stand against freedom on this issue: http://www.huffingtonpost.com/2010/09...",
},
// Age restricted video
// https://github.com/rylio/ytdl/pull/109
{
videoID: "z0NfI2NeDHI",
title: `Rammstein - Radio (Official Video)`,
uploader: "Rammstein Official",
artist: "Rammstein",
song: "RADIO",
duration: time.Second * 290,
published: newDate(2019, 4, 26),
description: "New Album: https://rammstein.lnk.to/album\nNew Single: https://rammstein.lnk.to/Radio\n\nDirector: Jörn Heitmann\nProduction Company: Katapult\n\n#Rammstein #RammsteinRadio #Radio",
},
{
videoID: "qHGTs1NSB1s",
title: "Why Linus Torvalds doesn't use Ubuntu or Debian",
Expand Down

0 comments on commit cdc531e

Please sign in to comment.