2020-04-05 00:07:56 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2021-04-18 23:21:38 +00:00
|
|
|
# This file is part of Recent changes Goat compatible Discord webhook (RcGcDw).
|
2020-04-05 00:07:56 +00:00
|
|
|
|
2021-04-18 23:21:38 +00:00
|
|
|
# RcGcDw is free software: you can redistribute it and/or modify
|
2020-04-05 00:07:56 +00:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
2021-04-18 23:21:38 +00:00
|
|
|
# RcGcDw is distributed in the hope that it will be useful,
|
2020-04-05 00:07:56 +00:00
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2021-04-18 23:21:38 +00:00
|
|
|
# along with RcGcDw. If not, see <http://www.gnu.org/licenses/>.
|
2020-04-05 00:07:56 +00:00
|
|
|
|
|
|
|
import requests
|
2020-07-07 11:21:49 +00:00
|
|
|
from src.configloader import settings
|
2020-04-05 00:07:56 +00:00
|
|
|
|
|
|
|
session = requests.Session()
|
|
|
|
session.headers.update(settings["header"])
|