mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
utility for testing feeds
This commit is contained in:
@@ -223,4 +223,11 @@ public class HttpGetter {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
CommaFeedConfiguration config = new CommaFeedConfiguration();
|
||||
HttpGetter getter = new HttpGetter(config);
|
||||
HttpResult result = getter.getBinary("https://sourceforge.net/projects/mpv-player-windows/rss", 30000);
|
||||
System.out.println(new String(result.content));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user