diff options
| author | ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> | 2023-01-24 23:21:09 -0500 |
|---|---|---|
| committer | ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> | 2023-01-24 23:21:09 -0500 |
| commit | c2957dbce4a76b9a85fde9224b8c18edcb5821ba (patch) | |
| tree | e56d755c694e3ddb130fd7fc7698ed7215e44b78 | |
| parent | 9a9f8231e80aa2a01b41d0f4ab3bab2016c5f99d (diff) | |
| download | invidious-c2957dbce4a76b9a85fde9224b8c18edcb5821ba.tar.gz invidious-c2957dbce4a76b9a85fde9224b8c18edcb5821ba.tar.bz2 invidious-c2957dbce4a76b9a85fde9224b8c18edcb5821ba.zip | |
fix displaying author name #1612
| -rw-r--r-- | src/invidious/channels/community.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/channels/community.cr b/src/invidious/channels/community.cr index 8e300288..76dff555 100644 --- a/src/invidious/channels/community.cr +++ b/src/invidious/channels/community.cr @@ -69,7 +69,7 @@ def fetch_channel_community(ucid, continuation, locale, format, thin_mode) next if !post content_html = post["contentText"]?.try { |t| parse_content(t) } || "" - author = post["authorText"]?.try &.["simpleText"]? || "" + author = post["authorText"]["runs"]?.try &.[0]?.try &.["text"]? || "" json.object do json.field "author", author |
