Commit Graph

1121 Commits

Author SHA1 Message Date
Zhiming Wang
b493af9a69
[ffmpeg] fix concat list when output dir is not pwd
Relative paths in the concat list are considered relative to the parent
directory of the script, not the calling directory. This isn't entirely
obvious from the documentation, but it is easy to infer from the concat
demuxer's concept of "safety", and easy to test (confirmed on FFmpeg
3.2.2). See https://ffmpeg.org/ffmpeg-all.html#concat-1 for details.

This commit fixes the wrong relative paths when --output-dir is
specified and not pwd.

This commit also
- Factors out common concat list writer code;
- Slightly simplifies the code to collect FFmpeg params (on Py35+ we can
  further simplify by unpacking LOGLEVEL with the star operator right in
  the list literal).
2016-12-24 13:44:22 -05:00
Mort Yao
932c7071af
Merge branch 'bilibibi-embed' of https://github.com/zmwangx/you-get into zmwangx-bilibibi-embed 2016-12-24 15:35:33 +01:00
Mort Yao
f48aad9700
Merge branch 'lizhi-overhaul' of https://github.com/zmwangx/you-get into zmwangx-lizhi-overhaul 2016-12-24 15:32:43 +01:00
Zhang
bc5ff346d0 [BiliBili] revert naming for single part videos 2016-12-23 11:50:51 +08:00
Zhang
db16bcb659 [BiliBili] Better Multi-Part Video Naming 2016-12-22 22:33:37 +08:00
Valdemar Erk
9905620b52 Fix for magisto 2016-12-16 09:36:29 +01:00
Zhiming Wang
a6d3c13684
[embed] add support for bilibili's embedded player
Sample embed: for http://www.bilibili.com/video/av5079467/:

  <embed
    height="415" width="544" quality="high"
    allowfullscreen="true" type="application/x-shockwave-flash"
    src="http://static.hdslb.com/miniloader.swf"
    flashvars="aid=5079467&page=1"
    pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
  ></embed>
2016-12-05 23:45:28 -05:00
Zhiming Wang
606e0a786e
[lizhi] overhaul
Lizhi extractor has stopped working. In particular, there are two major
changes:

- URL format change: no more #/ in URL paths;
- The /api/audio/{radio_id}/{audio_id} API now returns 404.

