1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-07 02:59:57 +08:00

Update udemy.py

changed location of new test
This commit is contained in:
P4NZ3RAG 2020-04-02 20:30:02 +02:00
parent c1c50d8f09
commit e81883151f

View File

@ -42,16 +42,6 @@ class UdemyIE(InfoExtractor):
_NETRC_MACHINE = 'udemy'
_TESTS = [{
'url': 'https://www.udemy.com/course/create-a-members-only-blog-using-php-mysql-ajax/learn/lecture/15352006',
'note': 'test for updated URL',
'info_dict': {
'id': '18827058',
'ext': 'mp4',
'title': 'Introduction & Overview',
'duration': 407.37,
},
'skip': 'Requires udemy account credentials',
},{
'url': 'https://www.udemy.com/java-tutorial/#/lecture/172757',
'md5': '98eda5b657e752cf945d8445e261b5c5',
'info_dict': {
@ -62,6 +52,16 @@ class UdemyIE(InfoExtractor):
'duration': 579.29,
},
'skip': 'Requires udemy account credentials',
}, {
'url': 'https://www.udemy.com/course/create-a-members-only-blog-using-php-mysql-ajax/learn/lecture/15352006',
'note': 'test for updated URL',
'info_dict': {
'id': '18827058',
'ext': 'mp4',
'title': 'Introduction & Overview',
'duration': 407.37,
},
'skip': 'Requires udemy account credentials',
}, {
# new URL schema
'url': 'https://www.udemy.com/electric-bass-right-from-the-start/learn/v4/t/lecture/4580906',