diff --git a/main.py b/main.py old mode 100644 new mode 100755 index 3973fae..ea0597a --- a/main.py +++ b/main.py @@ -87,6 +87,11 @@ def main(): for header in options.header: key, value = header.split(": ") headers[key] = value + + # Read configuration headers + for header in conf.HEADERS: + headers[header] = conf.HEADERS[header] + g = GRAPHW00F(follow_redirects=options.followredirect, headers=headers, cookies=conf.COOKIES, @@ -170,4 +175,4 @@ def main(): if __name__ == '__main__': main() - \ No newline at end of file +