修复音乐文件获取为空的问题
This commit is contained in:
@@ -66,11 +66,11 @@ public class BTDownloadManager implements ApplicationContextAware {
|
||||
}
|
||||
}
|
||||
private String getDmhyUrl(BangumiItem item){
|
||||
String dmhyUrl = "http://share.dmhy.org/topics/rss/page/1/rss.xml?keyword=%s%s%s&order=date-desc";
|
||||
String dmhyUrl = "http://share.dmhy.org/topics/rss/page/1/rss.xml?keyword=%s%s&order=date-desc";
|
||||
dmhyUrl = String.format(dmhyUrl,
|
||||
item.getTitlekey().replace(" ", "+"),
|
||||
"-1".equals(item.getCategories()) ? "" : String.format("&sort_id=%s", item.getCategories()),
|
||||
"-1".equals(item.getAuthor()) ? "" : String.format("&team_id=%s", item.getAuthor()));
|
||||
"-1".equals(item.getCategories()) ? "" : String.format("&sort_id=%s", item.getCategories())
|
||||
);
|
||||
return dmhyUrl;
|
||||
}
|
||||
private String getRSSUrl(BangumiItem item) {
|
||||
|
||||
Reference in New Issue
Block a user