You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SITE_CATS_M= (("Search", "fuzzy/men", "Search for cams in men category"),
112
+
('All', "category/men", ""),
112
113
("New cams", "category/men/autoTagNew", ""))
113
-
SITE_CATS_C= (('All', "category/couples", ""),
114
+
SITE_CATS_C= (("Search", "fuzzy/couples", "Search for cams in couples category"),
115
+
('All', "category/couples", ""),
114
116
("New cams", "category/couples/autoTagNew", ""))
115
-
SITE_CATS_T= (('All', "category/trans", ""),
117
+
SITE_CATS_T= (("Search", "fuzzy/trans", "Search for cams in trans category"),
118
+
('All', "category/trans", ""),
116
119
("New cams", "category/trans/autoTagNew", ""))
117
120
SITE_TOOLS= (("Backup Favourites", "tool=fav-backup", "Backup favourites (Set backup location in settings first). \nExisting favourites file will be overwritten without warning."),
118
121
("Restore Favourites", "tool=fav-restore", "Restore your favourites from backup location."),
@@ -135,16 +138,16 @@ def evaluate_request():
135
138
get_menu("main")
136
139
return
137
140
138
-
param=sys.argv[2]
141
+
# URL decode the parameter
142
+
param=urllib.parse.unquote(sys.argv[2])
139
143
140
144
# Map parameters to functions
141
145
param_map= {
142
146
"sitecat=": get_menu,
143
147
"favourites": get_favourites,
144
148
"search": search_actor,
145
149
"getProfile": get_profile_data,
146
-
"fuzzy": search_actor2,
147
-
"randomx": get_cams_from_json,
150
+
"fuzzy/": search_actor2,
148
151
"tool=": handle_tool,
149
152
"category": get_cams_by_category,
150
153
"playactor=": play_actor,
@@ -160,6 +163,9 @@ def evaluate_request():
160
163
# Find matching parameter and call corresponding function
0 commit comments