invidious/src
syeopite a027fbf7af
Rewrite extract_item and extract_items functions
This commit completely rewrites the extract_item and extract_items
function. Before this commit these two function were an unreadable
mess. The extract_item function was a lengthy if-elsif chain
while the extract_items function contained an incomprehensible
mess of .try, else and ||.

With this commit both of these functions have been pulled into a
separate file with the internal logic being moved to a few classes.

This significantly reduces the size of these two methods, enhances
readability and makes adding new extraction/parse rules much simpler.

See diff for details.
2021-06-24 08:52:47 -07:00
..
invidious Rewrite extract_item and extract_items functions 2021-06-24 08:52:47 -07:00
invidious.cr Add support for featured channels page 2021-06-24 08:52:46 -07:00