This is a rewrite based on the /api/radio_audios API.
2016-12-04 19:57:02 -05:00
Mort Yao
61d9bf124e
[youtube] download hlsvp via ffmpeg 2016-12-03 17:41:23 +01:00
Mort Yao
474f4d724a
[common] pass valid filename in download_url_ffmpeg 2016-12-03 17:40:29 +01:00
sheerluck
8e150e6989 fix for NameError: name 'output_json' is not defined 2016-11-28 18:01:42 +03:00
Mort Yao
538f1796f2
[universal] workaround for websites that block HEAD requests 2016-11-26 17:09:28 +01:00
Mort Yao
03266c030a
[youtube] fix dash-mpd for live streams (no yt:contentLength field) 2016-11-26 16:35:16 +01:00
Mort Yao
e65c2d23a0
[tudou] fix #1526 2016-11-26 16:26:40 +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
250672f42d
version 0.4.595 2016-11-19 20:47:18 +01:00
Mort Yao
d2206b3fdf
Merge branch 'fix-ffmpeg-error-on-mgtv' of https://github.com/StephenPCG/you-get into StephenPCG-fix-ffmpeg-error-on-mgtv 2016-11-18 22:59:43 +01:00
Zhang Cheng
a7635e96a5 [mgtv] add bsf:a aac_adtstoasc to ffmpeg args, fix #1458. 2016-11-17 11:18:01 +08:00
Mort Yao
fbba2f6034
Merge branch 'develop' of https://github.com/iawia002/you-get into iawia002-develop 2016-11-15 09:10:47 +01:00
L
65713cae2c update yixia_download url match rule
resolved #1346
2016-11-14 21:49:13 +08:00
moyo
78ba20266c 1. Change container from FLV to TS
2. Fix video url matcher
3. Use m3u8 ext-info for fast size calculate
4. Use m3u8 url for video playing
2016-11-13 17:41:00 +08:00
Mort Yao
51dd7ad8e6
[youtube] use url_encoded_fmt_stream_map from video page, fix #1502 2016-11-10 16:24:26 +01:00
Rokic
d04997ec9b fix #1415
Songs from netease cloud music playlist will have a prefix indicates
their order in the list.
2016-11-08 02:09:39 +08:00
Mort Yao
5601e1fe30
[bilibili] fix support for bangumi 2016-11-03 22:03:56 +01:00
Mort Yao
bc590cbd62
[douban] add support: movie.douban.com 2016-11-03 21:32:13 +01:00
Mort Yao
25a2f9248b
Merge branch 'embed-correct-tudou-pattern' of https://github.com/zmwangx/you-get into zmwangx-embed-correct-tudou-pattern 2016-11-03 17:00:25 +01: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
Mort Yao
68e8be7af3
Merge branch 'add-dyn-chunked' of https://github.com/liushuyu/you-get into liushuyu-add-dyn-chunked 2016-11-03 16:56:57 +01:00
Zhiming Wang
391ca5643a
[embed] correct tudou pattern
Hyphen-minus (-) is a valid character in Tudou's video ID. It's even
present in the second pattern of tudou_embed_patterns, just not the
first.
2016-11-02 20:44:40 -04:00
Mort Yao
e8514d1370
version 0.4.575 2016-11-03 01:44:04 +01:00
Mort Yao
bc8834a7cc
Merge branch 'huomaotv' of https://github.com/gucheen/you-get into gucheen-huomaotv 2016-11-03 00:18:15 +01:00
Mort Yao
2b84c1e5f9
Merge branch 'dailymotion-fix' into develop 2016-11-03 00:17:16 +01:00
Mort Yao
a4f4fb3626
Revert "fix for #1405" (fix #1485)
This reverts commit 38ba0dbe48.
2016-10-30 16:16:04 +01:00
Mort Yao
4b55884e86
[dailymotion] use ffmpeg_download_stream, fix #1466 2016-10-30 00:26:25 +02:00
Mort Yao
feffcb656a
[processor.ffmpeg] fix params in ffmpeg_download_stream 2016-10-30 00:24:31 +02:00
Cheng Gu
ac33461c88 fix(huomao): adapt to new url format 2016-10-27 17:44:02 +08:00
liushuyu
2183448c90
icourses: implement fake keep connection alive 2016-10-25 22:16:36 -06:00
liushuyu
ae4e533ec9
common: add dynamic url support for url_save_chunked 2016-10-25 14:26:38 -06:00
liushuyu
5351121186
icouses: Code clean up 2016-10-25 12:52:30 -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
aef17dcb99
Add Baidu Cloud support 2016-10-20 22:39:47 -06: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
Mort Yao
669d7b5586
[youtube] unescape HTML entities, fix #1462 2016-10-19 20:47:17 +02:00
Mort Yao
455e5b90d9
Merge branch 'develop' of https://github.com/chideat/you-get into chideat-develop 2016-10-14 20:33:53 +02:00
chinat
21fc4d4a09 translate char | to - in filename for ffmpeg concat 2016-10-10 11:28:45 +08:00
Vicent Tsai
c9ffae970e [AcFun] fix #1429 2016-10-10 00:13:01 +08:00
Bochun Bai
fb97d7d0c3 Tencent Video use best quality
Prefer 1080p and 720p if available
2016-10-03 00:18:50 +08:00
zhangchao
8674f43c36 fix bug about renaming videos when downloading with ffmpeg 2016-09-27 23:04:01 +08:00
Mort Yao
7e5abc9371
version 0.4.555 2016-09-23 08:39:25 +02:00
Valdemar Erk
38ba0dbe48 fix for #1405 2016-09-19 13:15:25 +02:00
Mort Yao
0984190f93
[acfun] improve regex for getting video part title 2016-09-14 19:59:55 +02:00
Mort Yao
e1d5581e65
Merge branch 'origin/panda-dot-tv-plflag-fix' of https://github.com/Erk-/you-get into Erk--origin/panda-dot-tv-plflag-fix 2016-09-13 13:22:23 +02:00
zhangchao
7baa1f029e
qq compatible with new urls and modify baomihua getvidourl address 2016-09-13 11:03:49 +02:00
Valdemar Erk
47011101a9 added fix for nonstandard plflags on panda.tv 2016-09-07 10:47:38 +02:00
Mort Yao
24b2b4cb55
[bilibili] do not hide any URLError (better for debugging) 2016-09-07 10:44:05 +02:00
H.G
2baeed762a [universal] fix issue: "flush" is not available in Python under 3.3 2016-09-05 10:50:58 +12:00
Mort Yao
44c09c542f
[funshion] fix (partly) #1304 and close #1378 2016-08-30 12:42:50 +02:00
Mort Yao
5e612e870c
[pptv] fix #447 (per discussion in #1381) 2016-08-30 12:04:12 +02:00
David Zhuang
d66749801f [Bilibili] Change back to extract via interface API with Miniloader s key 2016-08-28 23:39:19 -04:00
Mort Yao
6fc2cc375e
[universal] call embed_download only if content_type is text/html (#1369) 2016-08-26 19:27:40 +02:00
David Zhuang
e60981f91e [Wanmen]Add support 2016-08-24 23:12:06 -04:00
David Zhuang
8ff1a108ea Merge pull request #1363 from cnbeining/bokecc
[BokeCC] Add support
2016-08-24 23:03:58 -04:00
David Zhuang
ebd3db9acb [BokeCC] Add support 2016-08-24 23:00:48 -04:00
Mort Yao
a3f3d880f9
[bilibili] quick hack for bangumi URLs again (fix #1362) 2016-08-25 02:04:05 +02:00
Mort Yao
315634332a
[twitter] fix #1357 2016-08-23 14:39:43 +02:00
Mort Yao
16015a2db0
version 0.4.536 2016-08-23 00:54:33 +02:00
Mort Yao
f8bf3e6cf3
[sina] fix #1361, close #1332 2016-08-22 23:58:48 +02:00
Mort Yao
ce759590d3
[ifeng] fix #1358 2016-08-22 11:41:26 +02:00
Mort Yao
550ef5aeb2
[acfun] fix #1353 (get and only get the specified part) 2016-08-21 23:35:33 +02:00
Mort Yao
7cecd0368d
[bilibili] close #1340 2016-08-21 21:44:05 +02:00
Mort Yao
326bae23e1
[qq] fix #1355 2016-08-21 18:54:58 +02:00
Mort Yao
3a8ce8819d
[ffmpeg] remove unuseful ffmpeg_play_stream(), fix #1336 2016-08-14 03:52:02 +02:00
David Zhuang
c6784f2fb8 Merge pull request #1342 from cnbeining/fix-ffmpeg-and-douyu
Fix ffmpeg wrong folder format and douyu discard output folder
2016-08-11 03:38:39 -04:00
David Zhuang
bb485a1110 [ffmpeg] Fix wrong format of output dir 2016-08-11 03:30:21 -04:00
David Zhuang
0c50e04666 [DouyuTV] Fix discarding output_dir 2016-08-11 03:29:59 -04:00
Mort Yao
e765f32805
[netease] fix #1341, also do not create new directory when info_only 2016-08-10 13:56:52 +02:00
steven7851
a8015ec92e [Douyutv]fix channel on event
some channel on event will redirect to event page
exp. http://www.douyu.com/65251 redirect to http://www.douyu.com/cms/zt/RioOlympics.html#a
if channel is on event, use entering url to get room_id, and non-digital room_id will not work
2016-08-09 02:27:59 +08:00
Mort Yao
021a2f62a3
version 0.4.523 2016-08-05 01:24:12 +02:00
johan
af039eae5f [ifeng] fix video info xml url 2016-08-04 15:32:22 +08:00
David Zhuang
f8939128e6 [QQ]Add QQ Daxue 2016-08-03 21:39:10 -04:00
David Zhuang
d0215aa238 [Bigthink]Add Bigthink 2016-08-01 05:39:38 -04:00
steven7851
2322a16ca8 delete useless line 2016-07-29 21:30:43 +08:00
steven7851
ddbc2caa23 add support for non digit channel
event page is still not support because the rule is complicated
2016-07-29 20:50:15 +08:00
steven7851
06b57e2db7 fix CI failure by using 3rd packages 2016-07-29 18:25:40 +08:00
steven7851
6689f45469 [Douyutv]Update api
Thanks #1299 @cnbeining #1235 @hellofwy
2016-07-29 13:35:05 +08:00
David Zhuang
0922307896 Merge pull request #1309 from chideat/develop
[bilibili] video title may have space around
2016-07-29 01:30:33 -04:00
David Zhuang
9cccec94f3 Merge pull request #1314 from cnbeining/fix-douyu
[Processor]FFmpeg: check arguments not None
2016-07-29 01:28:34 -04:00
David Zhuang
468fb6f403 [Processor]FFmpeg: check arguments not None 2016-07-29 01:27:22 -04:00
David Zhuang
063d4b1457 [Acfun] Update embsig with Youku COOP to bypass anti hot linking 2016-07-28 04:24:12 -04:00
David Zhuang
8e8506790f [Youku COOP] Add embsig to parasing 2016-07-28 04:23:44 -04:00
chinat
056082c36c [bilibili] video title may have space around 2016-07-27 14:16:32 +08:00
chinat
fbf5c491aa [bilibili] video title may have space around 2016-07-27 13:42:06 +08:00
Mort Yao
80a8265a49
[extractors] import zhanqi (close #1297) 2016-07-22 00:04:39 +02:00
Mort Yao
3fae4208b3
Merge branch 'develop' of https://github.com/hjk41/you-get into hjk41-develop 2016-07-21 16:01:01 +02:00
Mort Yao
1c40581fc7
Merge branch 'hjk41-socks' into develop 2016-07-21 15:55:02 +02:00
David Zhuang
09bfe28472 [Processor] Fix rtmpdump not portable under Windows 2016-07-21 00:50:21 -04:00
Chuntao Hong
fdb1809455 fix socks DNS resolve issue 2016-07-20 15:26:25 +08:00