Commit Graph

280 Commits

Author SHA1 Message Date
MaxwellGoblin
7eb7ead380 [soundcloud]update client id and new api 2017-07-29 19:59:29 +08:00
wwqgtxx
56efb0ba96 add support for send the password from cli 2017-07-16 23:50:53 +08:00
MaxwellGoblin
15c46d3f7d [ffmpeg]drop -re flag when input is not live stream 2017-07-16 08:49:42 +08:00
MaxwellGoblin
1ab8ea015d [common zhanqi]m3u8 code in common; rewrite zhanqi 2017-07-15 21:44:54 +08:00
MaxwellGoblin
dbe272a8af [common]revert #1940 for it breaks sohu 2017-07-09 20:55:00 +08:00
w48325832
ca7d03357e add iwara 2017-06-25 14:20:28 +08:00
MaxwellGoblin
71a1825be5 [acfun]fix youku cloud source 2017-05-24 02:16:32 +08:00
David Zhuang
08fdd22466 [common] add .ac.cn support 2017-05-13 17:15:18 -04: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
f64b3494c7
[common] url_save: always specify Range 2017-05-06 15:31:29 +02:00
ultimate010
34d05f1777 add suport for toutiao.com 2017-04-25 16:58:36 +08: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
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
MaxwellGoblin
0e87a5c06c common.py append ext name when -O flag existed 2017-04-07 11:09:28 +08:00
Mort Yao
f0682403c0
[common] allow specifying timeout for url_save() 2017-04-01 22:16:21 +02:00
Mort Yao
b2dbfd1283
Merge branch 'Erk--Yizhibo-support' into develop 2017-04-01 21:56:22 +02: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
Mort Yao
8bddd170f3
[common] fix non-ascii url issues, close #1728 (per #1644) 2017-03-05 10:57:55 +01:00
MaxwellGoblin
fa9c51dfea add support for ximalaya.py 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
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
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
7e2d84dbed
Merge branch 'develop' of https://github.com/hjk41/you-get into hjk41-develop 2017-01-27 22:13:18 +01:00
Mort Yao
f299d30161
[common] update fake_headers 2017-01-25 21:21:49 +01:00
Chuntao Hong
61225b1552 fix non-ascii url 2017-01-24 12:36:57 +08:00
JayXon
374e1032db [common] also retry if timeout in url_save, post_content, etc. 2017-01-16 09:56:24 -08:00
Mort Yao
ecdcf5dcf8
Merge branch 'Yizhibo-support' of https://github.com/Erk-/you-get into Erk--Yizhibo-support 2017-01-06 15:06:02 +01:00
Valdemar Erk
60b6834e54 Quanmin support. 2017-01-03 23:58:56 +01:00
Valdemar Erk
44e60c3e21 Initial support for yizhibo.com 2016-12-10 12:23:35 +01:00
Mort Yao
474f4d724a
[common] pass valid filename in download_url_ffmpeg 2016-12-03 17:40:29 +01:00
Mort Yao
538f1796f2
[universal] workaround for websites that block HEAD requests 2016-11-26 17:09:28 +01:00
Yohohaha
fe2720544a fix syntax error 2016-11-25 20:03:38 +08:00
Yohohaha
c44a7ec1b9 Merge pull request #1 from soimort/develop
Project Updatding
2016-11-25 19:16:16 +08:00
Mort Yao
79bb217c4b
Merge branch 'icourses' of https://github.com/liushuyu/you-get into liushuyu-icourses 2016-11-03 16:58:00 +01:00
liushuyu
ae4e533ec9
common: add dynamic url support for url_save_chunked 2016-10-25 14:26:38 -06:00
liushuyu
4bbafeb9e4
icourse: add supprt 2016-10-24 20:09:58 -06:00
Mort Yao
4561be553c
Merge branch 'fix-baidu-support' of https://github.com/liushuyu/you-get into liushuyu-fix-baidu-support 2016-10-21 17:46:08 +02:00
liushuyu
78fa116131
Add POST method to common.py 2016-10-20 22:35:21 -06:00
Cheng Gu
95a8d1e8af [huomaotv] add huomao.com suppport 2016-10-20 14:31:03 +08:00
zhangchao
8674f43c36 fix bug about renaming videos when downloading with ffmpeg 2016-09-27 23:04:01 +08:00
H.G
2baeed762a [universal] fix issue: "flush" is not available in Python under 3.3 2016-09-05 10:50:58 +12:00
David Zhuang
e60981f91e [Wanmen]Add support 2016-08-24 23:12:06 -04:00
Mort Yao
3a8ce8819d
[ffmpeg] remove unuseful ffmpeg_play_stream(), fix #1336 2016-08-14 03:52:02 +02:00
David Zhuang
d0215aa238 [Bigthink]Add Bigthink 2016-08-01 05:39:38 -04:00
Chuntao Hong
fdb1809455 fix socks DNS resolve issue 2016-07-20 15:26:25 +08:00
David Zhuang
5a99b2f42f [Showroom] Add support via HLS M3U 2016-07-01 01:07:32 -04:00
Mort Yao
2fdea30d8d
Merge branch 'ffmpeg-live' of https://github.com/cnbeining/you-get into cnbeining-ffmpeg-live 2016-07-01 06:40:44 +02:00
David Zhuang
62a9e35ed0 [CNTV] Fix CCAV domain, Add pattern, fix #1193 ,#909 , replace #1031 2016-06-30 02:36:07 -04:00
David Zhuang
5966a090f4 [Common, ffmpeg]Exp: Add a ffmpeg downloader and player for any URL 2016-06-29 15:56:39 -04:00
Chuntao Hong
d370e9952f enable --socks-proxy 2016-06-28 16:44:54 +08:00
JayXon
48640e279f Add -t and --timeout option
To set socket timeout, default is 600 seconds.
2016-05-24 20:58:28 -07:00
JayXon
854386f22f Retry request if timeout in get_content 2016-05-24 20:13:32 -07:00
NickeyKim
677040a39e add Naver support
add Naver support
2016-05-19 14:48:45 +09:00
Mort Yao
6938894337
Merge branch 'print-merged-filename' of https://github.com/zmwangx/you-get into zmwangx-print-merged-filename 2016-05-14 23:49:57 +02:00
Zhiming Wang
03a4d3cc91
common.py: Print merged filename after successful merge
Instead of just "Done.".
2016-05-12 23:56:34 -07:00
iliul
e697287b95 add support Panda.tv 2016-05-11 14:28:50 +08:00
David Zhuang
6c3828cc32 [MangGuoTV]Add support 2016-05-06 16:30:08 -04:00
Rokic
cda4d2ae89 [Pornhub] Add Support, Universal Solution
Bypass anti-spider strategies of Pornhub.
2016-04-11 22:55:18 +08:00
Mort Yao
e752181fcb
Merge branch 'develop' of https://github.com/botusun/you-get into botusun-develop 2016-04-06 20:07:16 +02:00
Mort Yao
4c012aeba4 [common] do not download captions with --player 2016-03-26 16:56:54 +01:00
Botu Sun
39ceacd8d6 fix to handle new domain of douyu.com (was douyutv.com) 2016-03-25 16:44:32 +09:00
Zhiming Wang
d02b5bb9ad
common.py: Print URL of get_content call when --debug is enabled
Use logging, and raise the root logger level from WARNING (default) to
DEBUG when --debug is enabled.

