diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-03 16:23:45 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-06 11:19:16 +0200 |
commit | 590fb5069038e69898123bb795f789683216d837 (patch) | |
tree | ddb3d1830b7d64ebae214dd65a94dd3d16324819 /server/helpers/youtube-dl.ts | |
parent | 5d08a6a74e83f2e4dfe2f3ba7f5a39371e1bc89e (diff) | |
download | PeerTube-590fb5069038e69898123bb795f789683216d837.tar.gz PeerTube-590fb5069038e69898123bb795f789683216d837.tar.zst PeerTube-590fb5069038e69898123bb795f789683216d837.zip |
Add tests regarding video import
Diffstat (limited to 'server/helpers/youtube-dl.ts')
-rw-r--r-- | server/helpers/youtube-dl.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/youtube-dl.ts b/server/helpers/youtube-dl.ts index ff1fbf59f..c59ab9de0 100644 --- a/server/helpers/youtube-dl.ts +++ b/server/helpers/youtube-dl.ts | |||
@@ -120,7 +120,7 @@ function getTags (tags: any) { | |||
120 | function getLicence (licence: string) { | 120 | function getLicence (licence: string) { |
121 | if (!licence) return undefined | 121 | if (!licence) return undefined |
122 | 122 | ||
123 | if (licence.indexOf('Creative Commons Attribution licence') !== -1) return 1 | 123 | if (licence.indexOf('Creative Commons Attribution') !== -1) return 1 |
124 | 124 | ||
125 | return undefined | 125 | return undefined |
126 | } | 126 | } |