mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 11:29:38 +08:00
23 lines
879 B
Python
23 lines
879 B
Python
# coding: utf-8
|
|
# YYeTsBot - config.py
|
|
# 2019/8/15 18:42
|
|
|
|
__author__ = 'Benny <benny.think@gmail.com>'
|
|
|
|
import os
|
|
|
|
BASE_URL = "http://www.rrys2020.com"
|
|
LOGIN_URL = "http://www.rrys2020.com/user/login"
|
|
GET_USER = "http://www.rrys2020.com/user/login/getCurUserTopInfo"
|
|
RSS_URL = "http://rss.rrys.tv/rss/feed/{id}"
|
|
RESOURCE_SCORE = "http://www.rrys2020.com/resource/getScore" # post rid=38000
|
|
SEARCH_URL = "http://www.rrys2020.com/search?keyword={kw}&type=resource"
|
|
AJAX_LOGIN = "http://www.rrys2020.com/User/Login/ajaxLogin"
|
|
SHARE_URL = "http://www.rrys2020.com/resource/ushare"
|
|
SHARE_WEB = "http://got002.com/resource.html?code={code}"
|
|
TOKEN = os.environ.get("TOKEN") or "TOKEN"
|
|
USERNAME = os.environ.get("USERNAME") or "username"
|
|
PASSWORD = os.environ.get("PASSWORD") or "password"
|
|
PROXY = os.environ.get("PROXY")
|
|
MAINTAINER = os.environ.get("MAINTAINER")
|