0xb00bface
dc12e12dc0
Add HTTP header factory to Cam4Model
...
The edge URL requires a Referer header as @gohufrapoc@mastodon.cloud found out. Otherwise you get a HTTP 403 error.
We also set a few other standard headers.
2021-01-09 13:50:51 +01:00
0xb00bface
8251f41c50
Make sure to use lower case model names for Cam4
2021-01-02 13:04:53 +01:00
0xb00bface
8fe48f91b7
Update playlist all the time
...
Before the playlist was only retrieved, when it was empty (on the
initial call). Now the playlist is updated every time.
2020-12-21 18:17:19 +01:00
0xb00bface
43d8b9d2de
Add cache control headers to Cam4 requests
2020-12-21 15:07:50 +01:00
0xb00bface
6875de9b14
Add more logging to Cam4Model
2020-12-20 20:46:01 +01:00
0xb00bface
672d2a77d4
Add another playlist source for Cam4 models
2020-12-19 19:29:15 +01:00
0xb00bface
fb58be47bb
Normalize Cam4 model URLs in setUrl
2020-12-19 18:06:55 +01:00
0xb00bface
a3ffa7a71e
Improve error handling and set timeouts in the Cam4 websocket
2020-12-19 17:41:44 +01:00
0xb00bface
ae3726d906
Improve logging
2020-12-19 15:50:24 +01:00
0xb00bface
49469d8987
Determine online state of Cam4 models through the chat websocket
2020-12-19 15:47:44 +01:00
0xb00bface
f730f95026
Also use the model page to detect the online state
2020-12-17 20:41:06 +01:00
0xb00bface
9e2074ba59
Fix Cam4 model details link
2020-12-04 21:04:11 +01:00
0xb00bface
4b2e17d0b1
Fix Cam4 favorites tab
2020-07-16 19:51:14 +02:00
0xboobface
64569f83ab
Optimize http client shutdown
2020-07-05 14:07:15 +02:00
0xboobface
87b0ce0d21
Use constants from HttpConstants
2019-12-27 15:14:55 +01:00
0xboobface
b72777f6fb
Code cleanup
2019-12-27 13:51:48 +01:00
0xboobface
33c7c6606d
Improve playlist loading for Cam4Model
...
Also improve isOnline to take into account, if a playlist url is
available or not
2019-12-26 23:44:26 +01:00
0xboobface
c774a29421
Improve error handling for loading the master playlist for Cam4Models
2019-12-26 21:46:57 +01: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
168ad694ae
Remove debug log message
2018-12-13 01:11:22 +01:00
0xboobface
8039359455
Remove playlistUrl check from isOnline
...
isOnline contained a check for playlistUrl != null, because sometimes
the playlistUrl is null even though the model is online, but it prevents
the followed tab from working correctly
2018-12-12 22:05:46 +01:00
0xboobface
c478f6b0f1
Make login methods synchronized
...
Add synchronized modifier to the login methods, so that only one thread
at a time tries to login. All the following threads then should be able
to use the session cookies
2018-12-12 12:48:45 +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
65e6c5b76e
Merge branch 'dev' into notify
2018-12-05 12:58:51 +01:00
0xboobface
afd5d3caa3
Extend manual add function to allow to add models by their URL
2018-11-29 19:08:57 +01:00
0xboobface
2c716d3c88
Set all occurrences of PlaylistParser to lenient mode
2018-11-29 13:42:23 +01:00
0xboobface
7edc79b0e3
Take boolean privateRoom into account for online state
2018-11-28 11:47:40 +01:00
0xboobface
33642705a0
Check playlistUrl in isOnline
...
If the playlistUrl is empty, we cannot record, so the model is offline
2018-11-27 18:53:22 +01:00
0xboobface
c543af6429
Set online state to offline if model details cannot be loaded
2018-11-27 17:53:37 +01:00
0xboobface
b9f24a209e
Implement search feature
...
If a site supports searching, add a search field on the right side next
to the filter input field. This search uses the sites search function
to look for models and returns a list of matches in a popup window
2018-11-23 20:27:49 +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