Skip to content

Commit b3fd6b3

Browse files
Remove unthrown exception
1 parent e26cc84 commit b3fd6b3

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public String getName() throws ParsingException {
171171

172172
@Nullable
173173
@Override
174-
public String getTextualUploadDate() throws ParsingException {
174+
public String getTextualUploadDate() {
175175
String timestamp = playerMicroFormatRenderer.getString("uploadDate", "");
176176
if (timestamp.isEmpty()) {
177177
timestamp = playerMicroFormatRenderer.getString("publishDate", "");

extractor/src/main/java/org/schabi/newpipe/extractor/stream/StreamExtractor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,10 @@ public StreamExtractor(final StreamingService service, final LinkHandler linkHan
6363
* <p>If the stream is a live stream, {@code null} should be returned.</p>
6464
*
6565
* @return The original textual date provided by the service, or {@code null}.
66-
* @throws ParsingException if there is an error in the extraction
6766
* @see #getUploadDate()
6867
*/
6968
@Nullable
70-
public String getTextualUploadDate() throws ParsingException {
69+
public String getTextualUploadDate() {
7170
return null;
7271
}
7372

0 commit comments

Comments
 (0)