3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-05 19:49:32 +01:00

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

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 . "]";
}
}