Skip to content

Commit 1fb034d

Browse files
committed
[youtube] Remove RIAA copyrighted media from tests as per [1]
1. Github dmca and 1201 notice re youtube-dl 9-21-20
1 parent 28f9568 commit 1fb034d

File tree

1 file changed

+1
-144
lines changed

1 file changed

+1
-144
lines changed

youtube_dl/extractor/youtube.py

Lines changed: 1 addition & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -509,48 +509,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
509509
'end_time': 9,
510510
}
511511
},
512-
{
513-
'url': 'https://www.youtube.com/watch?v=UxxajLWwzqY',
514-
'note': 'Test generic use_cipher_signature video (#897)',
515-
'info_dict': {
516-
'id': 'UxxajLWwzqY',
517-
'ext': 'mp4',
518-
'upload_date': '20120506',
519-
'title': 'Icona Pop - I Love It (feat. Charli XCX) [OFFICIAL VIDEO]',
520-
'alt_title': 'I Love It (feat. Charli XCX)',
521-
'description': 'md5:19a2f98d9032b9311e686ed039564f63',
522-
'tags': ['Icona Pop i love it', 'sweden', 'pop music', 'big beat records', 'big beat', 'charli',
523-
'xcx', 'charli xcx', 'girls', 'hbo', 'i love it', "i don't care", 'icona', 'pop',
524-
'iconic ep', 'iconic', 'love', 'it'],
525-
'duration': 180,
526-
'uploader': 'Icona Pop',
527-
'uploader_id': 'IconaPop',
528-
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/IconaPop',
529-
'creator': 'Icona Pop',
530-
'track': 'I Love It (feat. Charli XCX)',
531-
'artist': 'Icona Pop',
532-
}
533-
},
534-
{
535-
'url': 'https://www.youtube.com/watch?v=07FYdnEawAQ',
536-
'note': 'Test VEVO video with age protection (#956)',
537-
'info_dict': {
538-
'id': '07FYdnEawAQ',
539-
'ext': 'mp4',
540-
'upload_date': '20130703',
541-
'title': 'Justin Timberlake - Tunnel Vision (Official Music Video) (Explicit)',
542-
'alt_title': 'Tunnel Vision',
543-
'description': 'md5:07dab3356cde4199048e4c7cd93471e1',
544-
'duration': 419,
545-
'uploader': 'justintimberlakeVEVO',
546-
'uploader_id': 'justintimberlakeVEVO',
547-
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/justintimberlakeVEVO',
548-
'creator': 'Justin Timberlake',
549-
'track': 'Tunnel Vision',
550-
'artist': 'Justin Timberlake',
551-
'age_limit': 18,
552-
}
553-
},
554512
{
555513
'url': '//www.YouTube.com/watch?v=yZIXLfi8CZQ',
556514
'note': 'Embed-only video (#1746)',
@@ -567,7 +525,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
567525
}
568526
},
569527
{
570-
'url': 'https://www.youtube.com/watch?v=BaW_jenozKc&v=UxxajLWwzqY',
528+
'url': 'https://www.youtube.com/watch?v=BaW_jenozKc&v=yZIXLfi8CZQ',
571529
'note': 'Use the first video ID in the URL',
572530
'info_dict': {
573531
'id': 'BaW_jenozKc',
@@ -626,24 +584,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
626584
'format': '141/bestaudio[ext=m4a]',
627585
},
628586
},
629-
# JS player signature function name containing $
630-
{
631-
'url': 'https://www.youtube.com/watch?v=nfWlot6h_JM',
632-
'info_dict': {
633-
'id': 'nfWlot6h_JM',
634-
'ext': 'm4a',
635-
'title': 'Taylor Swift - Shake It Off',
636-
'description': 'md5:307195cd21ff7fa352270fe884570ef0',
637-
'duration': 242,
638-
'uploader': 'TaylorSwiftVEVO',
639-
'uploader_id': 'TaylorSwiftVEVO',
640-
'upload_date': '20140818',
641-
},
642-
'params': {
643-
'youtube_include_dash_manifest': True,
644-
'format': '141/bestaudio[ext=m4a]',
645-
},
646-
},
647587
# Controversy video
648588
{
649589
'url': 'https://www.youtube.com/watch?v=T4XJQO3qol8',
@@ -675,22 +615,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
675615
'age_limit': 18,
676616
},
677617
},
678-
# Age-gate video with encrypted signature
679-
{
680-
'url': 'https://www.youtube.com/watch?v=6kLq3WMV1nU',
681-
'info_dict': {
682-
'id': '6kLq3WMV1nU',
683-
'ext': 'mp4',
684-
'title': 'Dedication To My Ex (Miss That) (Lyric Video)',
685-
'description': 'md5:33765bb339e1b47e7e72b5490139bb41',
686-
'duration': 246,
687-
'uploader': 'LloydVEVO',
688-
'uploader_id': 'LloydVEVO',
689-
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/LloydVEVO',
690-
'upload_date': '20110629',
691-
'age_limit': 18,
692-
},
693-
},
694618
# video_info is None (https://github.com/ytdl-org/youtube-dl/issues/4421)
695619
# YouTube Red ad is not captured for creator
696620
{
@@ -1105,73 +1029,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
11051029
'skip_download': True,
11061030
},
11071031
},
1108-
{
1109-
# Youtube Music Auto-generated description
1110-
# Retrieve 'artist' field from 'Artist:' in video description
1111-
# when it is present on youtube music video
1112-
'url': 'https://www.youtube.com/watch?v=k0jLE7tTwjY',
1113-
'info_dict': {
1114-
'id': 'k0jLE7tTwjY',
1115-
'ext': 'mp4',
1116-
'title': 'Latch Feat. Sam Smith',
1117-
'description': 'md5:3cb1e8101a7c85fcba9b4fb41b951335',
1118-
'upload_date': '20150110',
1119-
'uploader': 'Various Artists - Topic',
1120-
'uploader_id': 'UCNkEcmYdjrH4RqtNgh7BZ9w',
1121-
'artist': 'Disclosure',
1122-
'track': 'Latch Feat. Sam Smith',
1123-
'album': 'Latch Featuring Sam Smith',
1124-
'release_date': '20121008',
1125-
'release_year': 2012,
1126-
},
1127-
'params': {
1128-
'skip_download': True,
1129-
},
1130-
},
1131-
{
1132-
# Youtube Music Auto-generated description
1133-
# handle multiple artists on youtube music video
1134-
'url': 'https://www.youtube.com/watch?v=74qn0eJSjpA',
1135-
'info_dict': {
1136-
'id': '74qn0eJSjpA',
1137-
'ext': 'mp4',
1138-
'title': 'Eastside',
1139-
'description': 'md5:290516bb73dcbfab0dcc4efe6c3de5f2',
1140-
'upload_date': '20180710',
1141-
'uploader': 'Benny Blanco - Topic',
1142-
'uploader_id': 'UCzqz_ksRu_WkIzmivMdIS7A',
1143-
'artist': 'benny blanco, Halsey, Khalid',
1144-
'track': 'Eastside',
1145-
'album': 'Eastside',
1146-
'release_date': '20180713',
1147-
'release_year': 2018,
1148-
},
1149-
'params': {
1150-
'skip_download': True,
1151-
},
1152-
},
1153-
{
1154-
# Youtube Music Auto-generated description
1155-
# handle youtube music video with release_year and no release_date
1156-
'url': 'https://www.youtube.com/watch?v=-hcAI0g-f5M',
1157-
'info_dict': {
1158-
'id': '-hcAI0g-f5M',
1159-
'ext': 'mp4',
1160-
'title': 'Put It On Me',
1161-
'description': 'md5:f6422397c07c4c907c6638e1fee380a5',
1162-
'upload_date': '20180426',
1163-
'uploader': 'Matt Maeson - Topic',
1164-
'uploader_id': 'UCnEkIGqtGcQMLk73Kp-Q5LQ',
1165-
'artist': 'Matt Maeson',
1166-
'track': 'Put It On Me',
1167-
'album': 'The Hearse',
1168-
'release_date': None,
1169-
'release_year': 2018,
1170-
},
1171-
'params': {
1172-
'skip_download': True,
1173-
},
1174-
},
11751032
{
11761033
'url': 'https://www.youtubekids.com/watch?v=3b8nCWDgZ6Q',
11771034
'only_matching': True,

0 commit comments

Comments
 (0)