Commit Graph

27 Commits

Author SHA1 Message Date
Pierre Rudloff 7b5e7cb6d9 Disable IDN conversion 2020-05-14 11:55:30 +02:00
0x6470 8f7601edd8
Fix xHamster support, fixes #264 (#276)
* Fix xhamster support

* Send http headers properly

* added spaces

* convert stdObject to array for comparison

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>
2020-05-14 10:59:59 +02:00
Pierre Rudloff 6adc1df213 phpstan update
Better typying
2020-05-13 22:28:05 +02:00
Pierre Rudloff 74db3b9ad0 Update guzzle to 6.5 2020-05-13 21:39:38 +02:00
Pierre Rudloff 71d49ad74f Lint 2020-05-13 21:18:32 +02:00
Pierre Rudloff a478aea3ca Stop using pathinfo (fixes #272)
Because it does not handle UTF-8 filenames correctly
2020-04-09 20:46:14 +02:00
Pierre Rudloff 6b6e571b71 Explain that the Video class accepts any youtube-dl format string (see #260) 2020-03-19 10:01:55 +01:00
jagub2 2d7e29a526
fix video remuxing 2020-01-24 00:34:40 +01:00
Pierre Rudloff 904e18c220 Switch to Symfony 5 2019-11-29 23:15:03 +01:00
Pierre Rudloff 850fc80622 Add support for variables in translation (#250) 2019-11-29 22:13:11 +01:00
Pierre Rudloff a5bd827d21 Switch to symfony/translation for translations (#250) 2019-11-27 23:15:49 +01:00
Pierre Rudloff 9fc21b2419 fix: always use headers provided by youtube-dl when streaming 2019-10-16 23:00:05 +02:00
Pierre Rudloff 44bf858c35 style(phpcs): Switch to PSR-12
https://www.php-fig.org/psr/psr-12/
2019-10-03 21:24:12 +02:00
Pierre Rudloff 6cd8eeed4a fix: Use cookies provided by youtube-dl
Fixes #225
2019-09-26 21:36:40 +02:00
Pierre Rudloff b7bcc24320 fix: Wrong variable name 2019-04-22 21:07:36 +02:00
Pierre Rudloff e13404903b refactor: Move exceptions and streams to seperate namespaces 2019-04-22 21:06:05 +02:00
Pierre Rudloff 1a6ff90eac feat: Split Youtube downloads in smaller chunks
Fixes #217
2019-04-22 20:20:04 +02:00
Pierre Rudloff 3b43018b29 docs: Missing docblocks 2019-04-22 00:05:53 +02:00
Pierre Rudloff 4db519c2ef fixup! fix: Don't use the $url property 2019-04-21 22:40:54 +02:00
Pierre Rudloff 97a7830196 refactor: Reuse Video::getHttpResponse() where possible 2019-04-21 22:38:27 +02:00
Pierre Rudloff 226f1b8380 fix: Don't use the $url property
It is not reliable
2019-04-21 22:20:05 +02:00
Pierre Rudloff 3ca84e144e refactor: We don't need this check anymore 2019-04-21 21:36:14 +02:00
Pierre Rudloff 61cb73dc59 refactor: Fix some types and unused variables 2019-04-21 19:51:16 +02:00
Pierre Rudloff dc4eafe33f docs: Document magic properties 2019-04-21 19:10:37 +02:00
Pierre Rudloff 51eaf192b1 refactor: Don't mix static and dynamic methods 2019-04-21 18:53:23 +02:00
Pierre Rudloff 06a631c892 fixup! refactor: New Video class 2019-04-21 18:35:24 +02:00
Pierre Rudloff 4c9af8ad1d refactor: New Video class
The news class provides a cleaner object-oriented logic

BREAKING CHANGE: The VideoDownload class has been removed and the Config constructor is now private
2019-04-21 18:30:02 +02:00