Skip to content

Commit 7581c12

Browse files
coffeemakrTheAssassin
authored andcommitted
Fix typos (#12)
1 parent ab53038 commit 7581c12

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

channel/ChannelInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static ChannelInfo getInfo(ChannelExtractor extractor)
3737
throws ParsingException {
3838
ChannelInfo info = new ChannelInfo();
3939

40-
// importand data
40+
// important data
4141
info.service_id = extractor.getServiceId();
4242
info.channel_name = extractor.getChannelName();
4343
info.hasNextPage = extractor.hasNextPage();

channel/ChannelInfoItemCollector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public ChannelInfoItemCollector(int serviceId) {
3434

3535
public ChannelInfoItem extract(ChannelInfoItemExtractor extractor) throws ParsingException {
3636
ChannelInfoItem resultItem = new ChannelInfoItem();
37-
// importand information
37+
// important information
3838
resultItem.channelName = extractor.getChannelName();
3939

4040
resultItem.serviceId = getServiceId();

services/youtube/YoutubeChannelExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public String getUploadDate() throws ParsingException {
228228
return li.text();
229229
}
230230
} catch(Exception e) {
231-
throw new ParsingException("Could not get uplaod date", e);
231+
throw new ParsingException("Could not get upload date", e);
232232
}
233233
}
234234

services/youtube/YoutubeStreamInfoItemExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public String getUploadDate() throws ParsingException {
9191
return div.select("li").first().text();
9292
}
9393
} catch(Exception e) {
94-
throw new ParsingException("Could not get uplaod date", e);
94+
throw new ParsingException("Could not get upload date", e);
9595
}
9696
}
9797

stream_info/StreamInfoItemCollector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public StreamInfoItem extract(StreamInfoItemExtractor extractor) throws Exceptio
4848
}
4949

5050
StreamInfoItem resultItem = new StreamInfoItem();
51-
// importand information
51+
// important information
5252
resultItem.service_id = getServiceId();
5353
resultItem.webpage_url = extractor.getWebPageUrl();
5454
if (getUrlIdHandler() == null) {

stream_info/VideoStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public VideoStream(boolean isVideoOnly, String url, int format, String res) {
4040
this.isVideoOnly = isVideoOnly;
4141
}
4242

43-
// reveals whether two streams are the same, but have diferent urls
43+
// reveals whether two streams are the same, but have different urls
4444
public boolean equalStats(VideoStream cmp) {
4545
return format == cmp.format && resolution.equals(cmp.resolution);
4646
}

0 commit comments

Comments
 (0)