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
Copy file name to clipboardexpand all lines: README.md
+4-22
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,8 @@
1
-
## Overview
2
-
3
-
**Web Crawler** is a custom application designed for the Flipper Zero device, allowing users to configure and manage HTTP requests directly from their Flipper Zero.
1
+
Browse the web, fetch API data, and more on your Flipper Zero.
4
2
5
3
## Requirements
6
-
- WiFi Dev Board or Raspberry Pi Pico W for Flipper Zero with FlipperHTTP Flash: https://github.com/jblanked/FlipperHTTP
7
-
- WiFi Access Point
8
-
4
+
- WiFi Developer Board, Raspberry Pi, or ESP32 device flashed with FlipperHTTP version 1.6 or higher: https://github.com/jblanked/FlipperHTTP
5
+
- 2.4 GHz WiFi Access Point
9
6
10
7
## Installation
11
8
- Download from the Official Flipper App Store: https://lab.flipper.net/apps/web_crawler
@@ -52,7 +49,7 @@
52
49
- Enter the complete URL of the website you intend to crawl (e.g., https://www.example.com/).
53
50
54
51
2.**HTTP Method**
55
-
- Choose between GET, POST, DELETE, PUT, and DOWNLOAD.
52
+
- Choose between GET, POST, DELETE, PUT, DOWNLOAD, and BROWSE.
56
53
57
54
3.**Headers**
58
55
- Add your required headers to be used in your HTTP requests
@@ -73,19 +70,4 @@
73
70
- Provide your desired file name. After saving, the app will rename your file with the new name.
74
71
75
72
76
-
## Saving Settings
77
-
After entering the desired configuration parameters, the app automatically saves these settings for use during the HTTP request process. You can update these settings at any time by navigating back to the **Settings** menu.
78
-
79
-
## Logging and Debugging
80
-
The Web Crawler app uses logging to help identify issues:
81
-
82
-
-**Info Logs**: Provide general information about the app's operations (e.g., UART initialization, sending settings).
83
-
-**Error Logs**: Indicate problems encountered during execution (e.g., failed to open settings file).
84
-
85
-
Connect your Flipper Zero to a computer and use a serial terminal to view these logs for detailed troubleshooting.
86
-
87
-
## Known Issues
88
-
1.**Screen Delay**: Occasionally, the Run screen may get stuck on "Receiving Data".
89
-
- If it takes longer than 10 seconds, restart your Flipper Zero.
if (!easy_flipper_set_view(&app->view_loader, WebCrawlerViewLoader, web_crawler_loader_draw_callback, NULL, web_crawler_back_to_main_callback, &app->view_dispatcher, app))
199
46
{
200
47
returnNULL;
201
48
}
202
49
web_crawler_loader_init(app->view_loader);
203
-
204
-
//-- WIDGET ABOUT VIEW --
205
-
if (!easy_flipper_set_widget(&app->widget_about, WebCrawlerViewAbout, "Web Crawler App\n---\nThis is a web crawler app for Flipper Zero.\n---\nVisit github.com/jblanked for more details.\n---\nPress BACK to return.", web_crawler_back_to_main_callback, &app->view_dispatcher))
206
-
{
207
-
returnNULL;
208
-
}
209
-
if (!easy_flipper_set_widget(&app->widget_file_read, WebCrawlerViewFileRead, "Data will be displayed here.", web_crawler_back_to_file_callback, &app->view_dispatcher))
210
-
{
211
-
returnNULL;
212
-
}
213
-
if (!easy_flipper_set_widget(&app->widget_file_delete, WebCrawlerViewFileDelete, "File deleted.", web_crawler_back_to_file_callback, &app->view_dispatcher))
214
-
{
215
-
returnNULL;
216
-
}
217
50
if (!easy_flipper_set_widget(&app->widget_result, WebCrawlerViewWidgetResult, "Error, try again.", web_crawler_back_to_main_callback, &app->view_dispatcher))
218
51
{
219
52
returnNULL;
220
53
}
221
54
222
-
// Load Settings and Update Views
223
-
if (!load_settings(
224
-
app->path,
225
-
app->temp_buffer_size_path,
226
-
app->ssid,
227
-
app->temp_buffer_size_ssid,
228
-
app->password,
229
-
app->temp_buffer_size_password,
230
-
app->file_rename,
231
-
app->temp_buffer_size_file_rename,
232
-
app->file_type,
233
-
app->temp_buffer_size_file_type,
234
-
app->http_method,
235
-
app->temp_buffer_size_http_method,
236
-
app->headers,
237
-
app->temp_buffer_size_headers,
238
-
app->payload,
239
-
app->temp_buffer_size_payload,
240
-
app))
241
-
{
242
-
FURI_LOG_E(TAG, "Failed to load settings");
243
-
}
244
-
else
245
-
{
246
-
// Update the configuration items based on loaded settings
0 commit comments