This reverts commit d32f60d96a92587a4f74a0cc90d0a731e7ea2717.
This commit is contained in:
Xonshiz 2017-01-12 12:27:21 +05:30
parent 8e23d3dc70
commit 81dc5a2cfd
49 changed files with 40 additions and 288 deletions

234
.idea/workspace.xml generated
View File

@ -2,10 +2,17 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="52845b00-4ab8-4409-b4b9-d104838212e1" name="Default" comment="">
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/comic_dl/sites/kisscomicus.py" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/comic_dl/sites/readcomic.py" />
<change type="DELETED" beforePath="$PROJECT_DIR$/Images/Icon.ico" afterPath="" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Changelog.md" afterPath="$PROJECT_DIR$/Changelog.md" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Contributors.md" afterPath="$PROJECT_DIR$/Contributors.md" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Images/Icon.png" afterPath="$PROJECT_DIR$/Images/Icon.png" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/ReadMe.md" afterPath="$PROJECT_DIR$/ReadMe.md" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/docs/Changelog.md" afterPath="$PROJECT_DIR$/docs/Changelog.md" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/docs/Contributors.md" afterPath="$PROJECT_DIR$/docs/Contributors.md" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/docs/index.md" afterPath="$PROJECT_DIR$/docs/index.md" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/comic_dl/honcho.py" afterPath="$PROJECT_DIR$/comic_dl/honcho.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/comic_dl/sites/yomanga.py" afterPath="$PROJECT_DIR$/comic_dl/sites/yomanga.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/comic_dl/version.py" afterPath="$PROJECT_DIR$/comic_dl/version.py" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@ -17,7 +24,7 @@
</component>
<component name="CoverageDataManager">
<SUITE FILE_PATH="coverage/comic-dl$readcomic.coverage" NAME="readcomic Coverage Results" MODIFIED="1483330843656" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/comic_dl/sites" />
<SUITE FILE_PATH="coverage/comic-dl$comic_dl.coverage" NAME="comic_dl Coverage Results" MODIFIED="1484203725925" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/comic_dl" />
<SUITE FILE_PATH="coverage/comic-dl$comic_dl.coverage" NAME="comic_dl Coverage Results" MODIFIED="1483333656242" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/comic_dl" />
<SUITE FILE_PATH="coverage/comic-dl$comic_naver.coverage" NAME="comic_naver Coverage Results" MODIFIED="1483326807533" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/comic_dl/sites" />
</component>
<component name="CreatePatchCommitExecutor">
@ -25,11 +32,11 @@
</component>
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<leaf>
<file leaf-file-name="comic_dl.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/comic_dl/comic_dl.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<state relative-caret-position="-423">
<caret line="13" column="40" lean-forward="false" selection-start-line="13" selection-start-column="40" selection-end-line="13" selection-end-column="40" />
<folding>
<element signature="e#47#85#0" expanded="true" />
@ -38,84 +45,16 @@
</provider>
</entry>
</file>
<file leaf-file-name="honcho.py" pinned="false" current-in-tab="false">
<file leaf-file-name="honcho.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/comic_dl/honcho.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="479">
<caret line="55" column="30" lean-forward="false" selection-start-line="55" selection-start-column="30" selection-end-line="55" selection-end-column="30" />
<state relative-caret-position="369">
<caret line="31" column="0" lean-forward="false" selection-start-line="31" selection-start-column="0" selection-end-line="31" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="kissmanga.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/comic_dl/sites/kissmanga.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="7" column="35" lean-forward="false" selection-start-line="7" selection-start-column="35" selection-end-line="7" selection-end-column="35" />
<folding>
<element signature="e#2738#3530#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="yomanga.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/comic_dl/sites/yomanga.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="401">
<caret line="60" column="47" lean-forward="true" selection-start-line="59" selection-start-column="4" selection-end-line="60" selection-end-column="47" />
<folding>
<element signature="e#47#85#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="cookies_required.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/comic_dl/downloader/cookies_required.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="430">
<caret line="39" column="48" lean-forward="false" selection-start-line="39" selection-start-column="34" selection-end-line="39" selection-end-column="48" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="kisscomicus.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/comic_dl/sites/kisscomicus.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="303">
<caret line="53" column="55" lean-forward="true" selection-start-line="53" selection-start-column="55" selection-end-line="53" selection-end-column="55" />
<folding>
<element signature="e#47#62#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="__init__.py" pinned="false" current-in-tab="false">
<entry file="file://C:/Python27/Py2732/Lib/site-packages/cfscrape/__init__.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="320">
<caret line="151" column="8" lean-forward="false" selection-start-line="151" selection-start-column="8" selection-end-line="151" selection-end-column="8" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="readcomic.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/comic_dl/sites/readcomic.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="7" column="0" lean-forward="false" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="55" />
<folding>
<element signature="e#384#1537#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
@ -131,11 +70,9 @@
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/comic_dl/honcho.py" />
<option value="$PROJECT_DIR$/comic_dl/version.py" />
<option value="$PROJECT_DIR$/comic_dl/sites/readcomic.py" />
<option value="$PROJECT_DIR$/comic_dl/honcho.py" />
<option value="$PROJECT_DIR$/comic_dl/sites/yomanga.py" />
<option value="$PROJECT_DIR$/comic_dl/sites/kisscomicus.py" />
</list>
</option>
</component>
@ -271,7 +208,7 @@
<module name="comic-dl" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/comic_dl/comic_dl.py" />
<option name="PARAMETERS" value="-i &quot;http://kisscomic.us/chapters/sons-of-anarchy-redwood-original-chapter-6.html&quot;" />
<option name="PARAMETERS" value="-i &quot;http://readcomiconline.to/Comic/JLA-Paradise-Lost&quot;" />
<option name="SHOW_COMMAND_LINE" value="false" />
<method />
</configuration>
@ -382,12 +319,6 @@
<method />
</configuration>
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
<node-interpreter>project</node-interpreter>
<node-options />
<gulpfile />
<tasks />
<arguments />
<envs />
<method />
</configuration>
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
@ -535,15 +466,16 @@
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<editor active="true" />
<editor active="false" />
<layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.26066098" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25266525" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32900432" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32900432" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
@ -553,7 +485,6 @@
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
</layout>
</component>
@ -570,56 +501,13 @@
<watches-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/comic_dl/comic_dl.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="13" column="40" lean-forward="false" selection-start-line="13" selection-start-column="40" selection-end-line="13" selection-end-column="40" />
<folding>
<element signature="e#47#85#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/honcho.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/comic_dl.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="13" column="40" lean-forward="false" selection-start-line="13" selection-start-column="40" selection-end-line="13" selection-end-column="40" />
<folding>
<element signature="e#47#85#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/honcho.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="459">
<caret line="31" column="0" lean-forward="false" selection-start-line="31" selection-start-column="0" selection-end-line="31" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/comic_dl.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<element signature="e#47#85#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/sites/comic_naver.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="395">
<caret line="52" column="39" lean-forward="false" selection-start-line="51" selection-start-column="8" selection-end-line="52" selection-end-column="39" />
<folding>
<element signature="e#47#86#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
@ -627,6 +515,7 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="303">
<caret line="34" column="52" lean-forward="false" selection-start-line="34" selection-start-column="37" selection-end-line="34" selection-end-column="52" />
<folding />
</state>
</provider>
</entry>
@ -634,12 +523,23 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="102">
<caret line="6" column="19" lean-forward="false" selection-start-line="6" selection-start-column="19" selection-end-line="6" selection-end-column="19" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/sites/readcomic.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="629">
<caret line="37" column="30" lean-forward="true" selection-start-line="37" selection-start-column="30" selection-end-line="37" selection-end-column="30" />
<folding>
<element signature="e#47#86#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/comic_dl.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<state relative-caret-position="-423">
<caret line="13" column="40" lean-forward="false" selection-start-line="13" selection-start-column="40" selection-end-line="13" selection-end-column="40" />
<folding>
<element signature="e#47#85#0" expanded="true" />
@ -649,67 +549,11 @@
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/honcho.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="479">
<caret line="55" column="30" lean-forward="false" selection-start-line="55" selection-start-column="30" selection-end-line="55" selection-end-column="30" />
<state relative-caret-position="369">
<caret line="31" column="0" lean-forward="false" selection-start-line="31" selection-start-column="0" selection-end-line="31" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/sites/readcomic.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="7" column="0" lean-forward="false" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="55" />
<folding>
<element signature="e#384#1537#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://C:/Python27/Py2732/Lib/site-packages/cfscrape/__init__.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="320">
<caret line="151" column="8" lean-forward="false" selection-start-line="151" selection-start-column="8" selection-end-line="151" selection-end-column="8" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/sites/kissmanga.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="7" column="35" lean-forward="false" selection-start-line="7" selection-start-column="35" selection-end-line="7" selection-end-column="35" />
<folding>
<element signature="e#2738#3530#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/sites/yomanga.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="401">
<caret line="60" column="47" lean-forward="true" selection-start-line="59" selection-start-column="4" selection-end-line="60" selection-end-column="47" />
<folding>
<element signature="e#47#85#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/downloader/cookies_required.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="430">
<caret line="39" column="48" lean-forward="false" selection-start-line="39" selection-start-column="34" selection-end-line="39" selection-end-column="48" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/comic_dl/sites/kisscomicus.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="303">
<caret line="53" column="55" lean-forward="true" selection-start-line="53" selection-start-column="55" selection-end-line="53" selection-end-column="55" />
<folding>
<element signature="e#47#62#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component>
</project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 924 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1004 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

