Comments (11)
is this the latest version? I had fixed this yesterday.
from ytfzf.
@evb-gh please update and let me know if the error persists.
This was happening if the search results contained non english char/symbols.
from ytfzf.
Deleted and then recloned the repo. Got the same error. All dependencies are up to date.
from ytfzf.
I would need to look into the data you are curling. Could you reproduce the error using some search query which you are comfortable to share here. A search term that produces the error is enough form me to work with.
from ytfzf.
I am literally using test string
as a search term and I get the same error using any other term.
from ytfzf.
My guess is that it has to do with the difference between gnu and macOS commands.
from ytfzf.
This search term is wroking for me.
The command you could be stubling on are
- printf
- sed
As these are the commands that appear before parsing into jq, which is causing this error.
Try changin up version of these if you can. I don't know much about the differences so I won't be able to comment.
OS: Linux 5.10.16-artix1-1
from ytfzf.
I went and installed gnu-sed
then I replaced sed
with gsed
in your code and now everything works.
How would I preserve these changes on future repo update?
from ytfzf.
You may need to interfere with the code. (every update).
But dont worry its just one line.
alias sed='gsed'
Add this line in the start of the code near defaults. (below #!bin/sh)
from ytfzf.
I am closing this issue, do let me know if you have any more queries
from ytfzf.
Thats a much more interesting and simple solution than what I had in mind. Thanks!
from ytfzf.
Related Issues (20)
- Using submenus HOT 2
- strange bug overwriting and repeat text on top of first text HOT 8
- [Feature request]: interactively change the sort order HOT 2
- [BUG]: Misaligned description items on start with --preview-side=bottom HOT 2
- [Feature request]: Enable external thumbnails without info pane in fzf or preserve thumbnail viewer window HOT 2
- [BUG]: Broken character encoding when using the yt-music scraper HOT 11
- [BUG]: socat, and mpv must be installed for the mpv thumbnail viewer
- [BUG]: mpv installed with flatpak is not recognized HOT 4
- [BUG]: thumbnails won't load when requesting more pages HOT 2
- [BUG]: shift `-1` is not a valid option HOT 1
- [BUG]: using nonalphanumeric characters in optstring produces unspecified results HOT 2
- [Feature request]: shuffle playlist HOT 4
- How do I change the default quality of the videos? HOT 2
- [Feature request]: YouTube Podcast
- how to show the video thumbnail imae on the terminal HOT 1
- how to play only audio using elisa music player
- Subscriptions are not working on OpenBSD HOT 1
- [BUG]: ERROR: Nothing was scraped no matter which instance I use HOT 4
- [BUG]: Unable to extract uploader id; HOT 2
- [BUG]: vo/gpu error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ytfzf.