Commit Graph

72 Commits

Author SHA1 Message Date
Samantaz Fox e10f6b6626 Comments: Move 'template_youtube' function to own file + module 2023-05-25 22:53:53 +02:00
Samantaz Fox 10fee9da61 Community: Fix live video + parse playlist attachments (#3767) 2023-05-08 15:42:06 +02:00
Samantaz Fox c385a944e6 Subscriptions: Fix casing of XML tag names 2023-05-08 13:10:18 +02:00
Samantaz Fox ce1fb8d08c Use XML.parse instead of XML.parse_html
Due to recent changes to libxml2 (between 2.9.14 and 2.10.4,
See https://gitlab.gnome.org/GNOME/libxml2/-/issues/508), the
HTML parser doesn't take into account the namespaces (xmlns).

Because HTML shouldn't contain namespaces anyway, there is no
reason for use to keep using it. But switching to the XML
parser means that we have to pass the namespaces to every
single 'xpath_node(s)' method for it to be able to properly
navigate the XML structure.
2023-05-08 01:05:48 +02:00
ChunkyProgrammer 2d5145614b Fix unknown type attachment
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-05-02 21:10:57 -04:00
chunky programmer f298e225a1 fix live video attachments, parse playlists 2023-04-30 18:55:02 -04:00
chunky programmer 5517a4eadb fix fetching community continuations 2023-04-22 09:13:04 -04:00
ChunkyProgrammer dc929be198 Merge branch 'master' into fix-shorts 2023-04-02 16:42:46 -04:00
Emilien Devos e0600f4553 quick fix for channel videos page 2023-03-31 22:16:01 +02:00
ChunkyProgrammer 5767344746 Fix parsing shorts on channel page 2023-03-22 09:56:22 -04:00
Samantaz Fox b66a5c40a9 Community: Restore thumbnail qualities array 2023-03-15 22:37:07 +01:00
ChunkyProgrammer 4a14713462 use dig, create private image quality constant
Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-03-01 23:56:23 -05:00
ChunkyProgrammer 4731480821 parse votes as number
Co-Authored-By: syeopite <70992037+syeopite@users.noreply.github.com>
2023-02-14 23:03:25 -05:00
ChunkyProgrammer aecbafbc7b Community: parse replyCount 2023-02-14 22:52:59 -05:00
ChunkyProgrammer 8384fa94c2 Community: Parse polls 2023-02-14 22:48:37 -05:00
ChunkyProgrammer 785fe52674 API: Parse multiimage community posts 2023-01-29 10:28:42 -05:00
ChunkyProgrammer c2957dbce4 fix displaying author name #1612 2023-01-24 23:21:09 -05:00
Samantaz Fox 05258d56bd Add support for the new channel layout - part 2 (#3419) 2023-01-10 21:16:12 +01:00
Samantaz Fox a37522a03d Implement workaround for broken shorts objects 2023-01-08 13:50:52 +01:00
Émilien Devos 98301a2237 Add ability to disable all user notifications (#3473) 2023-01-05 23:08:05 +00:00
Samantaz Fox f9eb839c7a channel: remove dead playlists code 2022-12-22 17:26:32 +01:00
Samantaz Fox 4e3a930626 frontend: Add support for the "featured channels" page 2022-12-22 16:13:35 +01:00
Samantaz Fox 6c9754e663 frontend: Add support for shorts and livestreams 2022-12-22 16:13:34 +01:00
Samantaz Fox 52ef89f02d channel: Add support for shorts and livestreams (backend only) 2022-12-22 16:13:34 +01:00
Samantaz Fox 2903e896ec channel: use YT API + extractors to fetch videos 2022-12-22 16:13:34 +01:00
Samantaz Fox c5ee2bfc0f channel: use YT API to fetch playlist items 2022-12-22 16:13:34 +01:00
Samantaz Fox ce7db8d2cb extractors: Add continuation token parser 2022-12-22 16:13:26 +01:00
Samantaz Fox bdc51cd20f extractors: separate 'extract' and 'parse' logic 2022-12-04 18:24:39 +01:00
Samantaz Fox fbcce57ce2 channel: use extractor utils to parse tabs (+ code cleaning) 2022-12-02 19:56:52 +01:00
Samantaz Fox afc0ec3c30 search: Fix short text parsing 2022-11-20 23:28:21 +01:00
Samantaz Fox 516efd2df3 Cleanup videos (#3238) 2022-11-17 01:03:23 +01:00
Samantaz Fox 9da1827e95 Dirty fix to get back the channel videos 2022-11-02 01:03:39 +01:00
Samantaz Fox 87a5d70062 videos: move API's JSON structure to a dedicated module 2022-10-31 20:09:04 +01:00
Samantaz Fox abc81ebd08 Merge pull request #3165 from SamantazFox/small-fixes-06-2022 2022-07-11 17:41:58 +02:00
Samantaz Fox beb9894c47 Merge pull request #3124 from iv-org/add-404-status-code 2022-07-06 22:05:01 +02:00
Samantaz Fox 99bc230fe6 Fix missing hash key: "availableCountries" (Closes #3047) 2022-07-04 22:23:31 +02:00
11tuvork28 864f27ef72 switched to extract_selected_tab for the community tab 2022-07-03 14:59:33 +02:00
11tuvork28 a8b72d8342 Fixed community tab 2022-07-03 14:23:34 +02:00
Samantaz Fox 2b1e1b11a3 Fix CI: support BADGE_STYLE_TYPE_VERIFIED_ARTIST 2022-06-08 23:56:40 +02:00
Émilien Devos c201ea53ba Add 404 status code on all possible endpoints 2022-05-27 14:06:38 +00:00
Féry Mathieu (Mathius) 28efeaa4f2 Update management of channel description
Follow this comment :
https://github.com/iv-org/invidious/pull/2968#issuecomment-1066428317
2022-05-18 23:45:28 +02:00
Samantaz Fox f5fb4c6c64 Apply 2859.diff 2022-05-01 21:10:43 +02:00
Émilien Devos 595c3fb833 Revert "Youtube verification badge" (#3070) 2022-04-30 23:42:38 +02:00
Jonas Wunderlich aa09bbe23d Done some refactoring 2022-03-13 20:16:30 +01:00
Jonas 6de449811d Merge branch 'iv-org:master' into verified-badge 2022-02-25 19:29:12 +01:00
jonas-w 9205ccc124 Removed dummy values and added checks for items.ecr 2022-02-07 02:00:43 +01:00
Samantaz Fox 1668e4187e Related channel may contain a continuation entry 2022-02-07 00:37:47 +01:00
jonas-w 00df3e2c40 Refactored code and added badges to Search but many dummies because of the way components/item works 2022-02-04 19:59:07 +01:00
jonas-w 1fee636afa Added verification badge to video player and error with related_videos 2022-02-03 23:18:50 +01:00
jonas-w 66340281e6 Added verification badge for channel view 2022-02-03 21:42:28 +01:00