summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2021-10-14Fix #2510TheFrenchGhosty
2021-10-14Link to invidious.io/donate/ in the footerTheFrenchGhosty
2021-10-12Merge pull request #2497 from Yetangitu/videorendererparser_parse_missing_titlesyeopite
Handle missing title fields in VideoRendererParser.parse (fixes #2495)
2021-10-12Fix for #2488 - parse contents of search results of type=Category (#2496)Frank de Lange
* Fix for #2488 - parse contents of search results of type=Category (returned on first page for universal (type=all) queries instead of returning an error. * Moved content array walker to Category#to_json As requested by reviewer this change moves the content array walker from the API endpoint to the Category class. * Update src/invidious/helpers/serialized_yt_data.cr Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2021-10-12Handle missing title fields in VideoRendererParser.parseFrank de Lange
2021-10-11Lookback 50 videosSamantaz Fox
2021-10-11propagate video_id field on getting playlistsdiogo
2021-10-11rename from continuation to video_id on get_playlist_videosdiogo
2021-10-11update to new YoutubeAPIdiogo
2021-10-11use dig for getting the video indexdiogo
2021-10-11lintingdiogo
2021-10-11increase the max videos in a playlistdiogo
2021-10-11use v1/next instead of searching for the continuation indexdiogo
2021-10-11lintingdiogo
2021-10-11no need to normalize the offsetdiogo
2021-10-11pass the api/v1/playlists with videos before the offsetdiogo
2021-10-11lintingdiogo
2021-10-11fix cases when high offset video from playlist has no offset in urldiogo
2021-10-11add index to playlist itemdiogo
2021-10-11playlist starts at the offsetdiogo
2021-10-11Use kemal in production mode (#2455)syeopite
2021-10-11Fix URL-encoding in href strings (#2460)mastihios
* hrefs: replace HTML.escape w/ URI.encode_www_form * Fix search_query_encoded
2021-10-07Fix extractor bugs (#2454)syeopite
* Add debug/trace logging to extract_items * Handle invalid timestamps for livestreams extraction * Make use of author_fallback in playlist extractor * Don't use extract_text for video length extraction The extract_text function attempts to extract from both the simpleText and the runs route. This is typically what we'd want for text extraction as it could appear in both locations. However, while this still holds true, the thumbnailOverlayTimeStatusRenderer writes a numerical length (when present on the video) to the simpleText route and uses runs for a text overlay like "LIVE" or "PREMIERE". Therefore, when a video has a text overlay instead of a numerical one, Invidious still passes it onto decode_length_seconds, which obviously raises since it cannot be converted into integers. In the future, if more routes requires one text route over the other, we should go ahead and add an argument to extract_text itself. Though for now, this is sufficient. * Handle unsupported "special" categories
2021-10-07Add config option to display source code URL in footer (#2450)Samantaz Fox
2021-10-04Revert "Fix typo (#2456)" (#2457)Samantaz Fox
This reverts commit 4982bff74df677c9e615b52075bd05d0006acc69.
2021-10-04Fix typo (#2456)Jorge Maldonado Ventura
2021-10-02Add support to make invidious API-only via flag (#2363)syeopite
2021-10-02Merge pull request #2443 from iv-org/syeopite-patch-1syeopite
Use make_client when querying instance api
2021-10-02Merge pull request #2228 from syeopite/extract-items-overhaulsyeopite
Overhaul extract_item(s) functions and add infrastructure for parsing YouTube categories
2021-10-02Actually fix lintsyeopite
2021-10-02Fix lintSamantaz Fox
2021-10-02Disable locales with less than 50% of strings translatedSamantaz Fox
2021-10-02Add Portuguese (pt) to localesSamantaz Fox
follow up to #2437
2021-10-02Use make_client when querying instance apisyeopite
2021-10-02add icon-buttons to playlist items (#2442)mastihios
2021-10-01Use break instead of short-circuit returnsyeopite
2021-09-28Improve readabltiy of SearchChannel auto-gen detectsyeopite
2021-09-28Optimize routing logic of extract_item(s) funcssyeopite
2021-09-28Rename get_browse_endpoint to get_browse_idsyeopite
2021-09-28Convert nil for AuthorFallback to empty stringssyeopite
2021-09-28Apply suggestions from code reviewsyeopite
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2021-09-26Use default timeout (5 seconds) for YT pool (#2430)syeopite
2021-09-24Add documentation to extractors.crsyeopite
2021-09-24Typos and tiny styling changessyeopite
2021-09-24Bountiful extractor changessyeopite
- Add extract_text to simplify extraction of InnerTube texts - Add helper extractor methods to reduce repetition in parsing InnerTube - Change [] more than 2 blocks long to use #dig or #dig? - Remove useless ?.try blocks for items that always exists - Add (some) documentation to VideoRendererParser
2021-09-24Overhaul extractors.cr to use modulessyeopite
2021-09-24Switch to structs in extractors.cr for performancesyeopite
2021-09-24Improve documentation for extract_item(s) funcssyeopite
2021-09-24Fix extract_videossyeopite
2021-09-24Manually extract category refactor from 1b569bbc99207cae7c20aa285f42477ae361dd30syeopite
Also fixes some errors caused by cherry-picking