Commit Graph

1249 Commits

Author SHA1 Message Date
MaxwellGoblin
71a1825be5 [acfun]fix youku cloud source 2017-05-24 02:16:32 +08:00
Mort Yao
d0a7655727
version 0.4.750 2017-05-21 14:11:10 +02:00
Mort Yao
24099c7efe
Merge branch 'le_sports' of https://github.com/rosynirvana/you-get into rosynirvana-le_sports
- Close #1000
- Close #1200
- Close #1469
2017-05-20 21:57:07 +02:00
MaxwellGoblin
f1823eb16a [sina]try to find vid from url 2017-05-18 03:50:07 +08:00
MaxwellGoblin
fb04f289c2 [le]support sports.le 2017-05-18 03:15:55 +08:00
David Zhuang
c7a262cf65 [UCAS] use http.client instead of requests 2017-05-13 17:39:07 -04:00
David Zhuang
d0431d8bd6 [UCAS] add support 2017-05-13 17:15:29 -04:00
David Zhuang
08fdd22466 [common] add .ac.cn support 2017-05-13 17:15:18 -04:00
Mort Yao
d3d9e0f5c0
[imgur] use hash when title not present 2017-05-13 15:00:31 +02:00
Mort Yao
303922f9d4
Merge branch 'fix_weibo' of https://github.com/rosynirvana/you-get into rosynirvana-fix_weibo 2017-05-12 12:35:47 +02:00
Mort Yao
0f4f184643
Merge branch 'fixed-some-album-name-endwith-spaces-cause-FileNotFoundError-problum' of https://github.com/bigfuji/you-get into bigfuji-fixed-some-album-name-endwith-spaces-cause-FileNotFoundError-problum 2017-05-12 12:26:18 +02:00
Mort Yao
13daffdd66
Merge branch 'ku6/fix-extension-error' of https://github.com/XiaochenCui/you-get into XiaochenCui-ku6/fix-extension-error 2017-05-12 12:21:01 +02:00
MaxwellGoblin
3bd8910ffb [ximalaya] use fake_headers to fetch json 2017-05-09 10:29:05 +08:00
XiaochenCui
65712f8619 [ku6]fix error when parse url's extension 2017-05-07 07:20:00 +08:00
Mort Yao
7d6f68a159
Merge branch 'url_info' of https://github.com/rosynirvana/you-get into rosynirvana-url_info (close #1942) 2017-05-06 20:47:19 +02:00
MaxwellGoblin
8f828a90ed [common] url_info should not ignore refer when called in url_save 2017-05-07 00:47:06 +08:00
Mort Yao
9d395172d9
Merge branch 'qq_redirect' of https://github.com/rosynirvana/you-get into rosynirvana-qq_redirect (fix #1908) 2017-05-06 18:11:47 +02:00
Mort Yao
f64b3494c7
[common] url_save: always specify Range 2017-05-06 15:31:29 +02:00
Mort Yao
5777d49f62
[bilibili] add referer 2017-05-06 15:11:50 +02:00
kaka
27b80072c3 strip name of album fixed when download some album which name endwith spaces raise FileNotFoundError problem. 2017-05-06 20:11:21 +08:00
MaxwellGoblin
5cf63526c6 [le.py] update api 2017-05-04 11:34:18 +08:00
MaxwellGoblin
398845fd69 [qq]fix v.qq.com/page redirect 2017-04-26 11:15:04 +08:00
MaxwellGoblin
2425edc5e7 refactoring 2017-04-24 20:37:45 +08:00
MaxwellGoblin
63e6c4da41 fix iqiyi tiltes when accessed with curid= 2017-04-24 13:54:23 +08:00
Mort Yao
9db82b1131
Merge branch 'patch-4' of https://github.com/steven7851/you-get into steven7851-patch-4 2017-04-23 12:14:55 +02:00
MaxwellGoblin
fd661668a7 print stack trace only when debug flag is on 2017-04-21 01:01:13 +08:00
MaxwellGoblin
bdffcfacab tuning debugging message 2017-04-21 00:49:00 +08:00
MaxwellGoblin
ccb1bb9c77 new matching patterns 2017-04-20 17:24:30 +08:00
MaxwellGoblin
45a3beaffe fix tudou.py when there is no title 2017-04-20 16:47:24 +08:00
Mort Yao
c118ce7f22
Merge branch 'gnu_getopt' of https://github.com/rosynirvana/you-get into rosynirvana-gnu_getopt
- Close #1731
2017-04-16 21:12:31 +02:00
Mort Yao
f65fe485cd
version 0.4.715 2017-04-16 12:25:19 +02:00
Adam Cavendish
15a1a20fb9 Cleaner fix for the last commit 2017-04-16 00:12:54 +08:00
Adam Cavendish
b90884cbdf Fix youku's problem, issue #1856 2017-04-15 23:47:40 +08:00
Mort Yao
3a47f92af9
Merge branch 'youku-warn-paywall' of https://github.com/zmwangx/you-get into zmwangx-youku-warn-paywall 2017-04-09 16:28:48 +02:00
Mort Yao
4d5d520cea
Merge branch 'fix_ifeng' of https://github.com/rosynirvana/you-get into rosynirvana-fix_ifeng 2017-04-09 16:24:10 +02:00
MaxwellGoblin
0e87a5c06c common.py append ext name when -O flag existed 2017-04-07 11:09:28 +08:00
MaxwellGoblin
aaa96f4389 add ifeng new matching patterns 2017-04-05 21:12:39 +08:00
Mort Yao
5525694fe3
[bilibili] workaround for speed limiting issue, fix #1784 2017-04-01 22:16:21 +02:00
Mort Yao
f0682403c0
[common] allow specifying timeout for url_save() 2017-04-01 22:16:21 +02:00
Mort Yao
2d6c828ad4
util/log.py: change mode back to 644 2017-04-01 22:14:13 +02:00
Mort Yao
1e21480cfe
Merge branch 'xterm-color' of https://github.com/zmwangx/you-get into zmwangx-xterm-color 2017-04-01 22:10:00 +02:00
Mort Yao
44f261dc14
Merge branch 'fix_baidu.ku6' of https://github.com/rosynirvana/you-get into rosynirvana-fix_baidu.ku6 2017-04-01 22:04:07 +02:00
Mort Yao
b931203850
Merge branch 'support_kg.qq' of https://github.com/rosynirvana/you-get into rosynirvana-support_kg.qq 2017-04-01 22:01:54 +02:00
Mort Yao
7b6bc9a6b0
Merge branch 'develop' of https://github.com/up1m/you-get into up1m-develop (close #1789) 2017-04-01 21:59:44 +02:00
Mort Yao
b2dbfd1283
Merge branch 'Erk--Yizhibo-support' into develop 2017-04-01 21:56:22 +02:00
Mort Yao
cce2ffc7bb
Merge branch 'xiami' of https://github.com/lilydjwg/you-get into lilydjwg-xiami 2017-04-01 21:52:00 +02:00
Mort Yao
c06bf14fff
Merge branch 'vine' of https://github.com/rosynirvana/you-get into rosynirvana-vine 2017-04-01 21:48:34 +02:00
Mort Yao
8fceac3c9a
Merge branch 'fix-qq-video-error' of https://github.com/coslyk/you-get into coslyk-fix-qq-video-error 2017-04-01 21:46:39 +02:00
Mort Yao
da1c125486
Merge branch 'fix-json-output' of https://github.com/coslyk/you-get into coslyk-fix-json-output 2017-04-01 21:42:12 +02:00
Ein Verne
39bcdfc4a2 Fix cntv 2017-04-01 14:39:41 +08:00
MaxwellGoblin
24e59bae19 [vine]fix vine 2017-03-23 00:16:36 +08:00
YK Liu
85b0abf517 Fix qq video; #1778 2017-03-22 19:16:48 +08:00
YK Liu
2b7a5419cb Change "NameError" to "AttributeError" 2017-03-18 13:24:00 +08:00
up1m
027d13c97e make video.weibo.com downloadable 2017-03-17 02:03:55 +08:00
MaxwellGoblin
3adc839870 [mgtv] add url patterns 2017-03-12 15:56:06 +08:00
lilydjwg
5d1293d4a4 [xiami] title is wrong, use name instead
example url: http://www.xiami.com/song/xL4jJGd3829
2017-03-11 21:59:45 +08:00
lilydjwg
89f2331a0c [xiami] fix #1650 again
example url: http://www.xiami.com/song/xL4jJGd3829
2017-03-11 21:57:48 +08:00
MaxwellGoblin
3d2d748e72 [qq] add support for kg.qq.com 2017-03-11 15:35:14 +08:00
MaxwellGoblin
ee93e12675 [ku6] add baidu.ku6 matching pattern 2017-03-09 20:47:35 +08:00
Zhiming Wang
4255cc8b86
log: mark xterm* terminals as ANSI escape sequences-compatible
xterm-color, xterm-16color, xterm-88color and xterm-256color are now
covered.
2017-03-08 22:27:49 -05:00
Zhiming Wang
cedab9419d
youku: warn about segments skipped due to paywall
This is especially helpful in cases where the entire video is blocked by
paywall, resulting in an unhelpful error message "you-get: [Failed]
Cannot extract video source."
2017-03-08 20:47:03 -05:00
MaxwellGoblin
db6fa04754 remove test code 2017-03-06 11:41:17 +08:00
MaxwellGoblin
0a8f708c31 [common]add -I --input-file flag 2017-03-06 11:34:50 +08:00
MaxwellGoblin
86493087d4 [common.py] switch to gnu_getopt 2017-03-06 10:43:35 +08:00
Mort Yao
96398d8f6c
[common] revert #1644 (per #1728) 2017-03-05 23:58:00 +01:00
steven7851
bea95ed3d3 use new api
from https://gist.github.com/spacemeowx2/629b1d131bd7e240a7d28742048e80fc
https://github.com/soimort/you-get/issues/1720
2017-03-05 20:17:46 +08:00
Mort Yao
6c87cbde10
Merge branch 'print-audiolang-in-json-output' of https://github.com/coslyk/you-get into coslyk-print-audiolang-in-json-output 2017-03-05 11:11:10 +01:00
Mort Yao
8bddd170f3
[common] fix non-ascii url issues, close #1728 (per #1644) 2017-03-05 10:57:55 +01:00
Mort Yao
79fce81963
Merge branch 'fix_print_info' of https://github.com/rosynirvana/you-get into rosynirvana-fix_print_info 2017-03-05 10:48:46 +01:00
MaxwellGoblin
63eca70f86 [ximalaya]support downloading (is_paid and is_free) tracks 2017-03-01 17:08:22 +08:00
MaxwellGoblin
36bdff7c16 [ximalaya]ignore paid item in an album 2017-03-01 04:04:36 +08:00
MaxwellGoblin
fa9c51dfea add support for ximalaya.py 2017-03-01 04:04:36 +08:00
Mort Yao
d361b55de8
[nanagogo] skip more 2017-02-26 23:07:52 +01:00
MaxwellGoblin
925415fa2b add support for dilidili.mobi and dilidili.wang 2017-02-25 02:37:45 +08:00
MaxwellGoblin
251a1bff48 ckplayer.py: fix when got data without a ckplayer->info and clean the code 2017-02-25 02:37:45 +08:00
MaxwellGoblin
9b9d80b32d do not print size when the container is m3u8 2017-02-25 02:31:07 +08:00
YK Liu
8799197bef Print audiolang in json output 2017-02-20 15:09:38 +08:00
Mort Yao
1497d713a0
Merge branch 'develop' of https://github.com/alanyang/you-get into alanyang-develop 2017-02-19 21:14:08 +01:00
Zhiming Wang
4d0dac2968
[ffmpeg] call ffmpeg with stdin redirected to the null device
Prevent FFmpeg from consuming stdin and interpreting the character
stream as a stream of interactive commands, specifically:

    ?      show this help
    +      increase verbosity
    -      decrease verbosity
    c      Send command to first matching filter supporting it
    C      Send/Queue command to all matching filters
    D      cycle through available debug modes
    h      dump packets/hex press to cycle through the 3 states
    q      quit
    s      Show QP histogram

This prevents misclicking a key or key sequence (e.g., h) produces a
large amount of debugging output which may confuse the unseasoned
user. It is also useful in a batch environment where an unsuspecting
user may not realize you-get could consume stdin through FFmpeg, e.g.

    while read url; do you-get $url; done <urllist

(Related: BashFAQ/089.)

Note that interactive commands are enabled in debug mode (which also
doesn't suppress FFmpeg's default logging).

---

A note on implementation:

An alternative would be FFmpeg's -nostdin option, which explicitly
disables interaction, but adding such an option to existing code would
be even more destructive than the stdin=DEVNULL approach taken here.

---

This commit also happens to fix a dual-call bug in
ffmpeg_concat_mp4_to_mpg.
2017-02-19 12:08:31 -05:00
Mort Yao
192eb82dcf
Merge branch 'improve-youtube-livestream' of https://github.com/L34p/you-get into L34p-improve-youtube-livestream 2017-02-12 17:04:44 +01:00
Mort Yao
dd0545bf83
Merge branch 'more-debug-messages' of https://github.com/zmwangx/you-get into zmwangx-more-debug-messages 2017-02-12 17:01:44 +01:00
Mort Yao
c1ed0d7e15
[youtube] fix signature extraction (regression in #1662) 2017-02-12 00:40:16 +01:00
Zhiming Wang
1997ea45ce
[common] log URLs in more functions with network requests
This is a follow-up to #999.

This commit adds the

    <function_name>: <url>

debug message, which was previously only emitted by get_content and
post_content, to all high level utility functions with network requests
except url_size, url_save and url_save_chunked (in order not to ruin
progress bars).
2017-02-10 11:47:24 -05:00
l34p
69714046b8 [youtube] improve livestream detection, fix #1673 2017-02-06 18:04:52 +09:00
Mort Yao
858435d503
version 0.4.652 2017-02-02 06:03:23 +01:00
Mort Yao
098b6a9dd8
[youtube] fix signature extraction 2017-02-02 05:50:00 +01:00
Mort Yao
ed99b91d18
[xiami] fix #1650 2017-02-02 05:43:57 +01:00
Mort Yao
62a535a418
version 0.4.648 2017-02-01 23:55:03 +01:00
Mort Yao
8afb998d59
Remove dead sites (2017-02-01)
* JPopsuki TV http://www.jpopsuki.tv/
* 天天动听 http://www.dongting.com/
* THVideo http://thvideo.tv/
* 阡陌视频 http://qianmo.com/
2017-02-01 23:39:46 +01:00
Mort Yao
2f4dc0f9a0
[google] quick fix for Google+ videos 2017-02-01 17:33:57 +01:00
l34p
5139b40b44 [youtube] fix broken link of html5player 2017-02-01 21:07:59 +09:00
Mort Yao
db3a52fbd1
Merge branch 'develop' of https://github.com/haoflynet/you-get into haoflynet-develop 2017-01-31 01:53:23 +01:00
Mort Yao
753879b497
[netease] fix #1642 2017-01-28 03:20:17 +01:00
Mort Yao
7e2d84dbed
Merge branch 'develop' of https://github.com/hjk41/you-get into hjk41-develop 2017-01-27 22:13:18 +01:00
Mort Yao
fff596764a
Merge branch 'fix_zhanqi' of https://github.com/Justsoos/you-get into Justsoos-fix_zhanqi 2017-01-27 21:38:47 +01:00
Justsoos
15ae8feb5b little fix 2017-01-28 03:08:54 +08:00
Justsoos
4108e2112d fix:[zhanqi.tv]recode all 2017-01-26 16:31:56 +08:00
Mort Yao
f299d30161
[common] update fake_headers 2017-01-25 21:21:49 +01:00
Mort Yao
10624ca5b3
[google] add UA in get_html 2017-01-25 21:21:09 +01:00
Chuntao Hong
61225b1552 fix non-ascii url 2017-01-24 12:36:57 +08:00