Fix typos (#12)
This commit is contained in:
parent
ab530381cf
commit
7581c1200b
|
@ -37,7 +37,7 @@ public class ChannelInfo implements Serializable{
|
|||
throws ParsingException {
|
||||
ChannelInfo info = new ChannelInfo();
|
||||
|
||||
// importand data
|
||||
// important data
|
||||
info.service_id = extractor.getServiceId();
|
||||
info.channel_name = extractor.getChannelName();
|
||||
info.hasNextPage = extractor.hasNextPage();
|
||||
|
|
|
@ -34,7 +34,7 @@ public class ChannelInfoItemCollector extends InfoItemCollector {
|
|||
|
||||
public ChannelInfoItem extract(ChannelInfoItemExtractor extractor) throws ParsingException {
|
||||
ChannelInfoItem resultItem = new ChannelInfoItem();
|
||||
// importand information
|
||||
// important information
|
||||
resultItem.channelName = extractor.getChannelName();
|
||||
|
||||
resultItem.serviceId = getServiceId();
|
||||
|
|
|
@ -228,7 +228,7 @@ public class YoutubeChannelExtractor extends ChannelExtractor {
|
|||
return li.text();
|
||||
}
|
||||
} 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();
|
||||
}
|
||||
} 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();
|
||||
// importand information
|
||||
// important information
|
||||
resultItem.service_id = getServiceId();
|
||||
resultItem.webpage_url = extractor.getWebPageUrl();
|
||||
if (getUrlIdHandler() == null) {
|
||||
|
|
|
@ -40,7 +40,7 @@ public class VideoStream implements Serializable {
|
|||
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) {
|
||||
return format == cmp.format && resolution.equals(cmp.resolution);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue