Commit graph

481 commits

Author SHA1 Message Date
c883808c80 Limit video to 2k and remove the "link" part from the ytphash
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2021-01-15 17:43:38 +01:00
70b4b6402e if there is an error making a ytp try again
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-09-18 16:40:06 +02:00
d73ce41a47 that's what i get for copy pasting like a dumbass
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-09-14 15:39:27 +02:00
73581ce89f Automatically switch proxy
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-09-14 15:37:28 +02:00
43a78f9939 Add proxy options
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-09-07 17:37:22 +02:00
eb28545cbd Remove the message and spoiler if executed in a nsfw channel
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-09-07 17:28:42 +02:00
9a217cc139 Fetch video from petittube.com
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-09-06 22:53:57 +02:00
0c31f62e83 Clearer description and error message
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-09-06 22:53:17 +02:00
aba72cac11 Don't use tmpdir as it apparently doesn't like that
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-09-04 13:52:25 +02:00
265757e2f5 waaay better
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-09-04 13:36:08 +02:00
1b3fa24062 Forgot to point to the correct directory 2020-09-03 23:17:35 +02:00
772c3b038b Don't output to tmpdir 2020-09-03 23:16:16 +02:00
17f2a38e8d better error message if bot is blocked
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-08-30 16:05:53 +02:00
06e7a98784 fix url
Signed-off-by: supositware <loic.bersier1@gmail.com>
2020-08-26 19:24:20 +02:00
e754e4e32c Fix when downloading without proxy
Signed-off-by: supositware <loic.bersier1@gmail.com>
2020-08-26 19:21:59 +02:00
b01b5bbfbb Fix ytpHash when adding videos 2020-08-26 16:45:08 +00:00
b84ec367d5 Fix proxy (again?!?!) 2020-08-26 16:36:12 +00:00
1494d94be0 Added proxy options
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-08-25 17:21:26 +02:00
0cf246d5a2 Check for link 2020-08-08 21:17:37 +00:00
32566d3730 Merge remote-tracking branch 'origin/master' 2020-08-03 11:07:50 +02:00
3c97ae3aa5 50 MB file limit ( accidentally removed it once ) 2020-08-03 11:07:14 +02:00
be1db47633 Changed some hex to replace and added an alias
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-07-28 16:03:21 +02:00
cdab95811c delete author message and fix webm flag
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-07-26 14:04:22 +02:00
e7f1d491cd webm override
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-07-26 13:59:25 +02:00
0fb57f7243 Add the message author
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-07-26 13:53:36 +02:00
8fe918ddfa Fix args.vid to args.link 2020-07-26 11:52:42 +02:00
6ed551343d Mess with video length 2020-07-26 11:52:23 +02:00
4891189daf remove the variable "files" and use "mp4" instead
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-07-19 11:56:33 +02:00
05c3cf5f76 Fixed typo "occured" to "occurred" (holy shit there was a lot) 2020-07-16 09:42:07 +02:00
7ed7b6c338 Use url type 2020-07-16 09:24:44 +02:00
c754195abb Delete loading message after message has been sent 2020-07-16 09:22:39 +02:00
81a23658f9 Use new attachment utils 2020-07-16 09:22:17 +02:00
7d0ae36b63 Use fluent-ffmpeg 2020-07-16 09:20:24 +02:00
dcf299bcf2 Use event for download 2020-07-11 01:33:12 +02:00
89f1d056fc Use the new download and compress files 2020-06-17 18:42:52 +02:00
6875604d7c Missing quotation mark 2020-06-15 18:13:05 +02:00
d8c78a0886 Fix missing quotation mark 2020-06-15 18:00:05 +02:00
CyndaquilDAC
7c5cc62c64 Master to master 2020-06-15 15:56:51 +00:00
fd173b3653 Send a message when an error occur 2020-06-15 16:55:08 +02:00
ec7b0d9407 Fix max stream duration for regular ytp
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-05-24 19:26:07 +02:00
81c179c39c Let people choose max and min clip duration
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-05-24 19:17:40 +02:00
2265c86966 Merge remote-tracking branch 'origin/master' 2020-05-20 23:24:11 +02:00
e58369a785 Some nice error video
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-05-20 23:23:59 +02:00
9b6f2b467a added support for error 403 2020-05-14 17:44:48 +02:00
1bbe7702d3 Actually show better errors 2020-05-14 17:08:04 +02:00
18193e1b78 Better error message for HTTP ERROR 429 2020-05-14 17:01:19 +02:00
f02b535254 Delete the loading message when video is duplicated too
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-05-13 14:12:33 +02:00
f8803ec5a7 Some duplication protection
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-05-13 08:47:11 +02:00
bdac7fc268 Store the messages for future conversation
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-05-11 20:58:28 +02:00
9fc87f42be Cleverbot!
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
2020-05-11 20:34:11 +02:00