master
Siryuanshao 6 years ago
parent 360d970b06
commit 3ea7be0f61

BIN
gzy/.DS_Store vendored

Binary file not shown.

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6" project-jdk-type="Python SDK" />
<component name="PyPackaging">
<option name="earlyReleasesAsUpgrades" value="true" />
</component>
</project>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/untitled.iml" filepath="$PROJECT_DIR$/.idea/untitled.iml" />
</modules>
</component>
</project>

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Python 3.6" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
</component>
</module>

@ -0,0 +1,248 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="43677961-aad9-4b46-92e4-61fb4ee90e93" name="Default Changelist" comment="" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="CoverageDataManager">
<SUITE FILE_PATH="coverage/untitled$PyPy.coverage" NAME="PyPy Coverage Results" MODIFIED="1544345586233" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/untitled$PyPy__1_.coverage" NAME="PyPy (1) Coverage Results" MODIFIED="1543408497222" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
</component>
<component name="DatabaseView">
<option name="SHOW_INTERMEDIATE" value="true" />
<option name="GROUP_DATA_SOURCES" value="true" />
<option name="GROUP_SCHEMA" value="true" />
<option name="GROUP_CONTENTS" value="false" />
<option name="SORT_POSITIONED" value="false" />
<option name="SHOW_EMPTY_GROUPS" value="false" />
<option name="AUTO_SCROLL_FROM_SOURCE" value="false" />
<option name="HIDDEN_KINDS">
<set />
</option>
<expand />
<select />
</component>
<component name="FUSProjectUsageTrigger">
<session id="507699379">
<usages-collector id="statistics.lifecycle.project">
<counts>
<entry key="project.closed" value="23" />
<entry key="project.open.time.3" value="5" />
<entry key="project.open.time.4" value="13" />
<entry key="project.open.time.421" value="1" />
<entry key="project.open.time.5" value="4" />
<entry key="project.opened" value="23" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.edit">
<counts>
<entry key="py" value="2769" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="Python" value="2769" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.open">
<counts>
<entry key="py" value="3" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.open">
<counts>
<entry key="Python" value="3" />
</counts>
</usages-collector>
</session>
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/PyPy.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-142">
<caret line="4" column="52" selection-start-line="4" selection-start-column="52" selection-end-line="4" selection-end-column="52" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/KMP.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="279">
<caret line="9" column="19" selection-end-line="23" />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Python Script" />
</list>
</option>
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/PyPy.py" />
<option value="$PROJECT_DIR$/KMP.py" />
</list>
</option>
</component>
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
<component name="JsGulpfileManager">
<detection-done>true</detection-done>
<sorting>DEFINITION_ORDER</sorting>
</component>
<component name="ProjectFrameBounds">
<option name="x" value="139" />
<option name="y" value="72" />
<option name="width" value="1115" />
<option name="height" value="617" />
</component>
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="settings.editor.selected.configurable" value="com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable" />
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="RunManager">
<configuration name="PyPy" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="untitled" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/PyPy.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<recent_temporary>
<list>
<item itemvalue="Python.PyPy" />
</list>
</recent_temporary>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="43677961-aad9-4b46-92e4-61fb4ee90e93" name="Default Changelist" comment="" />
<created>1543407615198</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1543407615198</updated>
</task>
<servers />
</component>
<component name="ToolWindowManager">
<frame x="139" y="72" width="1115" height="617" extended-state="0" />
<editor active="true" />
<layout>
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.18452936" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" />
<window_info anchor="bottom" id="Run" order="2" weight="0.40571427" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Version Control" order="8" show_stripe_button="false" />
<window_info anchor="bottom" id="Database Changes" order="9" show_stripe_button="false" />
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
<window_info anchor="bottom" id="Terminal" order="11" weight="0.32978722" />
<window_info anchor="bottom" id="Python Console" order="12" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
<window_info anchor="right" id="SciView" order="3" />
<window_info anchor="right" id="Database" order="4" weight="0.32952547" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="editorHistoryManager">
<entry file="file:///Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="89">
<caret line="1360" selection-start-line="1360" selection-end-line="1360" />
</state>
</provider>
</entry>
<entry file="file:///Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PIL/JpegImagePlugin.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="107">
<caret line="619" selection-start-line="619" selection-end-line="619" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/PyPy.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-142">
<caret line="4" column="52" selection-start-line="4" selection-start-column="52" selection-end-line="4" selection-end-column="52" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/KMP.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="279">
<caret line="9" column="19" selection-end-line="23" />
</state>
</provider>
</entry>
</component>
</project>

