好用的在线视频下载利器 you-get

昨天在 Gtalk 群听百合“姐”说了个可以直接下载优酷等视频网站视频的软件 you-get , 于是今天就体验了一把!
项目主页在这里: github.com/soimort/you-get

使用方法 :
下载视频:

you-get [

查看视频信息:

you-get -i [ [ [ 打包好的 rpm](http://software.opensuse.org/package/you-get?search_term=you-get) 

补充:该软件依赖于 python3-setuptools 或 python3-pip,随便那个都可以。

PS:因为我没有也不打算安装 flash-player ,用此方法配合 HTML5 已经可以支持多数的视频网站。你还不打算放弃陈旧的 flash 吗?。 :smirk:]()]()]()]()

我现在不看视频了。

看起来不错,试试!

看起来很厉害啊。赞

@gmg137
安装你打包好的之后,运行you-get命令都会出现:
Traceback (most recent call last):
File “/usr/bin/you-get”, line 5, in
from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources’
请问如何解决?

引用我刚才遇到的问题
原来是缺少了python3-pip这个包,在yast软件管理搜索安装之后,问题解决。
谢谢楼主分享

终于知道为什么 make 失败了

是不是这个工具现在已经没用了?每次都是 connection refused

Icy@linux-rsud:~> you-get http://v.youku.com/v_show/id_XNzE5MDAxMjg4.html
Video Site: Youku.com
Title:      暴走大事件 12
Type:       Flash video (video/x-flv)
Size:       418.09 MiB (438397421 Bytes)

Downloading 暴走大事件 12.flv ...
Traceback (most recent call last):
  File "/usr/lib/python3.3/site-packages/you_get/extractor/youku.py", line 215, in youku_download
    youku_download_playlist(url, output_dir=output_dir, merge=merge, info_only=info_only)
  File "/usr/lib/python3.3/site-packages/you_get/extractor/youku.py", line 196, in youku_download_playlist
    assert ids != ]
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.3/urllib/request.py", line 1248, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/usr/lib64/python3.3/http/client.py", line 1065, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python3.3/http/client.py", line 1103, in _send_request
    self.endheaders(body)
  File "/usr/lib64/python3.3/http/client.py", line 1061, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python3.3/http/client.py", line 906, in _send_output
    self.send(msg)
  File "/usr/lib64/python3.3/http/client.py", line 844, in send
    self.connect()
  File "/usr/lib64/python3.3/http/client.py", line 822, in connect
    self.timeout, self.source_address)
  File "/usr/lib64/python3.3/socket.py", line 435, in create_connection
    raise err
  File "/usr/lib64/python3.3/socket.py", line 426, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/you-get", line 9, in <module>
    load_entry_point('you-get==0.3.28.2', 'console_scripts', 'you-get')()
  File "/usr/lib/python3.3/site-packages/you_get/extractor/__main__.py", line 92, in main
    script_main('you-get', any_download, any_download_playlist)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 899, in script_main
    download_main(download, download_playlist, args, playlist, output_dir, merge, info_only)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 784, in download_main
    download(url, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get/extractor/__main__.py", line 85, in any_download
    m.download(url, output_dir=output_dir, merge=merge, info_only=info_only)
  File "/usr/lib/python3.3/site-packages/you_get/extractor/youku.py", line 218, in youku_download
    youku_download_by_id(id, title=title, output_dir=output_dir, merge=merge, info_only=info_only)
  File "/usr/lib/python3.3/site-packages/you_get/extractor/youku.py", line 145, in youku_download_by_id
    download_urls(urls, title, ext, total_size, output_dir, merge = merge)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 553, in download_urls
    url_save(url, filepath, bar, refer = refer, is_part = True, faker = faker)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 298, in url_save
    file_size = url_size(url, faker = faker)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 235, in url_size
    response = request.urlopen(url)
  File "/usr/lib64/python3.3/urllib/request.py", line 156, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python3.3/urllib/request.py", line 469, in open
    response = self._open(req, data)
  File "/usr/lib64/python3.3/urllib/request.py", line 487, in _open
    '_open', req)
  File "/usr/lib64/python3.3/urllib/request.py", line 447, in _call_chain
    result = func(*args)
  File "/usr/lib64/python3.3/urllib/request.py", line 1274, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib64/python3.3/urllib/request.py", line 1251, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>

更新一下就行了,但貌似 OBS 又挂了。你可以等我回头更新上去。或者直接到 github.com/soimort/you-get 下载使用。

我在 OBS 里新安装的啊,你现在还能用这个嘛?

谢谢,从 github 直接下了,太棒了!可以下 youku 里的一部英剧(最喜欢的)“德伯家的苔丝”,其他网站没试过。

火狐浏览器下载视频插件很多啊 我用 flashgot 哈

flash 确实挺坑,用这个直接看,有广告没,效果咋样