mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-07-31 02:50:15 +02:00
Chan ripper now falls back on page title if thread title can not be found
This commit is contained in:
@@ -68,8 +68,7 @@ public class ChanRipper extends AbstractHTMLRipper {
|
|||||||
if (subject != null) {
|
if (subject != null) {
|
||||||
return getHost() + "_" + getGID(url) + "_" + subject;
|
return getHost() + "_" + getGID(url) + "_" + subject;
|
||||||
}
|
}
|
||||||
subject = doc.select("title").text();
|
return doc.select("title").first().text();
|
||||||
return getHost() + "_" + getGID(url) + "_" + subject;
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// Fall back to default album naming convention
|
// Fall back to default album naming convention
|
||||||
logger.warn("Failed to get album title from " + url, e);
|
logger.warn("Failed to get album title from " + url, e);
|
||||||
|
Reference in New Issue
Block a user