Commit Graph

2057 Commits

Author SHA1 Message Date
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
David Zhuang
cd52950a50 Merge pull request #1761 from rosynirvana/fix_mgtv
[mgtv] add url patterns
2017-03-25 14:01:09 -04: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
coslyk
e6251a6844 Merge pull request #1 from soimort/develop
Merge upstream
2017-03-18 13:17:40 +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
MaxwellGoblin
e4c1d0e23c add .m4a and .DS_Store to .gitignore 2017-03-01 04:04:36 +08:00
Zhiming Wang
37dbb4a3ce
[common] print user agent when dumping URLs (-u, --url)
Certain sites (known example: tudou.com) deny access to video URLs unless user
agent matches the one used when retrieving URLs from the API, effectively
rendering the URLs useless without the proper user agent. Therefore, exposing
the user agent in -u, --url output could come in handy at times.

This commit does not affect --json output.
2017-02-27 00:51:16 -05:00
Mort Yao
d361b55de8
[nanagogo] skip more 2017-02-26 23:07:52 +01:00
Mort Yao
6315a414d8
Merge branch 'rosynirvana-fix_dili' into develop
- fix #1663, close #1671
2017-02-26 23:06:20 +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
Justsoos
b310fdc2d5 delete comments 2017-02-04 23:14:33 +08:00
Mort Yao
858435d503
version 0.4.652 2017-02-02 06:03:23 +01:00
Mort Yao
c5dbb97661
tests: remove test_freesound 2017-02-02 06:00:30 +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
847e531b0d
update .travis.yml (add python 3.6) and LICENSE (2017) 2017-02-01 23:51:06 +01:00