This logging facility can be extended to other functions.
2016-03-20 11:39:17 -07:00
wenLiangcan
343c410973 Add huaban.com support. 2016-03-16 00:23:28 +08:00
Mort Yao
225f18d347 [common] catch UnicodeEncodeError and instruct users to change the locale 2016-03-10 22:48:35 +01:00
Mort Yao
221fda25b3 [common] maybe_print(): fix positional arguments 2016-03-05 16:58:57 +01:00
Mort Yao
cd5cfc775f [common] maybe_print() ignores any non-printable characters (which used to cause an exception, which is not intuitive) 2016-03-05 16:18:14 +01:00
Mort Yao
35a5dac007 [infoq] add support 2016-03-05 02:26:29 +01:00
Mort Yao
fd1c63618a [letv] fix #947 2016-03-03 21:49:47 +01:00
Mort Yao
81a81b0abe [common] fix #943 2016-03-02 02:50:15 +01:00
David Zhuang
178a9a54ad Merge branch 'develop' into THVideo 2016-02-19 00:28:24 -05:00
cnbeining
051895c901 [THVideo] Add Support 2016-02-16 00:29:40 -05:00
lilydjwg
bf59adcd8b [bar] handle speed >= 1GiB/s nicely
I suppose there won't be >= 1TiB/s speed in the near future.
2016-02-10 16:42:58 +08:00
lilydjwg
af42e7cedc [bar] show "100%" instead of "100.0%" 2016-02-10 16:42:58 +08:00
lilydjwg
9fa6ef1f6f [bar] don't overflow on large files (>1G)
https://github.com/soimort/you-get/pull/898#issuecomment-180015169
2016-02-10 16:42:58 +08:00
lilydjwg
4e05b55394 Revert "Revert pull request #898"
This reverts commit 966840e22a.
2016-02-10 16:41:52 +08:00
Mort Yao
966840e22a Revert pull request #898 2016-02-04 20:29:03 +01:00
xyuanmu
9c0abc6c64 fix m5.music.126.net return 404 2016-02-04 11:48:16 +08:00
lilydjwg
3941e0d1c6 [bar] fix bar size 2016-01-24 18:46:41 +08:00
lilydjwg
af588b2f9f [bar] update bar display at the beginning
or it may not show up itself promptly, leaving the user wondering why it
doesn't start.

