mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 20:53:06 +00:00
[skip travis] tweaks
This commit is contained in:
parent
cefecac12c
commit
3fba008111
@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
import youtube_dl
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
youtube_dl.main()
|
|
@ -11,7 +11,7 @@ def main():
|
|||||||
options, args = parser.parse_args()
|
options, args = parser.parse_args()
|
||||||
if len(args) != 2:
|
if len(args) != 2:
|
||||||
parser.error('Expected an input and an output filename')
|
parser.error('Expected an input and an output filename')
|
||||||
|
'''
|
||||||
infile, outfile = args
|
infile, outfile = args
|
||||||
|
|
||||||
with io.open(infile, encoding='utf-8') as inf:
|
with io.open(infile, encoding='utf-8') as inf:
|
||||||
@ -27,7 +27,7 @@ def main():
|
|||||||
|
|
||||||
with io.open(outfile, 'w', encoding='utf-8') as outf:
|
with io.open(outfile, 'w', encoding='utf-8') as outf:
|
||||||
outf.write(out)
|
outf.write(out)
|
||||||
|
'''
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
@ -224,6 +224,7 @@
|
|||||||
- **Disney**
|
- **Disney**
|
||||||
- **dlive:stream**
|
- **dlive:stream**
|
||||||
- **dlive:vod**
|
- **dlive:vod**
|
||||||
|
- **DoodStream**
|
||||||
- **Dotsub**
|
- **Dotsub**
|
||||||
- **DouyuShow**
|
- **DouyuShow**
|
||||||
- **DouyuTV**: 斗鱼
|
- **DouyuTV**: 斗鱼
|
||||||
@ -352,6 +353,7 @@
|
|||||||
- **hotstar:playlist**
|
- **hotstar:playlist**
|
||||||
- **Howcast**
|
- **Howcast**
|
||||||
- **HowStuffWorks**
|
- **HowStuffWorks**
|
||||||
|
- **hrfernsehen**
|
||||||
- **HRTi**
|
- **HRTi**
|
||||||
- **HRTiPlaylist**
|
- **HRTiPlaylist**
|
||||||
- **Huajiao**: 花椒直播
|
- **Huajiao**: 花椒直播
|
||||||
@ -835,6 +837,9 @@
|
|||||||
- **stanfordoc**: Stanford Open ClassRoom
|
- **stanfordoc**: Stanford Open ClassRoom
|
||||||
- **Steam**
|
- **Steam**
|
||||||
- **Stitcher**
|
- **Stitcher**
|
||||||
|
- **StoryFire**
|
||||||
|
- **StoryFireSeries**
|
||||||
|
- **StoryFireUser**
|
||||||
- **Streamable**
|
- **Streamable**
|
||||||
- **streamcloud.eu**
|
- **streamcloud.eu**
|
||||||
- **StreamCZ**
|
- **StreamCZ**
|
||||||
|
10
setup.py
10
setup.py
@ -67,11 +67,11 @@ setup(
|
|||||||
long_description=LONG_DESCRIPTION,
|
long_description=LONG_DESCRIPTION,
|
||||||
# long_description_content_type="text/markdown",
|
# long_description_content_type="text/markdown",
|
||||||
url="https://github.com/blackjack4494/youtube-dlc",
|
url="https://github.com/blackjack4494/youtube-dlc",
|
||||||
# packages=setuptools.find_packages(),
|
packages=setuptools.find_packages(),
|
||||||
packages=[
|
#packages=[
|
||||||
'youtube_dlc',
|
# 'youtube_dlc',
|
||||||
'youtube_dlc.extractor', 'youtube_dlc.downloader',
|
# 'youtube_dlc.extractor', 'youtube_dlc.downloader',
|
||||||
'youtube_dlc.postprocessor'],
|
# 'youtube_dlc.postprocessor'],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Topic :: Multimedia :: Video",
|
"Topic :: Multimedia :: Video",
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
# This allows the youtube-dlc command to be installed in ZSH using antigen.
|
|
||||||
# Antigen is a bundle manager. It allows you to enhance the functionality of
|
|
||||||
# your zsh session by installing bundles and themes easily.
|
|
||||||
|
|
||||||
# Antigen documentation:
|
|
||||||
# http://antigen.sharats.me/
|
|
||||||
# https://github.com/zsh-users/antigen
|
|
||||||
|
|
||||||
# Install youtube-dlc:
|
|
||||||
# antigen bundle ytdl-org/youtube-dl
|
|
||||||
# Bundles installed by antigen are available for use immediately.
|
|
||||||
|
|
||||||
# Update youtube-dlc (and all other antigen bundles):
|
|
||||||
# antigen update
|
|
||||||
|
|
||||||
# The antigen command will download the git repository to a folder and then
|
|
||||||
# execute an enabling script (this file). The complete process for loading the
|
|
||||||
# code is documented here:
|
|
||||||
# https://github.com/zsh-users/antigen#notes-on-writing-plugins
|
|
||||||
|
|
||||||
# This specific script just aliases youtube-dlc to the python script that this
|
|
||||||
# library provides. This requires updating the PYTHONPATH to ensure that the
|
|
||||||
# full set of code can be located.
|
|
||||||
alias youtube-dlc="PYTHONPATH=$(dirname $0) $(dirname $0)/bin/youtube-dlc"
|
|
Loading…
Reference in New Issue
Block a user