Skip to content

Commit

Permalink
fix: skip downloading removed content from Youtube
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanakram3 committed Feb 27, 2024
1 parent 4d29e2b commit 11c36cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### 3.6.0

- Replace `Query-Node` with `Orion` for graphql queries, and remove all unused graphql query definitions.
- **FIX**: use `GraphQLWsLink` instead of deprecated `WebSocketLink` for graphql subscription, as `WebSocketLink` based subscription does not work with Orion API

### 3.5.0

Expand Down
1 change: 1 addition & 0 deletions src/services/syncProcessing/ContentDownloadService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export class ContentDownloadService {
const errorMsg = (err as Error).message
const errors: { message: string; code: VideoUnavailableReasons }[] = [
{ message: 'Video unavailable', code: VideoUnavailableReasons.Unavailable },
{ message: 'This video has been removed', code: VideoUnavailableReasons.Unavailable },
{ message: 'Private video', code: VideoUnavailableReasons.Private },
{ message: 'Postprocessing:', code: VideoUnavailableReasons.PostprocessingError },
{ message: 'The downloaded file is empty', code: VideoUnavailableReasons.EmptyDownload },
Expand Down

0 comments on commit 11c36cc

Please sign in to comment.