I met this problem with http://www.letv.com/ptv/vplay/1709438.html,
which downloads really fast, but I have to wait a few seconds before the
bar shows up.
2016-01-23 13:07:18 +08:00
lilydjwg
28d04b0ad4 [bar] dynamically calculate bar size
or it'll may be too short or too long as 'total_pieces' changes
old one has problems with http://www.letv.com/ptv/vplay/1709438.html
2016-01-23 13:06:23 +08:00
Mort Yao
f596b36ac7 [common] add new option: --no-caption 2016-01-08 16:55:14 +01:00
Mort Yao
aa724f3a57 [youku] Use fallback stream data in case of HTTP 404, fix #857 (replace and close #853) 2016-01-06 22:23:57 +01:00
Mort Yao
cfad01e464 [videomega] add support 2015-12-31 12:50:38 +01:00
Mort Yao
ef966931a3 [imgur] add support 2015-12-31 11:20:37 +01:00
Mort Yao
79d1a41804 [twitter] fix #842 2015-12-29 16:10:45 +01:00
Mort Yao
944a166c02 [common] fix urls_size (support faker and headers) 2015-12-13 04:55:50 +01:00
Mort Yao
9bb12ad115 Merge branch 'fc2' of https://github.com/cnbeining/you-get into cnbeining-fc2
- Fix #102
2015-12-13 03:56:07 +01:00
cnbeining
683a475904 [FC2Video] Add support, fix #102 ; Add custom header support on all download functions
How could this project survive without customizing Headers?

Now Able to call with

download_urls([video_url], title, ext, size, output_dir, merge=merge,
headers = fake_headers)

and everywhere where you can use Faker.
2015-12-02 20:58:08 -05:00
cnbeining
a137ac22df Add Xiaokaxiu, redo Yixia logic 2015-12-02 17:55:02 -05:00
Mort Yao
dcf59e8754 [common] do not take SystemExit wrongly 2015-11-21 05:11:58 +01:00
Mort Yao
7ce003caa3 [musicplayon] new site support (using VideoExtractor) 2015-11-11 08:26:48 +01:00
Mort Yao
f44a995366 [pinterest] new site support (using VideoExtractor) 2015-11-10 02:56:53 +01:00
Mort Yao
22b0c5c7ed [common] fix division by zero 2015-11-09 02:47:55 +00:00
cnbeining
651e472f3b [dilidili] Add support 2015-10-26 01:34:22 -04:00
Mort Yao
9875939d18 [common] option -d is short for --debug 2015-10-22 23:00:24 +02:00
cnbeining
b0128fd879 Add Interest.me (CJ E&M) support 2015-10-22 14:56:07 -04:00