summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-09 20:36:12 +0200
committerThanos Apollo <[email protected]>2024-01-09 20:36:12 +0200
commit27b94d889ea850e5c81dcbec3d7f7cbb6e8d83d4 (patch)
tree049ba35fd43400f74cdf00d3af05a087578c0b17
parent7d6985302422fdc8df0562aee223d1233d8a0946 (diff)
yeetube-get-content: format view-count before push
-rw-r--r--yeetube.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/yeetube.el b/yeetube.el
index 485ab50..b41d2c8 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -284,7 +284,7 @@ then for item."
(- (search-forward ",") 2))))
(push (list :title title
:videoid videoid
- :view-count view-count
+ :view-count (format "% 10s" (replace-regexp-in-string "[^0-9]" "" view-count))
:duration video-duration
:channel channel)
yeetube-content))))))))))