Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

return video info with id as well as link #62

Closed
TimeForANinja opened this issue Aug 7, 2020 · 0 comments · Fixed by #91
Closed

return video info with id as well as link #62

TimeForANinja opened this issue Aug 7, 2020 · 0 comments · Fixed by #91

Comments

@TimeForANinja
Copy link
Owner

Title pretty much describes it.

@TimeForANinja TimeForANinja mentioned this issue Dec 11, 2020
5 tasks
TimeForANinja added a commit that referenced this issue Dec 13, 2020
- [x] fix requests

- [x] update exaple responses

- [x] update typings

- [x] update documentation / README

- [x] rewrite tests

closes #87 
closes #71 
closes #62 

# Porting code
* The Filters provided by `ytsr#getFilters` are now provided as Map of Maps instead of a Map of Arrays
* `result#originalQuery` and `result#correctedQuery` were introduced to differentiate the query that we asked for and the query that youtube provided results for
* all refinements are now found at `result#refinements` - sorted by relevance - instead of mixed into `result#items`
* `result#active` was renamed to `result#activeFilters`
* request options for miniget were moved to `options#requestOptions`
* nextpageRef was replaced by the continuation feature => check the README for more information
* boolean variables like `live` and `upcoming` were renamed to `isLive` and `isUpcoming`
* `ShelfCompact` and `ShelfVertical` were merged into a single type `shelf` which contains an array of any kind of other item - this required the addition of the `GridMovie`-Type (short version of `Movie`)
* The `show`-Type was added
* `playlist#author` was renamed to `playlist#owner`
* for the types `playlist` and `mix` the way thumbnail & firstItem are handled changed => check the typings or example responses
* `pages` was added as a more request-efficient alternative to `limit`
* all thumbnails are now `Image`-Objects with `url`, `width` and `height` properties - arrays of images are always sorted by descending resolution
* all links have been renamed from `ref` to `url` to keep it consistend across all libraries
* all snake_case variables were replaced by CamelCase
* all users/channels feature both the `channelID` as well as a canonical `url`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant