Fix typos (#12)
This commit is contained in:
parent
ab530381cf
commit
7581c1200b
6 changed files with 6 additions and 6 deletions
|
@ -37,7 +37,7 @@ public class ChannelInfo implements Serializable{
|
||||||
throws ParsingException {
|
throws ParsingException {
|
||||||
ChannelInfo info = new ChannelInfo();
|
ChannelInfo info = new ChannelInfo();
|
||||||
|
|
||||||
// importand data
|
// important data
|
||||||
info.service_id = extractor.getServiceId();
|
info.service_id = extractor.getServiceId();
|
||||||
info.channel_name = extractor.getChannelName();
|
info.channel_name = extractor.getChannelName();
|
||||||
info.hasNextPage = extractor.hasNextPage();
|
info.hasNextPage = extractor.hasNextPage();
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class ChannelInfoItemCollector extends InfoItemCollector {
|
||||||
|
|
||||||
public ChannelInfoItem extract(ChannelInfoItemExtractor extractor) throws ParsingException {
|
public ChannelInfoItem extract(ChannelInfoItemExtractor extractor) throws ParsingException {
|
||||||
ChannelInfoItem resultItem = new ChannelInfoItem();
|
ChannelInfoItem resultItem = new ChannelInfoItem();
|
||||||
// importand information
|
// important information
|
||||||
resultItem.channelName = extractor.getChannelName();
|
resultItem.channelName = extractor.getChannelName();
|
||||||
|
|
||||||
resultItem.serviceId = getServiceId();
|
resultItem.serviceId = getServiceId();
|
||||||
|
|
|
@ -228,7 +228,7 @@ public class YoutubeChannelExtractor extends ChannelExtractor {
|
||||||
return li.text();
|
return li.text();
|
||||||
}
|
}
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
throw new ParsingException("Could not get uplaod date", e);
|
throw new ParsingException("Could not get upload date", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@ public class YoutubeStreamInfoItemExtractor implements StreamInfoItemExtractor {
|
||||||
return div.select("li").first().text();
|
return div.select("li").first().text();
|
||||||
}
|
}
|
||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
throw new ParsingException("Could not get uplaod date", e);
|
throw new ParsingException("Could not get upload date", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class StreamInfoItemCollector extends InfoItemCollector {
|
||||||
}
|
}
|
||||||
|
|
||||||
StreamInfoItem resultItem = new StreamInfoItem();
|
StreamInfoItem resultItem = new StreamInfoItem();
|
||||||
// importand information
|
// important information
|
||||||
resultItem.service_id = getServiceId();
|
resultItem.service_id = getServiceId();
|
||||||
resultItem.webpage_url = extractor.getWebPageUrl();
|
resultItem.webpage_url = extractor.getWebPageUrl();
|
||||||
if (getUrlIdHandler() == null) {
|
if (getUrlIdHandler() == null) {
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class VideoStream implements Serializable {
|
||||||
this.isVideoOnly = isVideoOnly;
|
this.isVideoOnly = isVideoOnly;
|
||||||
}
|
}
|
||||||
|
|
||||||
// reveals whether two streams are the same, but have diferent urls
|
// reveals whether two streams are the same, but have different urls
|
||||||
public boolean equalStats(VideoStream cmp) {
|
public boolean equalStats(VideoStream cmp) {
|
||||||
return format == cmp.format && resolution.equals(cmp.resolution);
|
return format == cmp.format && resolution.equals(cmp.resolution);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue