Commit Graph

42 Commits

Author SHA1 Message Date
reusedname c6389b9481 Extract unchecked model state from unknown
Allows to know if online check was run or not
2025-03-02 12:14:52 +05:00
reusedname 2572268600 Flaresolverr support for chaturbate 2025-02-15 13:33:27 +05:00
0xb00bface ef66aebeda Reduce log level 2023-12-31 14:27:13 +01:00
0xb00bface 71c2d74857 Use random names to load the offline image 2023-12-30 22:38:07 +01:00
0xb00bface aa44917935 Make sure that the faster online check for offline Chaturbate models works as intended 2023-12-30 21:07:15 +01:00
0xb00bface f6e02b4a35 Make offlineImageSize static 2023-12-30 20:19:59 +01:00
0xb00bface b03a1acc20 Add setting to use the shortest side to restrict the resolution 2023-12-30 20:09:11 +01:00
0xb00bface 257bdda8f7 Add setting to restrict recording by bit rate 2023-12-30 18:48:14 +01:00
0xb00bface a9b1080d2f Improve online check for Chaturbate by determining the size of the offline fallback image 2023-11-05 14:52:28 +01:00
0xb00bface 03dd723fb6 Code cleanup 2023-11-05 12:01:40 +01:00
0xb00bface 33b054bc68 Merge branch '5.0.x winkru' into dev 2023-11-01 11:37:29 +01:00
0xb00bface 224bb27003 Merge almost all changes by @winkru 2023-10-29 19:24:16 +01:00
0xb00bface 1c8d9bf678 Use the thumbnail for the online check by @winkru
In case a model is not online, CB returns a default image. We do a HEAD request and check the size of the response.
If it is 21971 bytes, we assume that it is the default image and also that the model is offline.
The request hits the CDN instead of the main site, so request throttling should not kick in.
2023-10-29 14:23:33 +01:00
0xb00bface 619d888bfa Get rid of moshi 2023-06-19 19:00:26 +02:00
0xb00bface c6e96825a2 Convert the model name in URLs to lower case for Chaturbate 2023-03-10 19:00:37 +01:00
0xb00bface 8b31df73c5 Code cleanup 2022-10-15 20:04:55 +02:00
0xb00bface 4ac1bd4571 Revert "Use a different URL to fetch the stream info for Chaturbate"
This reverts commit 9c8fe1f89c.
2021-08-21 11:14:59 +02:00
0xb00bface e3f42ffc1c Improve account existance check for chaturbate 2021-08-08 18:58:42 +02:00
0xb00bface 9c8fe1f89c Use a different URL to fetch the stream info for Chaturbate 2021-08-08 13:00:00 +02:00
0xb00bface 27caa0098a Cache Chaturbate stream info for 2 seconds to reduce requests 2021-07-25 14:56:48 +02:00
0xb00bface ff0864bbf7 Added config param for the chaturbate request throttle 2021-07-24 13:36:08 +02:00
0xb00bface a1492927e6 Upgrade okhttp to 4.9.0 2021-01-01 14:12:51 +01:00
0xb00bface dbb44e1374 Move request throttle for Chaturbate to ChaturbateHttpClient 2021-01-01 13:23:32 +01:00
0xb00bface 52cdc82044 Fix chaturbate follow/unfollow response parsing 2020-12-29 14:43:26 +01:00
0xb00bface 2665d50ee1 Assume unknown show type means ONLINE 2020-08-19 17:53:15 +02:00
0xboobface 2e4ec80bd8 Reduce visibility of public method 2020-05-10 10:43:53 +02:00
0xboobface 8596b1e6e1 Fix log statement, which prevent getMasterPlaylist form working 2019-12-29 15:07:09 +01:00
0xboobface a9d87bfd99 Code cleanup 2019-12-28 19:54:04 +01:00
0xboobface 87b0ce0d21 Use constants from HttpConstants 2019-12-27 15:14:55 +01:00
0xboobface 0f3d0b6337 Rewrite recording code for local recording
Remote recording is TBD
2019-05-31 20:00:07 +02:00
0xboobface ca8e0a269e Remove caches from Chaturbate code
- Remove caches from the Chaturbate class
- Move all model related code from Chaturbate to ChaturbateModel
- Use a User-Agent string in all HTTP requests
2019-05-11 15:10:42 +02:00
0xboobface f24959b76e Switch token data type to double
LiveJasmin and maybe other sites use a more currency like token system
2019-01-10 14:22:26 +01:00
0xboobface be680a07f9 Map state password protected to private 2018-12-09 18:45:16 +01:00
0xboobface 2dc5fd4581 Add Event and EventReaction classes 2018-12-06 17:39:33 +01:00
0xboobface 42177b4399 Add enum to Model for the online states 2018-12-05 15:51:21 +01:00
0xboobface d4dadf9fea Remove resolution cache
Resolution caching is done globally in ThumbCell
2018-12-04 18:31:31 +01:00
0xboobface f0edfb167c Added support for display names from Camsoda 2018-12-01 16:34:09 +01:00
0xboobface 7192856c87 Add setting for chaturbate base URL 2018-12-01 14:17:03 +01:00
0xboobface cbb6f3f45a Add failFast version of getStreamInfo for faster startup
With many chaturbate models, the loading of the recording tab took
a long time, because for each model the online state was loaded by the
loading cache. The failFast version just returns null and makes the
inital loading of recorder.getOnlineModels() much faster.
2018-11-28 16:45:42 +01:00
0xboobface 3445fa5ca0 Revert change, which prevents ChaturbateModel to work correctly 2018-11-23 21:15:04 +01:00
0xboobface 8fb5eac435 Move getSite and setSite to AbstractModel 2018-11-19 20:51:40 +01:00
0xboobface 05d583bab5 Change folder structure to maven conventions 2018-11-18 22:49:05 +01:00