From 843d517553ddd9125d627c012362dd3ddacfaceb Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 11 Dec 2018 22:40:20 +0000 Subject: 'utils.http.get_url' -> 'utils.http.request' (github.py) --- modules/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/github.py b/modules/github.py index 73064e7d..c26f7863 100644 --- a/modules/github.py +++ b/modules/github.py @@ -105,7 +105,7 @@ class Module(ModuleManager.BaseModule): return "" def _short_url(self, url): - page = utils.http.get_url("https://git.io", method="POST", + page = utils.http.request("https://git.io", method="POST", post_data={"url": url}) return page.headers["Location"] -- cgit v1.3.1-10-gc9f91