Commit Graph

66 Commits

Author SHA1 Message Date
blankie 246ce4bd7d
Support links in reddit galleries
In the wild: https://redd.it/10vnkmy
Tests:
- A sane, ordinary test: https://redd.it/10vwtow
- 3*4096 occurances of <&> in captions and URLs: https://redd.it/10vxerk
- 3*200 occurances of <&> in captions and l&r in URLs: https://redd.it/10vxn7n
2023-02-07 16:25:36 +07:00
blankie 94f50613ef
Add r/ prefiz 2023-02-04 17:58:19 +07:00
blankie 693ca24106
Ignore banned subreddits 2023-02-04 17:24:10 +07:00
blankie 82d662363c
Add support for captions in Reddit albums
Albums with captions:
- https://redd.it/zlu89r
- https://redd.it/tejlvr
- https://redd.it/teju6i
- https://redd.it/tepyv9

Album with only one caption: https://redd.it/zmhu48
Album with no caption: https://redd.it/t3urgf
2022-12-15 17:23:21 +07:00
blankie a4519a1089
Add more characters to white space check
https://redd.it/y3nbdr
Related Unicode characters with property White_Space=no in
https://en.wikipedia.org/wiki/Whitespace_character#Unicode
2022-10-19 22:54:57 +07:00
blankie 33dd6c98c7
Try to handle empty titles 2022-09-14 15:47:44 +07:00
blankie e5962cfdc3
General fixes 2022-08-24 21:42:40 +07:00
blankie c0d035fcb4
Handle having zero new posts 2022-08-24 21:41:05 +07:00
blankie 83ad790162
Fix spoiler check 2022-08-24 21:37:51 +07:00
blankie 36f2805d60
Reference the correct post
https://old.reddit.com/r/hentaimemes/comments/wv67jr/
2022-08-23 12:36:10 +07:00
blank X 110381484e
Ignore config and session files 2022-08-10 21:48:01 +07:00
blank X 1c73f26e2d
Fix Imgur bug
https://redd.it/ti6wi5
2022-03-21 11:07:53 +07:00
blank X 40470bc6d7
Fix some gfycat URLs 2021-11-18 01:19:10 +07:00
blank X 713b2250bc
Support imgur.com/gallery links 2021-11-14 02:04:32 +07:00
blank X 2b399d4bd5
Add thumbnails 2021-10-23 11:34:55 +07:00
blank X 25d9251208
Fix albums 2021-10-23 11:24:44 +07:00
blank X f2ce155d90
Don't calculate mimetype if file is None 2021-10-20 21:12:39 +07:00
blank X d4f2f25ac4
Set supports_streaming to None if not mp4 2021-10-15 09:50:28 +07:00
blank X e869ec8373
Convert m4v to mp4 2021-10-09 20:09:46 +07:00
blank X 3c07500ec0
Add video attributes 2021-10-09 20:06:59 +07:00
blank X 98599a5092
Use urljoin for pmedia 2021-05-07 14:46:48 +07:00
blank X 0c8e4d7466
Use httpd's mime.types file
From <https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types>
2021-04-29 17:39:02 +07:00
blank X fb1b228d5b
Use strict=False 2021-04-29 16:52:08 +07:00
blank X ad17d5a4a5
Check if extension is .htm or .html, instead of if it starts with .htm 2021-04-29 16:33:29 +07:00
blank X 1330b8c3cd
Add og:video support 2021-04-29 16:32:53 +07:00
blank X 3371eba487
Sort reddit gallery
e41a8f2822/app/src/main/java/me/ccrama/redditslide/Adapters/GalleryView.java (L278)
2021-04-20 22:38:15 +07:00
blank X e1fe1bba28
Use asyncpraw
hope it works
2021-04-04 13:10:56 +07:00
blank X 7c5cac9692 Remove trailing slash in Imgur links 2021-01-03 19:45:36 +07:00
blank X d9628d54a6 Update copyright year from 2020 to 2021 2021-01-01 10:44:41 +07:00
blank X 4bc9b5c0d2 Revert "Use ffprobe to try to get file extension"
This reverts commit 1caef9097b.
2020-12-13 21:34:55 +07:00
blank X d76618622e Change 'except Exception' to 'except BaseException' 2020-12-11 19:00:51 +07:00
blank X 76c45a45ea Make the fix work 2020-12-04 11:59:14 +07:00
blank X 47c2010f7f Fix KeyError: 'fallback_url' 2020-12-04 11:44:50 +07:00
blank X 9fcaaeb6cc Fix KeyError: 'u' 2020-12-03 22:08:02 +07:00
blank X 48ac10e1db Grab mp4 first instead of gif 2020-12-03 22:06:12 +07:00
blank X 169b36b499 Add README.md 2020-11-20 20:18:21 +07:00
blank X 43d3920023 Not fail on non-valid gallery images 2020-11-12 19:45:46 +07:00
blank X 1caef9097b Use ffprobe to try to get file extension 2020-11-02 13:12:11 +07:00
blank X 4865b970e3 telegram you are fucking weird 2020-10-30 13:17:39 +07:00
blank X cc35888b62 trying to fix some things 2020-10-30 00:03:02 +07:00
blank X cef80eb5f0 aiohttp bug fixed 2020-10-25 20:11:50 +07:00
blank X 89ee33eb3b Pin to aiohttp<=3.6.3 due to bug
https://github.com/aio-libs/aiohttp/issues/5128
2020-10-25 13:24:23 +07:00
blank X 8ce1c99a3f Remove the usage of zero-width space 2020-09-17 09:44:24 +07:00
blank X baefd09f65 Fix timeout 2020-09-16 21:52:26 +07:00
blank X b89c7cb32d Add timeout 2020-09-16 21:21:50 +07:00
blank X 98b4a7a1b3 should've tested fix, fixed fix 2020-09-16 19:13:57 +07:00
blank X d878c80a64 Attempt to fix unknown bug where telethon disconnects without reconnecting 2020-09-16 18:59:34 +07:00
blank X e4f8b37b75 Display NSFW and spoiler warnings, and allow filtering by self post, NSFW, and spoilers 2020-09-06 03:23:38 +07:00
blank X a1216f1273 Fix some weird URLs 2020-09-05 02:18:25 +07:00
blank X 966e5ec799 Turns out, captions can only be 1024 characters long 2020-09-04 21:52:30 +07:00