hurik / mangamanageranddownloader Goto Github PK
View Code? Open in Web Editor NEWLittle tool to manga and download mangas from various sites.
License: MIT License
Little tool to manga and download mangas from various sites.
License: MIT License
I've gotten and built the latest version from git master, and when I select KissManga and hit 'update', the progress wheel spins for a long time (around a minute or two) and then disappears. I click 'select' to select KissManga to add a subscription, and it says 'Please update site before continuing!' even though I just tried to do that.
I've also noticed bato.to is failing to update.
Try 1 of 5. Link: https://bato.to/comic/_/comics/?per_page=1000&st=8000. Error: Read timed out
Try 1 of 5. Link: http://kissmanga.com/MangaList?page=135. Error: Read timed out
In addition all the other sites when I hit 'update all' appear to be successful according to the console but they still say 'no list present' and don't let me select them. If it matters, I run debian linux (currently debian 8).
Is this stillbeing developed, or is it defunct?
I am trying to write the parser mangachan.ru.
Troubleshootingget a reference to the image of the string line.
package de.andreasgiemza.mangadownloader.sites.implementations.russian;
import de.andreasgiemza.mangadownloader.data.Chapter;
import de.andreasgiemza.mangadownloader.data.Image;
import de.andreasgiemza.mangadownloader.data.Manga;
import de.andreasgiemza.mangadownloader.helpers.JsoupHelper;
import de.andreasgiemza.mangadownloader.sites.Site;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
*
@author yuuki
*/
public class Mangachan implements Site {
private final String name = "Mangachan";
private final String url = "http://mangachan.ru/";
private final List language = Arrays.asList("Russian");
private final Boolean watermarks = true;
@OverRide
public List getMangaList() throws Exception {
List mangas = new LinkedList<>();
Document doc = JsoupHelper.getHTMLPage(url + "/catalog");
Elements nav = doc.select("div[id=pagination]")
.first().select("span").first().select("a");
for (int i = 0; i <= 10000; i=i+20) {
if (i != 0) {
doc = JsoupHelper.getHTMLPage(url + "/catalog" + "?offset=" + i);
}
Elements rows = doc.select("div[id=content]").first()
.select("div[class=content_row]").select("div[class=manga_row1]");
for (Element row : rows) {
Element link = row.select("a").get(1);
mangas.add(new Manga(link.attr("abs:href"), link.text()));
}
}
return mangas;
}
@OverRide
public List getChapterList(Manga manga) throws Exception {
List chapters = new LinkedList<>();
Document doc = JsoupHelper.getHTMLPage(manga.getLink());
Elements rows = doc.select("div[class=manga]");
for (Element row : rows) {
Element link = row.select("a").first();
chapters.add(new Chapter(manga, link.attr("abs:href"), link.text()));
}
return chapters;
}
@OverRide
public List getChapterImageLinks(Chapter chapter) throws Exception {
List images = new LinkedList<>();
String referrer = url + chapter.getLink()+"#page=1";
Document doc = JsoupHelper.getHTMLPage(referrer);
/*get html from string line
"fullimg":["http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_000.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_001.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_002.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_003.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_004.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_005.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_006.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_007.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_008.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_009.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_010.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_011.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_012.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_013.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_014.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_015.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_016.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_017.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_018.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_019.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_020.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_021.webp","http://im.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_022.webp","http://im2.mangachan.ru/manganew_webp/t/1318976596_the-neighbours-doll_v0_ch0/the-neighbours-doll_v0_ch0_023.webp",]
*/
}
}
}
break;
}
}
return images;
}
@OverRide
public String getName() {
return name;
}
@OverRide
public String getUrl() {
return url;
}
@OverRide
public List getLanguage() {
return language;
}
@OverRide
public Boolean hasWatermarks() {
return watermarks;
}
}
could you please fix readmanga toady and also i cant update manga cow
i try go to \src\main\java\de\andreasgiemza\mangadownloader and java -jar MangaDownloader.jar.
java -jar MangaDownloader.java but none worked
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.