Plugin/GetUrl: add TODO to header

This commit is contained in:
Pragmatic Software 2021-08-06 10:16:14 -07:00
parent f9d8c09b5b
commit f2a45d74a6
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,8 @@
# File: GetUrl.pm
#
# Purpose: Retrieves text contents of a URL.
#
# TODO: add --useragent and --striphtml, etc, options
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
@ -53,8 +55,7 @@ sub cmd_geturl {
if ($response->is_success) {
return $response->decoded_content;
}
else {
} else {
return "[Failed to fetch page: " . $response->status_line . "]";
}
}