Prepend teenplanet album directories with 'teenplanet'

This commit is contained in:
4pr0n 2014-04-21 00:16:46 -07:00
parent acc7f87ad5
commit 749d0dfb87

View File

@ -42,7 +42,7 @@ public class TeenplanetRipper extends AlbumRipper {
albumDoc = Jsoup.connect(url.toExternalForm()).get(); albumDoc = Jsoup.connect(url.toExternalForm()).get();
} }
Elements elems = albumDoc.select("div.header > h2"); Elements elems = albumDoc.select("div.header > h2");
return elems.get(0).text(); return HOST + "_" + elems.get(0).text();
} catch (Exception e) { } catch (Exception e) {
// Fall back to default album naming convention // Fall back to default album naming convention
e.printStackTrace(); e.printStackTrace();