Commit graph

318 commits

Author SHA1 Message Date
Pierre Rudloff
b80b9c7b2e Remove dependency on curl (fixes #105)
avconv/ffmpeg now downloads the video directly when converting
2017-04-24 19:16:38 +02:00
Pierre Rudloff
fb3834296a Make RTMP videos work in stream mode (fixes #104) 2017-04-24 18:31:14 +02:00
Pierre Rudloff
e4f061e6c3 Allow empty config filename (= default) 2017-04-24 17:56:07 +02:00
Uli Koeth
03cf506132 Handle download lists part 1 2017-03-07 17:24:34 +01:00
Pierre Rudloff
f309fc7033 Lint 2017-01-16 12:11:37 +01:00
Pierre Rudloff
4e1c1ca953 Add a stream parameter in config (fixes #24 and #39) 2017-01-16 12:02:21 +01:00
Pierre Rudloff
8e6c33c260 Merge branch 'develop' into feature/stream
Conflicts:
	composer.lock
2017-01-16 11:06:39 +01:00
Pierre Rudloff
3a1d0c4bc7 Lint 2017-01-10 23:39:58 +01:00
Pierre Rudloff
9f112c15b9 Add an uglyUrls option that disables URL rewriting (fixes #88) 2017-01-10 23:37:29 +01:00
Pierre Rudloff
f27bb3bbb9 Merge branch 'develop' into feature/stream 2016-12-27 00:02:27 +01:00
Pierre Rudloff
5aad3abc5d Display error when trying to convert a M3U8 file (fixes #83) 2016-12-27 00:01:42 +01:00
Pierre Rudloff
20820d90f0 Missing doc 2016-12-26 15:58:07 +01:00
Pierre Rudloff
3f96adb255 Lint 2016-12-26 15:53:03 +01:00
Pierre Rudloff
28a8addbf1 Experimental support for M3U streams 2016-12-26 15:50:26 +01:00
Pierre Rudloff
02e58c239f Allow Python to be set from environment variable 2016-12-22 13:46:31 +01:00
Pierre Rudloff
d4f5f93c2d Lint 2016-12-05 13:12:27 +01:00
Pierre Rudloff
e8a8622131 Undefined variable 2016-10-27 01:27:55 +02:00
Pierre Rudloff
d74ec5d1c4 Refactor listExtractors() 2016-10-27 01:22:30 +02:00
Pierre Rudloff
efe0b97d7f Support audio conversion of password protected videos 2016-10-20 23:13:37 +02:00
Pierre Rudloff
57a0424b6f Applied fixes from StyleCI 2016-10-20 21:03:13 +00:00
Pierre Rudloff
e34b01f2c4 Add support for password protected videos 2016-10-20 23:01:31 +02:00
Pierre Rudloff
cb7dad19dc Throw exception is Python is missing 2016-10-18 10:15:09 +02:00
Pierre Rudloff
b6f8e585be Add a way to pass a Config object to VideoDownload 2016-10-18 10:03:50 +02:00
Pierre Rudloff
a3dee17b2a Move YAML parsing to Config::getInstance()
Make Config::__construct() public
2016-10-18 09:54:08 +02:00
Pierre Rudloff
13be997ddb Throw exception if youtube-dl can't be found 2016-10-18 09:27:28 +02:00
Pierre Rudloff
21967b77fb Applied fixes from StyleCI 2016-10-15 14:20:54 +00:00
Pierre Rudloff
7d930d5083 Code refactoring 2016-10-15 16:18:04 +02:00
Pierre Rudloff
b4d3b9d88b Duplicate code 2016-10-14 19:16:52 +02:00
Pierre Rudloff
fdc746a69d Applied fixes from StyleCI 2016-10-14 17:02:14 +00:00
Pierre Rudloff
b0cdbd41ed Refactor code 2016-10-14 19:01:51 +02:00
Pierre Rudloff
5d9a6873b6 Applied fixes from StyleCI 2016-10-14 00:40:57 +00:00
Pierre Rudloff
2b0f0a6740 Missing doc comments 2016-10-14 02:40:33 +02:00
Pierre Rudloff
9ad024888a Refactor getter classes 2016-10-13 16:40:19 +02:00
Pierre Rudloff
6db29d325e Undeclared class properties 2016-10-10 21:32:19 +02:00
Pierre Rudloff
1b5054159c Cast bool because getenv always returns string 2016-10-10 21:30:07 +02:00
Pierre Rudloff
13c3366e9d Applied fixes from StyleCI 2016-09-07 22:28:28 +00:00
Pierre Rudloff
6df1eccb9e Missing docs 2016-09-06 00:36:47 +02:00
Pierre Rudloff
96a98ae846 Don't concatenate in function declaration 2016-08-19 01:13:51 +02:00
Pierre Rudloff
1400f3e86a Use separate config file for tests 2016-08-19 01:07:51 +02:00
Pierre Rudloff
fe6ce8409a Remove empty list item in extractors lists 2016-08-06 01:46:29 +02:00
Pierre Rudloff
d414e67d31 Cleanup doc 2016-08-01 13:29:13 +02:00
Pierre Rudloff
8c8c36acee Add PHPCS as a dependency 2016-08-01 03:16:33 +02:00
Pierre Rudloff
37c223638d Add rtmp tests 2016-07-30 14:01:00 +02:00
Pierre Rudloff
782d4e124e Destroy Config instance after each test 2016-07-30 12:40:49 +02:00
Pierre Rudloff
e3cec201ee New tests 2016-07-30 00:47:46 +02:00
Pierre Rudloff
26388ea1b4 Move all logic to the VideoDownload class 2016-07-30 00:15:17 +02:00
Pierre Rudloff
ae241a9812 curl_params should never be null (fixes #62) 2016-07-27 13:11:38 +02:00
Pierre Rudloff
57a1674f4b Use local rtmpdump 2016-04-12 21:13:43 +02:00
Pierre Rudloff
b787b6d3a2 Use ProcessBuilder to create commands
Fix rtmp audio
2016-04-12 11:49:50 +02:00
Pierre Rudloff
724f3bb31a Download only one file 2016-04-11 22:41:25 +02:00
Pierre Rudloff
c6c2214567 Remove unused functions 2016-04-10 23:57:19 +02:00
Pierre Rudloff
f14bec35ea getURL() should not return an array 2016-04-08 20:08:04 +02:00
Pierre Rudloff
f7f0a7b7f4 Use ProcessBuilder to build commands (fixes #51) 2016-04-08 19:37:59 +02:00
Pierre Rudloff
11e8243443 Don't use static functions 2016-04-08 19:06:41 +02:00
Pierre Rudloff
1d83c5c0b3 Use symfony/process (fixes #50) 2016-04-01 00:42:28 +02:00
Pierre Rudloff
46032e1ee1 Use PSR-2 2016-03-30 01:49:08 +02:00
Pierre Rudloff
cf9e90ce0d Lint 2016-02-28 23:04:53 +01:00
Pierre Rudloff
c73be59a52 Always use custom arguments (fixes #45)
Custom arguments for curl
2016-02-28 23:00:33 +01:00
Pierre Rudloff
4e0f61f3f3 Escape shell commands 2016-01-13 19:06:33 +01:00
Pierre Rudloff
6bb36a3212 Check if config file exists 2015-12-19 00:58:14 +01:00
Pierre Rudloff
73da787f77 Compatibility with symfony/yaml 3 2015-12-19 00:53:05 +01:00
Pierre Rudloff
c74623a9dd Declare ffmpeg binary in composer.json 2015-11-21 20:54:38 +01:00
Pierre Rudloff
cafb75a9c1 Use Composer to download ffmpeg (fixes #38) 2015-11-21 20:44:32 +01:00
Pierre Rudloff
bfb99370d7 Undefined array 2015-10-31 15:57:36 +01:00
Pierre Rudloff
7da7fcbbe4 No concatenation in class properties 2015-10-31 15:56:00 +01:00
Pierre Rudloff
0974bf360c Lint 2015-10-31 15:50:32 +01:00
Pierre Rudloff
5249df52e6 YAML config file 2015-10-31 15:42:36 +01:00
Pierre Rudloff
f85f07a77b PSR4 autoload (fixes #32) 2015-10-29 20:43:43 +01:00