Update: 2026-07-05 00:35:12
This commit is contained in:
@@ -28,7 +28,7 @@ try {
|
||||
switch ($action) {
|
||||
case 'get_task':
|
||||
$stmt = $con->prepare("
|
||||
SELECT id, type, target_url, prompt_context
|
||||
SELECT id, type, target_url
|
||||
FROM marketing_tasks
|
||||
WHERE status = 'pending' AND platform = ?
|
||||
ORDER BY id ASC LIMIT 1
|
||||
|
||||
+1
@@ -111,6 +111,7 @@ class InstagramNavigator(private val service: AccessibilityService) {
|
||||
|
||||
// Filter out short UI elements, timestamps, likes, etc.
|
||||
if (!validText.isNullOrEmpty() && validText.length > 20 && !validText.contains(Regex("^[0-9]+ likes$"))) {
|
||||
android.util.Log.d("ScrapedText", "Extracted: $validText")
|
||||
results.add(validText)
|
||||
}
|
||||
}
|
||||
|
||||
+1
@@ -82,6 +82,7 @@ class TelegramNavigator(private val service: AccessibilityService) {
|
||||
|
||||
// Filter short words
|
||||
if (!validText.isNullOrEmpty() && validText.length > 20) {
|
||||
android.util.Log.d("ScrapedText", "Extracted: $validText")
|
||||
results.add(validText)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user