Skip to content

Commit 55e01b5

Browse files
committed
Remove leftover prints
1 parent 0c73c08 commit 55e01b5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/src/reverse_engineering/pages/channel_upload_page.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ class _InitialData extends InitialData {
188188
?.get('content')
189189
?.get(type.youtubeRenderText);
190190
if (type == VideoType.shorts && video != null) {
191-
print(json.encode(video));
192191
return ChannelVideo(
193192
VideoId(video.getJson<String>(
194193
'onTap/innertubeCommand/reelWatchEndpoint/videoId')!),

lib/src/reverse_engineering/youtube_http_client.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,7 @@ class YoutubeHttpClient extends http.BaseClient {
223223
final stream = newManifest.streams
224224
.firstWhereOrNull((e) => e.tag == streamInfo.tag);
225225
if (stream == null) {
226-
print(
227-
'Error: Could not find the stream in the new manifest (due to Youtube error)');
226+
_logger.severe('Error: Could not find the stream in the new manifest (due to Youtube error)');
228227
rethrow;
229228
}
230229
url = stream.url;

0 commit comments

Comments
 (0)