@ -1,20 +0,0 @@
https://book.qidian.com/info/1011774352 海贼之天赋系统
https://book.qidian.com/info/1009934766 火影之活久见
https://book.qidian.com/info/1009352601 海贼之雷神降临
https://book.qidian.com/info/1011987395 满级账号在异界
https://book.qidian.com/info/1004591465 寻找走丢的舰娘
https://book.qidian.com/info/1010837556 忍者招募大师
https://book.qidian.com/info/1004975904 海贼:厌世之歌
https://book.qidian.com/info/1010523354 妙木山的塔姆仙人
https://book.qidian.com/info/1005313052 请回答火影
https://book.qidian.com/info/1010731906 木叶之实力至上
https://book.qidian.com/info/1011704667 漫威世界中的幽灵
https://book.qidian.com/info/1009361813 魔法与万象卡牌系统
https://book.qidian.com/info/1004597439 我的女仆是恶魔
https://book.qidian.com/info/1011121140 捉妖奶爸
https://book.qidian.com/info/1005115417 火影之最强卡卡西
https://book.qidian.com/info/1005235019 神级剑魂系统
https://book.qidian.com/info/1010279627 变身之萝莉主播
https://book.qidian.com/info/1012043959 漫威之苍雷之影
https://book.qidian.com/info/1012055792 变身之漫威天才
https://book.qidian.com/info/1004607972 龙珠之最强神话

@ -1,20 +0,0 @@
https://book.qidian.com/info/107580 凡人修仙传
https://book.qidian.com/info/1735921 遮天
https://book.qidian.com/info/118447 星辰变
https://book.qidian.com/info/2248950 最强弃少
https://book.qidian.com/info/2502372 莽荒纪
https://book.qidian.com/info/1264634 仙逆
https://book.qidian.com/info/1004995075 最强神话帝皇
https://book.qidian.com/info/1003723851 天影
https://book.qidian.com/info/2227457 飞天
https://book.qidian.com/info/1010053502 反套路快穿
https://book.qidian.com/info/3347627 妙医圣手
https://book.qidian.com/info/2070910 求魔
https://book.qidian.com/info/1010804088 二青
https://book.qidian.com/info/3441641 掠天记
https://book.qidian.com/info/3195551 造化之门
https://book.qidian.com/info/1005317872 能穿越的修行者
https://book.qidian.com/info/3406500 走进修仙
https://book.qidian.com/info/3347574 从前有座灵剑山
https://book.qidian.com/info/1005395194 仙藏
https://book.qidian.com/info/3135391 大泼猴

@ -1,20 +0,0 @@
https://book.qidian.com/info/1011041249 体坛之篮球教父
https://book.qidian.com/info/1010371270 跑出我人生
https://book.qidian.com/info/1010521762 超级预言大师
https://book.qidian.com/info/3347741 冠军之光
https://book.qidian.com/info/1004851718 篮坛教皇
https://book.qidian.com/info/3623405 冠军之心
https://book.qidian.com/info/1011688428 NBA超巨崛起
https://book.qidian.com/info/1010863551 壹号卫
https://book.qidian.com/info/1005775611 我是瓦尔迪
https://book.qidian.com/info/1009814091 篮坛超级巨星
https://book.qidian.com/info/1011430623 篮坛活菩萨
https://book.qidian.com/info/1004139368 超级全能巨星
https://book.qidian.com/info/1009599180 NBA万界商城
https://book.qidian.com/info/1003510317 超能名帅
https://book.qidian.com/info/1005770225 我不想当球王
https://book.qidian.com/info/2082111 禁区之雄
https://book.qidian.com/info/1009843749 超级传奇巨星
https://book.qidian.com/info/3347538 火爆巨星
https://book.qidian.com/info/1003489547 球场教父
https://book.qidian.com/info/1004085032 传奇巨星

