@Override
public String[] export() {
List<String> subscriptions = new ArrayList<String>();
try {
URL url = createURL();
YouTubeService serv = new YouTubeService(null);
YouTubeQuery query = new YouTubeQuery(url);
query.setMaxResults(MAX_RESULTS);
int i = 1;
while (true) {
query.setStartIndex(i);
SubscriptionFeed feed = serv.query(query, SubscriptionFeed.class);
for (SubscriptionEntry entry : feed.getEntries()) {
subscriptions.add(entry.getUsername());
}
i += MAX_RESULTS;
if (i > feed.getTotalResults()) {