View File

@ -20,7 +20,6 @@ from sites.batoto import batoto_Url_Check
from sites.kissmanga import kissmanga_Url_Check
from sites.comic_naver import comic_naver_Url_Check
from sites.readcomic import readcomic_Url_Check
from sites.kisscomicus import kissmcomicus_Url_Check
from downloader import universal,cookies_required
from urllib.parse import urlparse
@ -48,12 +47,8 @@ def url_checker(input_url, current_directory, User_Name, User_Password):
elif domain in ['comic.naver.com']:
comic_naver_Url_Check(input_url, current_directory)
elif domain in ['readcomiconline.to']:
readcomic_Url_Check(input_url, current_directory)
elif domain in ['kisscomic.us']:
kissmcomicus_Url_Check(input_url, current_directory)
elif domain in ['']:
print('You need to specify at least 1 URL. Please run : comic-dl -h')

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,86 +0,0 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import cfscrape
import re
from bs4 import BeautifulSoup
import os
# from downloader.universal import main as FileDownloader
from downloader.cookies_required import main as FileDownloader
import requests
def single_chapter(url, directory):
# print("I'm single!")
sess = requests.session()
sess = cfscrape.create_scraper(sess)
s = sess.get(url)
cookies = sess.cookies
connection = s.text.encode('utf-8')
# print(cookies)
soup = BeautifulSoup(connection, "html.parser")
Series_Name_Finder = soup.findAll('ul', {'class': 'back-info'})
for link in Series_Name_Finder:
x = link.findAll('a')
for a in x:
# print(a['href'])
raw_name = a['href']
Series_Name = str(raw_name.split("/")[2]).replace(".html","").replace("-"," ").title().strip()
# print("Series Name : %s" % Series_Name)
chapter_number = int(str(url).split("-")[-1].replace(".html",""))
# print("Chapter Number : %s" % chapter_number)
Raw_File_Directory = str(Series_Name) + '/' + "Chapter " + str(chapter_number)
File_Directory = re.sub('[^A-Za-z0-9\-\.\'\#\/ ]+', '',
Raw_File_Directory) # Fix for "Special Characters" in The series name
Directory_path = os.path.normpath(File_Directory)
print('\n')
print('{:^80}'.format('=====================================================================\n'))
print('{:^80}'.format('%s - %s') % (Series_Name, chapter_number))
print('{:^80}'.format('=====================================================================\n'))
# soup = BeautifulSoup(connection, "html.parser")
linkFinder = soup.findAll('ul', {'class': 'list-image'})
# print("Link Finder :s %s" % linkFinder)
for link in linkFinder:
x = link.findAll('img')
for a in x:
if not os.path.exists(File_Directory):
os.makedirs(File_Directory)
ddlLink = a['src']
fileName = str(ddlLink).split("/")[-1].strip()
# print("Link : %s\nFile Name : %s" % (ddlLink, fileName))
FileDownloader(File_Name_Final=fileName, Directory_path=File_Directory, tasty_cookies=cookies, ddl_image=ddlLink, )
print('\n')
print("Completed downloading %s" % Series_Name)
def whole_series(url, directory):
print("I'm NOT single!")
def kissmcomicus_Url_Check(input_url, current_directory):
kissmcomicus_single_regex = re.compile('https?://(?P<host>[^/]+)/chapters/(?P<comic>[\d\w-]+)(?:/Issue-)?')
kissmcomicus_whole_regex = re.compile('https?://(?P<host>[^/]+)/comics/(?P<comic_name>[\d\w-]+)?')
lines = input_url.split('\n')
for line in lines:
found = re.search(kissmcomicus_single_regex, line)
if found:
match = found.groupdict()
if match['comic']:
url = str(input_url)
single_chapter(url, current_directory)
else:
pass
found = re.search(kissmcomicus_whole_regex, line)
if found:
match = found.groupdict()
if match['comic_name']:
url = str(input_url)
whole_series(url, current_directory)
else:
pass

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -25,7 +25,6 @@ def single_chapter(url,current_directory):
s = requests.Session()
response = s.get(url, headers=headers)
tasty_cookies = response.cookies
# print(tasty_cookies)
Page_source = str(response.text.encode('utf-8'))

Binary file not shown.

View File

@ -4,4 +4,4 @@ Date Format : YY/MM/DD
'''
__version__ = '2017.01.12'
__version__ = '2017.01.02'

Binary file not shown.