mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-09 06:05:36 +08:00
Delete test_fork.py
This commit is contained in:
parent
72fb36cd5d
commit
7651816d34
24
test_fork.py
24
test_fork.py
@ -1,24 +0,0 @@
|
|||||||
"""
|
|
||||||
test_fork.py is not added to git (only for local testing)
|
|
||||||
"""
|
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
import youtube_dl
|
|
||||||
|
|
||||||
ydl_opts = {
|
|
||||||
'skip_download': True,
|
|
||||||
}
|
|
||||||
|
|
||||||
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
|
|
||||||
ydl.download(['http://www.pornhub.com/view_video.php?viewkey=1331683002'])
|
|
||||||
|
|
||||||
exit()
|
|
||||||
|
|
||||||
ydl_opts = {
|
|
||||||
'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]',
|
|
||||||
'username': "tdsist",
|
|
||||||
'password': "ZtOUktu0QP",
|
|
||||||
}
|
|
||||||
|
|
||||||
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
|
|
||||||
ydl.download(['https://fr.pornhubpremium.com/view_video.php?viewkey=ph5bdbb2cd6df6a'])
|
|
Loading…
Reference in New Issue
Block a user