您尚未登录。

#1 2012-12-04 22:45:05

directorCat
会员
注册时间: 2012-11-29
帖子: 24

如何下载u2b上的高清视频,在线看太卡了

aur上有没有东西可以做到?

离线

#2 2012-12-04 23:00:57

cuihao
所在地: USTC, Hefei
注册时间: 2011-08-19
帖子: 1,223
个人网站

Re: 如何下载u2b上的高清视频,在线看太卡了

firefox, downloadhelper插件。


Site: CVHC.CC   Twitter: @cuihaoleo   Org: LUG@USTC
AD:  ~欢迎参与志愿计算~

离线

#3 2012-12-04 23:15:38

directorCat
会员
注册时间: 2012-11-29
帖子: 24

Re: 如何下载u2b上的高清视频,在线看太卡了

cuihao 说:

firefox, downloadhelper插件。

我用videohunter有时候下载不了,或者下载一点点就结束了

离线

#4 2012-12-04 23:53:14

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: 如何下载u2b上的高清视频,在线看太卡了

试试以下脚本:

community/youtube-dl
archlinuxcn/python-you-get-git

我更喜欢后者,支持续传。

离线

#5 2012-12-05 12:50:20

reverland
root
注册时间: 2012-02-04
帖子: 356
个人网站

Re: 如何下载u2b上的高清视频,在线看太卡了

userscript脚本 youtube video download 支持各种格式清晰度


>>>>>>>>>jekyll博客>>>>>>>>>>
<<<<<<<<<更残念的vimwiki<<<<<<<<<
本人vim控,偏偏喜欢lisp

离线

#6 2012-12-05 14:35:36

mapleray
awesome小白一个
注册时间: 2012-12-02
帖子: 174
个人网站

Re: 如何下载u2b上的高清视频,在线看太卡了

firefox插件

离线

#7 2012-12-05 16:08:07

directorCat
会员
注册时间: 2012-11-29
帖子: 24

Re: 如何下载u2b上的高清视频,在线看太卡了

百合仙子 说:

试试以下脚本:

community/youtube-dl
archlinuxcn/python-you-get-git

我更喜欢后者,支持续传。

我用了后者出现

Traceback (most recent call last):
  File "/usr/bin/you-get", line 9, in <module>
    load_entry_point('you-get==0.2.16', 'console_scripts', 'you-get')()
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 58, in main
    script_main('you-get', any_download, any_download_playlist)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 647, 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 567, in download_main
    download(url, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 51, 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/downloader/youtube.py", line 30, in youtube_download
    youtube_download_by_id(id, None, output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get/downloader/youtube.py", line 8, in youtube_download_by_id
    html = request.urlopen('http://www.youtube.com/watch?v=' + id).read().decode('utf-8')
  File "/usr/lib/python3.3/urllib/request.py", line 160, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.3/urllib/request.py", line 473, in open
    response = self._open(req, data)
  File "/usr/lib/python3.3/urllib/request.py", line 491, in _open
    '_open', req)
  File "/usr/lib/python3.3/urllib/request.py", line 451, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.3/urllib/request.py", line 1272, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.3/urllib/request.py", line 1257, in do_open
    r = h.getresponse()
  File "/usr/lib/python3.3/http/client.py", line 1131, in getresponse
    response.begin()
  File "/usr/lib/python3.3/http/client.py", line 354, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.3/http/client.py", line 316, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.3/socket.py", line 297, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer

离线

#8 2012-12-05 16:32:12

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: 如何下载u2b上的高清视频,在线看太卡了

directorCat 说:
百合仙子 说:

试试以下脚本:

community/youtube-dl
archlinuxcn/python-you-get-git

我更喜欢后者,支持续传。

我用了后者出现

Traceback (most recent call last):
 ...
ConnectionResetError: [Errno 104] Connection reset by peer

请正确设置环境变量 http_proxy 到你的代理服务器。

离线

#9 2012-12-05 16:37:35

directorCat
会员
注册时间: 2012-11-29
帖子: 24

Re: 如何下载u2b上的高清视频,在线看太卡了

百合仙子 说:
directorCat 说:
百合仙子 说:

试试以下脚本:

community/youtube-dl
archlinuxcn/python-you-get-git

我更喜欢后者,支持续传。

我用了后者出现

Traceback (most recent call last):
 ...
ConnectionResetError: [Errno 104] Connection reset by peer

请正确设置环境变量 http_proxy 到你的代理服务器。

挂了gae后就这样了

  File "/usr/bin/you-get", line 9, in <module>
    load_entry_point('you-get==0.2.16', 'console_scripts', 'you-get')()
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 58, in main
    script_main('you-get', any_download, any_download_playlist)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 647, 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 567, in download_main
    download(url, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 51, 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/downloader/youtube.py", line 27, in youtube_download
    id = parse.parse_qs(parse.urlparse(url).query)['v'][0]
KeyError: 'v'

离线

#10 2012-12-05 16:44:27

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: 如何下载u2b上的高清视频,在线看太卡了

directorCat 说:

挂了gae后就这样了

  File "/usr/bin/you-get", line 9, in <module>
    load_entry_point('you-get==0.2.16', 'console_scripts', 'you-get')()
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 58, in main
    script_main('you-get', any_download, any_download_playlist)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 647, 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 567, in download_main
    download(url, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 51, 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/downloader/youtube.py", line 27, in youtube_download
    id = parse.parse_qs(parse.urlparse(url).query)['v'][0]
KeyError: 'v'

命令要这么用:

http_proxy=http://localhost:8086 you-get 'https://www.youtube.com/watch?v=OpaiGYxkSuQ'

只能用带 v 参数的 YouTube 链接。

离线

#11 2012-12-05 22:46:54

directorCat
会员
注册时间: 2012-11-29
帖子: 24

Re: 如何下载u2b上的高清视频,在线看太卡了

百合仙子 说:
directorCat 说:

挂了gae后就这样了

  File "/usr/bin/you-get", line 9, in <module>
    load_entry_point('you-get==0.2.16', 'console_scripts', 'you-get')()
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 58, in main
    script_main('you-get', any_download, any_download_playlist)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 647, 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 567, in download_main
    download(url, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 51, 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/downloader/youtube.py", line 27, in youtube_download
    id = parse.parse_qs(parse.urlparse(url).query)['v'][0]
KeyError: 'v'

命令要这么用:

http_proxy=http://localhost:8086 you-get 'https://www.youtube.com/watch?v=OpaiGYxkSuQ'

只能用带 v 参数的 YouTube 链接。

可以用了.谢谢,百合大姐

离线

#12 2012-12-07 22:41:51

ReiFFEXzyx
古悠行者
注册时间: 2011-08-20
帖子: 187

Re: 如何下载u2b上的高清视频,在线看太卡了

Download YouTube Videos as MP4
https://userscripts.org/scripts/show/25105

有各种清晰度可供选择
是直接从Google获取视频地址
可以配合aria2以便支持代理和断点续传

最近编辑记录 ReiFFEXzyx (2012-12-07 22:44:04)


[fracting的大作]Wine使用中的一些常见误区
http://forum.ubuntu.org.cn/viewtopic.php?f=121&t=363147
顺便学习一下对待开源软件的正确态度

离线

#13 2012-12-07 23:31:24

directorCat
会员
注册时间: 2012-11-29
帖子: 24

Re: 如何下载u2b上的高清视频,在线看太卡了

ReiFFEXzyx 说:

Download YouTube Videos as MP4
https://userscripts.org/scripts/show/25105

有各种清晰度可供选择
是直接从Google获取视频地址
可以配合aria2以便支持代理和断点续传

发现这个配合ssh效果更好

离线

#14 2015-12-08 17:43:16

Archnew
会员
注册时间: 2015-09-20
帖子: 147

Re: 如何下载u2b上的高清视频,在线看太卡了

依云 说:
directorCat 说:

挂了gae后就这样了

  File "/usr/bin/you-get", line 9, in <module>
    load_entry_point('you-get==0.2.16', 'console_scripts', 'you-get')()
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 58, in main
    script_main('you-get', any_download, any_download_playlist)
  File "/usr/lib/python3.3/site-packages/you_get/common.py", line 647, 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 567, in download_main
    download(url, output_dir = output_dir, merge = merge, info_only = info_only)
  File "/usr/lib/python3.3/site-packages/you_get/main.py", line 51, 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/downloader/youtube.py", line 27, in youtube_download
    id = parse.parse_qs(parse.urlparse(url).query)['v'][0]
KeyError: 'v'

命令要这么用:

http_proxy=http://localhost:8086 you-get 'https://www.youtube.com/watch?v=OpaiGYxkSuQ'

只能用带 v 参数的 YouTube 链接。

我的SS是手动启动的,使用youtube-dl 地址,报错

[xiaoming@Arch ~]$ youtube-dl "https://www.youtube.com/watch?v=MFxlwVhwayg"
[youtube] MFxlwVhwayg: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 110] Connection timed out> (caused by URLError(TimeoutError(110, 'Connection timed out'),))

最近编辑记录 Archnew (2015-12-09 09:41:48)


懒是一切的原罪

离线

#15 2015-12-08 18:02:30

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: 如何下载u2b上的高清视频,在线看太卡了

你的代理设置错啦。YouTube 是 HTTPS 的,所以要用 https_proxy 环境变量。

离线

页脚