mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 06:07:17 +08:00
Update udemy.py
changed location of new test
This commit is contained in:
parent
c1c50d8f09
commit
e81883151f
@ -42,16 +42,6 @@ class UdemyIE(InfoExtractor):
|
|||||||
_NETRC_MACHINE = 'udemy'
|
_NETRC_MACHINE = 'udemy'
|
||||||
|
|
||||||
_TESTS = [{
|
_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',
|
'url': 'https://www.udemy.com/java-tutorial/#/lecture/172757',
|
||||||
'md5': '98eda5b657e752cf945d8445e261b5c5',
|
'md5': '98eda5b657e752cf945d8445e261b5c5',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -62,6 +52,16 @@ class UdemyIE(InfoExtractor):
|
|||||||
'duration': 579.29,
|
'duration': 579.29,
|
||||||
},
|
},
|
||||||
'skip': 'Requires udemy account credentials',
|
'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
|
# new URL schema
|
||||||
'url': 'https://www.udemy.com/electric-bass-right-from-the-start/learn/v4/t/lecture/4580906',
|
'url': 'https://www.udemy.com/electric-bass-right-from-the-start/learn/v4/t/lecture/4580906',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user