*Plugins: Fixes/Changes/Maintenance*

- twittercomcrawler: added test for better auto packaging

git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@48245 ebf7c1c2-ba36-0410-9fe8-c592906822b4

Former-commit-id: 2c6f77db5cb73d168bedd8a76b23934a333b0004
This commit is contained in:
psp 2023-09-01 13:58:41 +00:00
parent b748567e76
commit f48d443f00

View File

@ -38,6 +38,7 @@ import java.util.regex.PatternSyntaxException;
import org.appwork.storage.JSonStorage;
import org.appwork.storage.TypeRef;
import org.appwork.utils.DebugMode;
import org.appwork.utils.StringUtils;
import org.appwork.utils.Time;
import org.appwork.utils.formatter.TimeFormatter;
@ -1192,6 +1193,9 @@ public class TwitterComCrawler extends PluginForDecrypt {
final Number statuses_count = (Number) user.get("statuses_count");
final String userID = user.get("id_str").toString();
final FilePackage fp = FilePackage.getInstance();
if (DebugMode.TRUE_IN_IDE_ELSE_FALSE) {
fp.setPackageKey(userID);
}
fp.setName(username);
final HashSet<String> cursorDupes = new HashSet<String>();
final ArrayList<DownloadLink> ret = new ArrayList<DownloadLink>();