@ -1,20 +0,0 @@
https://book.qidian.com/info/3348326 最强兵王
https://book.qidian.com/info/3056070 佣兵的战争
https://book.qidian.com/info/3660723 抗日之特战兵王
https://book.qidian.com/info/1003772999 龙组兵王
https://book.qidian.com/info/1003503674 最强特种兵王
https://book.qidian.com/info/1004829455 交锋
https://book.qidian.com/info/3347592 最强特种兵之龙刺
https://book.qidian.com/info/1010179770 绝对荣誉
https://book.qidian.com/info/1005042490 抗日之铁血智将
https://book.qidian.com/info/3541761 特种兵之利刃
https://book.qidian.com/info/1010957891 浴血兵锋
https://book.qidian.com/info/3646748 中国猎人
https://book.qidian.com/info/3605783 单兵为王
https://book.qidian.com/info/1004893433 抗战之血染山河
https://book.qidian.com/info/1010176376 高危职业
https://book.qidian.com/info/1010890936 至尊妖孽兵王
https://book.qidian.com/info/1003666383 最强特种兵之战神传说
https://book.qidian.com/info/1010572250 奋斗1981
https://book.qidian.com/info/1004161932 抗战之第十班
https://book.qidian.com/info/1010578665 蝶与谍

@ -1,20 +0,0 @@
https://book.qidian.com/info/1004185492 带着仓库到大明
https://book.qidian.com/info/2413595 唐砖
https://book.qidian.com/info/1004175804 逍遥小书生
https://book.qidian.com/info/1005064061 民国之文豪崛起
https://book.qidian.com/info/3662715 大魏宫廷
https://book.qidian.com/info/1004984707 大唐贞观第一纨绔
https://book.qidian.com/info/1010696881 穷鬼的上下两千年
https://book.qidian.com/info/3347271 大官人
https://book.qidian.com/info/1003631173 调教大宋
https://book.qidian.com/info/3427715 贞观大闲人
https://book.qidian.com/info/3347415 大明武夫
https://book.qidian.com/info/1010504939 三国之熙皇
https://book.qidian.com/info/3070038 大宋的智慧
https://book.qidian.com/info/1009281415 大文豪
https://book.qidian.com/info/1003783942 钢铁皇朝
https://book.qidian.com/info/1010570709 战国赵为王
https://book.qidian.com/info/1004892351 大唐风华路
https://book.qidian.com/info/114559 庆余年
https://book.qidian.com/info/1003468034 庶子风流
https://book.qidian.com/info/1004949546 盛唐剑圣

@ -1,20 +0,0 @@
https://book.qidian.com/info/1017141 盘龙
https://book.qidian.com/info/1003441527 暴风法神
https://book.qidian.com/info/1010985987 低维游戏
https://book.qidian.com/info/1010700358 极道骑士
https://book.qidian.com/info/1010693223 美漫世界霸王轨迹
https://book.qidian.com/info/1436015 酒神
https://book.qidian.com/info/3268922 巫师之旅
https://book.qidian.com/info/1010804130 法师亚当
https://book.qidian.com/info/3347531 阿拉德之剑
https://book.qidian.com/info/173050 琴帝
https://book.qidian.com/info/1009864846 万界至尊大领主
https://book.qidian.com/info/1004897709 黑巫师朱鹏
https://book.qidian.com/info/2984157 神秘之旅
https://book.qidian.com/info/1011543922 超神学院之文明导师
https://book.qidian.com/info/3456256 巫界术士
https://book.qidian.com/info/70705 冰火魔厨
https://book.qidian.com/info/1003759751 剑与魔法与出租车
https://book.qidian.com/info/1000627242 异世重生之无上巅峰
https://book.qidian.com/info/1004857359 当个法师闹革命
https://book.qidian.com/info/3680344 邪神旌旗

