21e29411af
* 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 |
||
---|---|---|
.. | ||
crystal_class_overrides.cr | ||
errors.cr | ||
extractors.cr | ||
handlers.cr | ||
helpers.cr | ||
i18n.cr | ||
json_filter.cr | ||
logger.cr | ||
macros.cr | ||
proxy.cr | ||
serialized_yt_data.cr | ||
signatures.cr | ||
static_file_handler.cr | ||
tokens.cr | ||
utils.cr | ||
youtube_api.cr |