Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bankroft committed May 30, 2019
1 parent b867213 commit e33e963
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -8,6 +8,8 @@ __pycache__/
*.bak
*.png
*.ini
package.bat
Fefs.spec


# Distribution / packaging
Expand Down
18 changes: 13 additions & 5 deletions Fefs.py
@@ -1,5 +1,5 @@
# coding:utf-8
print('软件初始化中...')
# print('软件初始化中...')
import __version__
from console_erya.printinfo import print_info
from console_erya import console
Expand All @@ -18,9 +18,9 @@


info = {
'Version: ': __version__.__version__,
'Author: ': __version__.__author__,
'Blog: ': __version__.__blog__,
'Version': __version__.__version__,
'Author': __version__.__author__,
'Blog': __version__.__blog__,
}

function = {
Expand Down Expand Up @@ -71,7 +71,14 @@ def __init__(self):
self.register_function(description='设置', func=self.setting)
self.register_function(description='关于', func=self.about)
self.register_function(description='刷课(需要再次登陆,临时功能)', func=self.relogin)
self.ui.ex_info(info)
print(r"""___________ _____ __________ __ _____ __
\_ _____/____ _/ ____\______ \______ \_____ ____ | | _________ ____ _/ ____\_/ |_
| __)_/ __ \\ __\/ ___/ ______ | | _/\__ \ / \ | |/ /\_ __ \ / _ \\ __\ \ __\
| \ \ ___/ | | \___ \ /_____/ | | \ / __ \_| | \| < | | \/( <_> )| | | |
\___ / \___ >|__| /____ > |______ /(____ /|___| /|__|_ \ |__| \____/ |__| |__|
\/ \/ \/ \/ \/ \/ \/ """)
print('\n\n')
# self.ui.ex_info(info)

def save_account(self):
with open('./temp/account.b4', 'wb') as f:
Expand Down Expand Up @@ -302,6 +309,7 @@ def setting(self):
def about(self):
print('E-mail: bankroftvayne@gmail.com')
print('Blog: https://www.bankroft.cn')
print('Version:', info['Version'])
webbrowser.open('https://www.bankroft.cn')

@staticmethod
Expand Down
35 changes: 32 additions & 3 deletions README.md
@@ -1,5 +1,34 @@
## 已迁移
## 软件下载

[迁移地址](https://github.com/bankroft/Focfs "my blog")
![二维码](https://i.loli.net/2018/10/08/5bbb1cb62dc66.png)

## 这里不再维护
### **收费群(费用随心情调),不想付费的请自行研究源码运行(main:`Fefs.py`),使用方法在我博客,不解决任何非BUG问题**

## 版本更新记录

[我的博客](https://www.bankroft.cn/?p=37, "my blog")

### config.ini注释

```ini
[queryHTTP]
;HTTP查题api
url_query=http://erya.bankroft.cn/api/query
url_update=http://erya.bankroft.cn/api/update

[User]
; 微信查题公众号
wechat_mp =
; 未查到答案等待时间,单位分钟
noanswer_sleep = 5
; 自动切换播放线路
internet_line = 公网1
; token, 部分题库不方便公开,群内使用
token =
; 若快账号、密码
rk_username =
rk_password =
```

## Contributor
感谢[@ningyuv](https://github.com/ningyuv '2018-10-5')为本项目提供的视频内答题统一解决办法
2 changes: 1 addition & 1 deletion __version__.py
@@ -1,6 +1,6 @@
# coding:utf-8

__version__ = '1.3.4 debug'
__version__ = '1.3.3'
__author__ = 'Bankroft'
__blog__ = 'https://www.bankroft.cn'
__mail__ = 'bankroftvayne@gmail.com'
Binary file modified chromedriver.exe
Binary file not shown.
1 change: 1 addition & 0 deletions config.ini
Expand Up @@ -10,4 +10,5 @@ internet_line =
token =
rk_username =
rk_password =
relogin = True

2 changes: 1 addition & 1 deletion console_erya/config.py
Expand Up @@ -160,7 +160,7 @@ class AutomaticcompletionConfig:
# '//div[@class="ncells"]/a//span[@class="roundpoint orange01"]/../..',
# '//div[@class="ncells"]/a//span[@class="roundpointStudent"]/../..',
# ]
'string': '//div[@class="ncells"]/a//span[@class="roundpointStudent orange01 a002" or @class="roundpoint orange01" or @class="roundpointStudent"]/../..'
'string': '//div[@class="ncells"]//span[@class="roundpointStudent orange01 a002" or @class="roundpoint orange01" or @class="roundpointStudent" or @class="roundpointStudent orange01 a002 jobCount"]/../..'
}

# 课程名称
Expand Down

0 comments on commit e33e963

Please sign in to comment.