Added manga-py source

This commit is contained in:
2019-12-14 22:33:14 -05:00
parent 9a4dd4b09b
commit 45067caea6
420 changed files with 18054 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2017 yuru-yuri
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1 @@
Go to [README.md](https://github.com/manga-py/manga-py/blob/master/README_RU.md)

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="./favicon/ms-icon-70x70.png"/><square150x150logo src="./favicon/ms-icon-150x150.png"/><square310x310logo src="./favicon/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>

View File

@@ -0,0 +1,58 @@
((d) => {
d.addEventListener('DOMContentLoaded', () => {
/** global: repoUrl */
if(typeof repoUrl == 'undefined')
{
// example: https://api.github.com/repos/manga-py/manga-py/releases/latest
// example: https://api.github.com/repos/yuru-yuri/manga-py/releases/latest
return;
}
fetch(repoUrl)
.then(r => r.json())
.then((r) => {
const links = d.querySelector('#download-links');
const tar = links.querySelector('.tar');
const zip = links.querySelector('.zip');
tar.setAttribute('href', r.tarball_url);
tar.setAttribute('active', 'true');
zip.setAttribute('href', r.zipball_url);
zip.setAttribute('active', 'true');
});
const ul = d.querySelector('#supported-list');
if(!ul)
{
return;
}
fetch('./providers.json')
.then(r => r.json())
.then((r) => {
let html = '', m = 0, done = 0;
const sites = [];
for(let i in r) {
if (!r.hasOwnProperty(i)) continue;
m+=1;
html += '<li><input id="I' + m + '" type="checkbox" ' +
(r[i][1] ? 'checked="" ' : '') +
'disabled=""><label for="I' + m + '"></label><span>' +
'<a target="_blank" href="' +
r[i][0] + '">' +
r[i][0] + '</a> ' +
r[i][2] + '</span></li>';
done += r[i][1] ? 1 : 0;
r[i][1] && sites.push(r[i][0]);
}
ul.innerHTML = ('<!-- ' + r.length + ' ( ' + done + ' ) -->') + html;
let sitesLen = sites.length;
const buttonElement = document.querySelector('#random-site');
buttonElement.setAttribute('target', '_blank');
buttonElement.addEventListener('click', () => {
const idx = parseInt(Math.random() * sitesLen);
buttonElement.setAttribute('href', sites[idx]);
return true;
});
});
});
})(document);

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@@ -0,0 +1,252 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="keywords" content="manga,manga downloader,download manga,скачать манга,скачать мангу,манга">
<link href="./style.css" media="all" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto&amp;subset=cyrillic-ext,latin-ext" rel="stylesheet">
<title>Universal manga downloader :: Plans for improvement</title>
<link rel="apple-touch-icon" sizes="57x57" href="./favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="./favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="./favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="./favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="./favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="./favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="./favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="./favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="./favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="./favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="96x96" href="./favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon/favicon-16x16.png">
<link rel="manifest" href="./manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="./favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<script>const repoUrl = 'https://api.github.com/repos/__repo_name__/releases/latest';</script>
<script src="download_btns.js"></script>
</head>
<body>
<div class="container">
<div class="header">
<h1 class="panel">Manga downloader</h1>
<h2 class="h2-panel">Plans for improvement</h2>
<div id="download-links" class="download-links">
<a href="https://github.com/__repo_name__/zipball/master">Download .zip</a>
<a href="https://github.com/__repo_name__/tarball/master">Download .tar</a>
</div>
</div>
<ul class="links">
<li>
<a href="https://github.com/__repo_name__/#universal-assistant-download-manga">Documentation</a>
</li>
<li>
<a href="./#resources-list">Resources list</a>
</li>
</ul>
<hr>
<div class="content">
<div class="content-inner-wrapper">
<h4 class="h-ul" data-symbol="1">
Implement providers for the following resources:
</h4>
<ul class="list">
<!--<li>
http://mangabackup.com
</li>
<li>
http://mimotomi.com/manga
</li>
http://tits.asianhotties.me
</li>
<li>
http://mangaboom.com
</li>
<li>
http://eyeonmanga.com
</li>
<li>
http://mg-zip.com
</li>
<li>
http://saikoscans.ml
</li>
<li>
http://mangasmash.com
</li>
<li>
http://maigo.us
</li>
<li>
http://www.friendshipscans.com
http://www.friendshipscans.com/slide/directory/
</li>
<li>
http://www.friendshipscans.com
http://www.friendshipscans.com/slide/directory/
</li>-->
<li>
http://comicride.jp
</li>
<li>
http://exhentai.org
</li>
<li>
http://lhscans.com
</li>
<li>
http://https://imgur.com
<!--http://https://imgur.com/a/f9tpg-->
</li>
<li>
http://mangahost.cc
</li>
<li>
http://manga.madokami.al
<!-- END DAY -->
</li>
<li>
http://3asq.info
</li>
<li>
http://hamtruyen.com
</li>
<li>
http://nettruyen.com
</li>
<li>
http://truyenchon.com
</li>
<li>
http://manga.mexat.com
</li>
<li>
http://hamtruyen.com
</li>
<li>
http://reader.sworddemon-scans.org/directory/
</li>
<li>
http://sworddemon-scans.org
<!--http://sworddemon-scans.org/reader/directory/-->
<!--http://sworddemon-scans.org/knts/directory/-->
</li>
<li>
http://choutensei.260mb.net
<!--http://choutensei.260mb.net/directory/-->
</li>
<!--http://gofansub.net/visor/-->
<!--<li>
http://bmanga.net
&lt;!&ndash;http://bmanga.net/mangas/&ndash;&gt;
</li>-->
<li>
http://yaoimangaonline.com
</li>
</ul>
<h4 class="h-ul" data-symbol="2">Maybe</h4>
<ul>
<li>
http://comic-meteor.jp
</li>
<li>
http://mangaz.com
</li>
<li>
http://comic-polaris.jp
</li>
<li>
http://comic.mag-garden.co.jp
</li>
<li>
http://www.comic-valkyrie.com
</li>
<li>
http://seiga.nicovideo.jp/manga/official/biggangan
</li>
<li>
http://www.alphapolis.co.jp
</li>
<li>
http://urasunday.com/index.html
</li>
<li>
http://comic.naver.com/index.nhn
</li>
<li>
http://comic-walker.com
</li>
<li>
http://lezhin.com
</li>
<li>
http://mangaz.com
</li>
<li>
http://exhentai.org
</li>
<li>
http://gameofscanlation.moe
</li>
<!--<li>
http://kumanga.com
</li>-->
<li>
http://lhtranslation.com
</li>
<li>
http://manga.madokami.al
</li>
<li>
http://corocoro.tv/webmanga/index.html
</li>
<li>
http://s-manga.net
</li>
<li>
http://sunday-webry.com
</li>
<li>
http://lhtranslation.com
</li>
<li>
http://ebookrenta.com
</li>
<li>
http://crunchyroll.com <!-- flash -->
</li>
<li>
http://buenaisla.net - Poor site structure
<!--http://buenaisla.net/temas/categoria-manga-->
</li>
<li>
http://nude-moon.me/
</li>
</ul>
<!--mangadex.com-->
<!--lhtranslation.net-->
<!--https://theporndude.com/ru/hentai-porn-sites - need more sites -->
<h4 class="h-ul" data-symbol="3">
Implement an online resource that allows you to download manga without a PC.
<span class="subcontent"> - Questionable</span>
</h4>
<h4 class="h-ul h-ul-two" data-symbol="3.1">
Perhaps, to make a project on Heroku to implement the previous paragraph.
<span class="subcontent"> - Questionable</span>
</h4>
<h4 class="h-ul" data-symbol="4">
Learn more sites with the ability to read manga online
</h4>
</div>
<div class="last-update">Latest update: __last_update__</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,85 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="keywords" content="manga,manga downloader,download manga,скачать манга,скачать мангу,манга">
<link href="./style.css" media="all" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto&amp;subset=cyrillic-ext,latin-ext" rel="stylesheet">
<title>Universal manga downloader</title>
<link rel="apple-touch-icon" sizes="57x57" href="./favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="./favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="./favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="./favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="./favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="./favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="./favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="./favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="./favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="./favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="./favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon/favicon-16x16.png">
<link rel="manifest" href="./manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="./favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<script>const repoUrl = 'https://api.github.com/repos/__repo_name__/releases/latest';</script>
<script src="download_btns.js"></script>
<style>
i.d {color: #4f0800}i.d:after{content: ' - Debug mode'}
i.td {color: #4f0800}i.d:after{content: ' - Need test. Debug mode'}
i.v0 {color: #005}i.v0:after{content: ' - Version 0.x only'}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1 class="panel">Manga downloader</h1>
<div id="download-links" class="download-links">
<a class="zip" href="https://github.com/__repo_name__/zipball/master">Download .zip</a>
<a class="tar" href="https://github.com/__repo_name__/tarball/master">Download .tar</a>
</div>
</div>
<ul class="links">
<li>
<a href="https://github.com/__repo_name__/#universal-assistant-download-manga">Documentation</a>
</li><li>
<a href="./improvement.html">Plans for improvement</a>
</li><li>
<a href="#random" id="random-site">Go to random site</a>
</li>
</ul>
<hr>
<div class="resources-list">
<a name="resources-list"></a>
<ul class="list" id="supported-list"></ul>
</div>
<div class="questions">
<h2 class="panel">Questions</h2>
<ul>
<li>
<div class="quest">How to offer more resources?</div>
<div class="answer">
Very simple. Write to me at sttv&#45;pc&#64;mail&#46;ru or make a pull-request on &nbsp;
<a target="_blank" href="https://github.com/__repo_name__/pulls"> github.com</a>
</div>
</li>
<li>
<div class="quest">How to help?</div>
<div class="answer">
You can also make a &nbsp;
<a target="_blank" href="https://github.com/__repo_name__/pulls">pull-request</a>,
or create an &nbsp;
<a target="_blank" href="https://github.com/__repo_name__/issues">issue</a>.<br>
You can also crawl more
sites that have a manga online reading available.
</div>
</li>
</ul>
</div>
<div class="last-update">Latest update: __last_update__</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,41 @@
{
"name": "App",
"icons": [
{
"src": ".\/favicon\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": ".\/favicon\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": ".\/favicon\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": ".\/favicon\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": ".\/favicon\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": ".\/favicon\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}

View File

@@ -0,0 +1 @@
<svg viewBox="0 0 49 41" xmlns="http://www.w3.org/2000/svg"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><polyline id="Path" stroke="#4291DB" stroke-width="11" points="3.75653148 18.9804052 22.7537424 33.0899986 44.5883171 3.49546922"></polyline></g></svg>

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -0,0 +1,355 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
background: #fff;
font-size: 16px;
font-family: 'Roboto', 'Noto', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
display: block;
&.panel {
border-bottom: 1px solid #eaecef;
padding: .5rem .6rem;
max-width: 31.875rem;
}
}
.header h2.h2-panel {
font-size: 1.9rem;
max-width: 100%;
padding: .5rem .6rem;
}
h1 {
font-weight: bold;
font-size: 2.6rem;
margin-bottom: .2rem;
}
h2 {
font-weight: bold;
font-size: 2.2rem;
}
h3 {
font-weight: bold;
font-size: 1.8rem;
}
h4 {
font-weight: bold;
font-size: 1.4rem;
}
h5 {
font-weight: bold;
font-size: 1.2rem;
}
h6 {
font-size: 1.2rem;
color: #776;
}
a[href] {
color: #7bc7ff;
font-size: 1.1rem;
text-decoration: underline;
&:hover {
text-decoration: none;
}
}
ul.links {
& > li {
line-height: 3rem;
display: inline-flex;
margin-bottom: .5rem;
margin-right: .5rem;
}
a {
line-height: 1.25;
text-align: center;
white-space: nowrap;
vertical-align: middle;
user-select: none;
border: 1px solid #ccc;
padding: .5rem 1rem;
font-size: 1rem;
border-radius: .25rem;
transition: all .2s ease-in-out;
color: #292b2c;
background-color: #fff;
}
}
ul, ul > li {
list-style: none;
}
ul {
padding: 1rem 1rem;
background: #f6f8fa;
}
hr {
padding-bottom: 0.3em;
font-size: 1.5em;
border: 0;
border-bottom: 1px solid #eaecef;
margin: 0;
}
.questions {
font-size: 1.4rem;
li {
padding-left: 1rem;
& + li {
padding-top: 1rem;
}
}
.quest {
font-weight: bold;
padding-bottom: .3rem;
}
}
ul.list li {
& + li {
padding-top: .5rem;
}
a {
color: #63a7d2;
line-height: 1.7rem;
}
$blue: rgba(66, 145, 219, 0.53);
$active-blue: rgba(186, 214, 241, 0.53);
label {
position: relative;
cursor: pointer;
padding-left: 1em;
}
input[type=checkbox] {
display: none;
//position: absolute;
//width: 1px;
//height: 1px;
//border: 0 none;
//background: transparent;
//margin: 0;
//margin-top: 5px;
& + label {
background: #fff no-repeat center left 2px;
display: inline-block;
width: 1rem;
height: 1.25rem;
top: -.01rem;
position: relative;
border-radius: 3px;
border: 2px solid $active-blue;
//transition: border .3s ease;
font-size: 1rem;
box-sizing: border-box;
margin-right: .4rem;
}
&:checked {
& + label {
background-image: url('ok_flag.svg');
background-size: 75%;
border-color: $blue;
}
}
}
}
.header {
position: relative;
}
.download-links {
position: absolute;
top: .5rem;
right: 1rem;
a {
background: url('sprite_download.png');
background-position-y: bottom;
display: inline-block;
width: 90px;
height: 70px;
text-indent: -5000px;
overflow: hidden;
opacity: .9;
& + a {
background-position-x: right;
}
&[active] {
opacity: 1;
}
}
}
.container {
width: 100%;
margin: auto;
background: #f5f7fa;
min-height: 100vh;
}
// Small devices (landscape phones, 576px and up)
@media (max-width: 767px) {
.header h1.panel,
.header h2 {
max-width: 20rem;
max-width: calc(100% - 185px);
font-size: 2.2rem;
}
}
@media (max-width: 360px) {
.header h1.panel {
padding-top: 3rem;
}
}
@media (max-width: 575px) {
.header h1.panel {
max-width: 16rem;
max-width: calc(100% - 165px);
}
.download-links {
right: .1rem;
transform: scale(.9);
}
}
@media (min-width: 576px) {
.container {
width: 550px;
}
}
// Medium devices (tablets, 768px and up)
@media (min-width: 768px) {
.container {
width: 750px;
}
}
// Large devices (desktops, 992px and up)
@media (min-width: 992px) {
.container {
width: 750px;
}
}
// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) {
.container {
width: 750px;
}
}
// touch devices
@media (pointer: coarse) {
ul.list li {
a {
font-size: 1.4rem;
}
& + li {
padding-top: 1rem;
}
}
}
h4[data-symbol] {
margin-left: 1.3rem;
position: relative;
&:after {
font-weight: 500;
font-size: 1.2rem;
opacity: .9;
font-style: normal;
content: attr(data-symbol) ")";
position: absolute;
left: -1rem;
top: 1.05rem;
}
}
.h-ul {
padding: 1rem 1rem 0;
&.h-ul-two {
padding: 1rem 1rem 0 2rem;
}
}
.content-inner-wrapper {
padding-left: .4rem;
}
span.subcontent {
font-size: 1rem;
font-weight: normal;
color: #565656;
}
.last-update {
text-align: center;
font-size: .7rem;
color: #ccc;
padding-bottom: 1rem;
}