@ -1,20 +0,0 @@
https://book.qidian.com/info/1010846649 助鬼为乐系统
https://book.qidian.com/info/68223 盗墓笔记
https://book.qidian.com/info/1004939100 杀神永生
https://book.qidian.com/info/1004049449 青叶灵异事务所
https://book.qidian.com/info/3688206 阴阳鬼术
https://book.qidian.com/info/1010318085 绝命手游
https://book.qidian.com/info/1004041725 升棺发财
https://book.qidian.com/info/3348325 阴阳先生
https://book.qidian.com/info/1010863368 小丑游戏
https://book.qidian.com/info/53269 鬼吹灯(盗墓者的经历)
https://book.qidian.com/info/3362906 阴阳鬼医
https://book.qidian.com/info/3501388 与千年女鬼同居的日子
https://book.qidian.com/info/3364197 鬼咒
https://book.qidian.com/info/1003632607 茅山之阴阳鬼医
https://book.qidian.com/info/1011121526 地狱归来
https://book.qidian.com/info/1011623132 捡只猛鬼当老婆
https://book.qidian.com/info/1005005128 极品隐身小鬼医
https://book.qidian.com/info/3394743 赶尸道长
https://book.qidian.com/info/3682134 赶尸世家
https://book.qidian.com/info/1010924444 重生美国做灵媒

@ -1,20 +0,0 @@
https://book.qidian.com/info/3683496 白袍总管
https://book.qidian.com/info/1003123274 最强反派系统
https://book.qidian.com/info/1011453794 我老婆是重生大BOSS
https://book.qidian.com/info/1011031802 长生在武侠世界
https://book.qidian.com/info/1321320 九鼎记
https://book.qidian.com/info/1004144236 穿越诸天万界
https://book.qidian.com/info/2389275 死人经
https://book.qidian.com/info/1011099045 武侠之数据风暴
https://book.qidian.com/info/1010967266 最终浩劫
https://book.qidian.com/info/1011403661 锦衣武皇
https://book.qidian.com/info/1010246345 横扫万界之最强
https://book.qidian.com/info/1003736111 厂公
https://book.qidian.com/info/1011815974 拳破诸天万界
https://book.qidian.com/info/1005260129 大杀戮系统
https://book.qidian.com/info/1009681601 大武侠辅助系统
https://book.qidian.com/info/3688686 血剑吟
https://book.qidian.com/info/1005406712 长生处处开宝箱
https://book.qidian.com/info/1010644368 大枭雄系统
https://book.qidian.com/info/3569971 晋汉奇侠传
https://book.qidian.com/info/1009392165 神级武当弟子

@ -1,20 +0,0 @@
https://book.qidian.com/info/1887208 全职高手
https://book.qidian.com/info/3347395 联盟之谁与争锋
https://book.qidian.com/info/1010377389 全能游戏设计师
https://book.qidian.com/info/2597043 惊悚乐园
https://book.qidian.com/info/1009942824 逍遥梦路
https://book.qidian.com/info/1012128095 时停五百年
https://book.qidian.com/info/1009330301 网游之神级土豪
https://book.qidian.com/info/1693876 重生之贼行天下
https://book.qidian.com/info/1011959658 网游之我是神
https://book.qidian.com/info/1009390321 网游之神级炼妖师
https://book.qidian.com/info/1004834396 超级卡牌系统
https://book.qidian.com/info/1005313490 网游之奴役众神
https://book.qidian.com/info/1010860381 魔境主宰
https://book.qidian.com/info/1784765 琥珀之剑
https://book.qidian.com/info/1011203795 从荒岛开始争霸
https://book.qidian.com/info/1000628224 网游之巅峰召唤
https://book.qidian.com/info/1010934998 我家客厅有个副本
https://book.qidian.com/info/1010702972 万界登陆
https://book.qidian.com/info/3381091 网游之逆天戒指
https://book.qidian.com/info/1009242064 纵猎天下

