1 Star 1 Fork 1

qywk99/iqiyi-parser

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.py 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
ZSAIm 提交于 2019-05-12 13:55 . update
# -*- coding: utf-8 -*-
"""
author: ZSAIm
github: https://github.com/ZSAIm/iqiyi-parser
"""
import gui
import wx, time, sys
import GUIEventBinder
import socket
import threading
import flow
import handler
from handler.logs import STDRedirect
import io
socket.setdefaulttimeout(3)
def main():
threading.Thread(target=__main__).start()
def __main__():
wx.CallAfter(flow.Entry.handle)
def wait_thread():
"""can't run while debugging"""
main_thread = threading.main_thread()
for i in threading.enumerate():
if i != main_thread:
i.join()
if __name__ == '__main__':
# with open('error.log', 'a+') as ferr:
# ferr.write('------------------------\n')
# ferr.write('%s\n' % time.asctime(time.localtime(time.time())))
# ferr.write('------------------------\n')
# sys.stderr = ferr
gui.init()
GUIEventBinder.init()
sys.stdout = STDRedirect(sys.stdout)
sys.stderr = STDRedirect(sys.stderr)
main()
gui.MainLoop()
# handler.downloader.join()
# wait_thread()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qywk99/iqiyi-parser.git
git@gitee.com:qywk99/iqiyi-parser.git
qywk99
iqiyi-parser
iqiyi-parser
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385