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) {
|
||||
return getHost() + "_" + getGID(url) + "_" + subject;
|
||||
}
|
||||
subject = doc.select("title").text();
|
||||
return getHost() + "_" + getGID(url) + "_" + subject;
|
||||
return doc.select("title").first().text();
|
||||
} catch (Exception e) {
|
||||
// Fall back to default album naming convention
|
||||
logger.warn("Failed to get album title from " + url, e);
|
||||
|
Reference in New Issue
Block a user