@ -1,20 +0,0 @@
https://book.qidian.com/info/1115277 斗罗大陆
https://book.qidian.com/info/3347812 焚天之怒
https://book.qidian.com/info/2048120 武动乾坤
https://book.qidian.com/info/3607314 神道丹尊
https://book.qidian.com/info/2083259 将夜
https://book.qidian.com/info/2952453 完美世界
https://book.qidian.com/info/2750457 大主宰
https://book.qidian.com/info/1010695687 超级神掠夺
https://book.qidian.com/info/1010828991 无敌真寂寞
https://book.qidian.com/info/1004073922 异世界的美食家
https://book.qidian.com/info/3363928 战神无敌
https://book.qidian.com/info/1011253172 神话禁区
https://book.qidian.com/info/1009329519 永恒武道
https://book.qidian.com/info/1005238666 万界天尊
https://book.qidian.com/info/1004990373 全民进化时代
https://book.qidian.com/info/3249362 一世之尊
https://book.qidian.com/info/3366482 三界独尊
https://book.qidian.com/info/1011393312 书籍供应商
https://book.qidian.com/info/3359811 龙血武帝
https://book.qidian.com/info/1777445 天珠变

@ -1,20 +0,0 @@
https://book.qidian.com/info/3348312 余罪
https://book.qidian.com/info/1010638915 逆流2002
https://book.qidian.com/info/1009885319 无悔九二
https://book.qidian.com/info/2420580 贵族农民
https://book.qidian.com/info/1004574263 大城时代
https://book.qidian.com/info/1003390870 重生之跃龙门
https://book.qidian.com/info/3595000 过关
https://book.qidian.com/info/3559897 静州往事
https://book.qidian.com/info/1010841304 寒门利器
https://book.qidian.com/info/2535052 随身带着如意扇
https://book.qidian.com/info/1005243853 荒岛求生日记
https://book.qidian.com/info/2146575 山村奇人传
https://book.qidian.com/info/1010859236 老黑是条狗
https://book.qidian.com/info/1009360188 重生世纪初
https://book.qidian.com/info/1448921 城市新农民
https://book.qidian.com/info/1009398811 荒岛生存法则
https://book.qidian.com/info/2142681 我有一块地
https://book.qidian.com/info/1010835424 职场风云路
https://book.qidian.com/info/2178302 位面种植大亨
https://book.qidian.com/info/1010528252 入仕12年

@ -1,20 +0,0 @@
https://book.qidian.com/info/1639199 吞噬星空
https://book.qidian.com/info/3242304 异常生物见闻录
https://book.qidian.com/info/1010463703 系统的黑科技网吧
https://book.qidian.com/info/3439785 修真四万年
https://book.qidian.com/info/1006853204 文化入侵异世界
https://book.qidian.com/info/1003713126 两界搬运工
https://book.qidian.com/info/1003438608 废土崛起
https://book.qidian.com/info/1003307002 机破星河
https://book.qidian.com/info/1010256698 位面之纨绔生涯
https://book.qidian.com/info/1007381925 电弧中的高级玩家
https://book.qidian.com/info/1010087571 绝世天才系统
https://book.qidian.com/info/1003504656 史上最强店主
https://book.qidian.com/info/1010942512 无限之穿越异类生命
https://book.qidian.com/info/1010168527 史上最强狗熊系统
https://book.qidian.com/info/1003290643 电影世界大盗
https://book.qidian.com/info/3501059 末世大回炉
https://book.qidian.com/info/1003353824 位面电梯
https://book.qidian.com/info/1010652335 宿主请留步
https://book.qidian.com/info/1010314675 末世之宠物为王
https://book.qidian.com/info/1010474128 欢迎来到BOSS队

@ -1,20 +0,0 @@
https://book.qidian.com/info/3394903 校花之贴身高手
https://book.qidian.com/info/1009398284 逆流纯真年代
https://book.qidian.com/info/1009915605 奶爸的文艺人生
https://book.qidian.com/info/1005405437 老衲要还俗
https://book.qidian.com/info/1003580078 重生之财源滚滚
https://book.qidian.com/info/1009531496 我的姐姐是大明星
https://book.qidian.com/info/3347936 重生之神级学霸
https://book.qidian.com/info/3347952 俗人回档
https://book.qidian.com/info/1009958915 都市至强者降临
https://book.qidian.com/info/1010438082 文娱万岁
https://book.qidian.com/info/3348355 至尊兵王
https://book.qidian.com/info/3361478 终极高手
https://book.qidian.com/info/1004589102 都市最强装逼系统
https://book.qidian.com/info/1009961135 重塑人生三十年
https://book.qidian.com/info/3368909 都市超强神医
https://book.qidian.com/info/1010236126 国际制造商
https://book.qidian.com/info/1010519180 我的明星老师
https://book.qidian.com/info/1006466524 重生之大娱乐家系统
https://book.qidian.com/info/1012136018 我只是个不用奋斗的小白脸
https://book.qidian.com/info/1623837 黄金瞳

@ -1,27 +0,0 @@
# coding = utf-8
import requests
import re
import os
Pre = 'https://www.qidian.com/rank/fin?chn='
Type = '&dateType=3'
dict = {'玄幻':'21','奇幻':'1','武侠':'2','仙侠':'22',
'都市':'4','现实':'15','军事':'6','历史':'5',
'游戏':'7','体育':'8','科幻':'9','悬疑灵异':'10',
'二次元':'12'}
def parse_one_page(html):
pattern = re.compile('<li\sdata-rid.*?<span class="rank-tag no.*?">(.*?)<cite>.*?<h4><a\shref="(.*?)".*?>(.*?)</a></h4>',re.S)
items = re.findall(pattern,html)
return items
for page in dict:
url = Pre + dict[page] + Type
print(url)
response = requests.get(url, verify=False)
total = 0
path = os.path.join('./Books',page)
for item in parse_one_page(response.text):
with open(path, 'a', encoding='utf-8') as file:
file.write( " " + "https:" + item[1] + " " + item[2] + '\n')

@ -0,0 +1,65 @@
# coding = utf-8
# 圈出图片中所有的人脸
import numpy as np
import math
import cv2
import dlib
path = '/Users/yanshao/Desktop/img/timg.jpeg'
Model = '/Users/yanshao/dlib/shape_predictor_5_face_landmarks.dat'
# 首先把图片转化为方形
detector = dlib.get_frontal_face_detector()
predictor = dlib.shape_predictor(Model)
def preprocess():
image = cv2.imread(path)
height, width, chl = image.shape[0], image.shape[1], image.shape[2]
rec = int(max(height, width) * 1.5)
pic = np.zeros((rec, rec, chl), np.uint8)
baseh, basew = (rec - height) // 2, (rec - width) // 2
pic[baseh:height + baseh, basew:width + basew] = image
return pic, rec
# 为了检测出图片中的所有人脸我们每次把图片翻转45度
def get_dist(point1, point2):
return math.sqrt((point1[0]-point2[0])*(point1[0]-point2[0]) +
(point1[1]-point2[1])*(point1[1]-point2[1]))
def get_pos(point, M):
return np.linalg.solve([[M[0][0], M[0][1]],
[M[1][0], M[1][1]]],
[point[0]-M[0][2], point[1]-M[1][2]]).astype(np.int32)
pic, rec = preprocess()
center = (rec//2,rec//2)
list = []
for ang in range(0, 8):
M = cv2.getRotationMatrix2D(center, 45*ang, 1)
pic2 = cv2.warpAffine(pic, M, (rec, rec))
dets = detector(pic2, 1)
print(len(dets))
for face in dets:
left, right, top, bot = face.left(), face.right(), face.top(), face.bottom()
LT, RB = get_pos((left, top), M), get_pos((right, bot), M)
list.append(((LT[0]+RB[0])//2, (LT[1]+RB[1])//2, (right-left)//2))
cv2.destroyAllWindows()
length = len(list)
for i in range(0, length):
flag = False
for j in range(0, i):
if get_dist(list[i], list[j]) < list[i][2]+list[j][2]:
flag = True
if not flag:
cv2.circle(pic, (list[i][0], list[i][1]), list[i][2], (0, 255, 0))
cv2.imshow("img", pic)
cv2.waitKey(0)
cv2.destroyAllWindows()
Loading…
Cancel
Save