Comments (4)
Hmm can run your ytview command prefixed with bash -x
and paste the output here?
from bash-snippets.
bash -x ytview https://www.youtube.com/watch?v=V7sdNfPCWm4&list=PL2Dw5PtrD32yTJrXDbcaIGVdG82Q9SlvT
[1] 50956
+ [[ -d /home/dinhego/.cache/ytview ]]
+ rm -rf /home/dinhego/.cache/ytview/
+ player=
+ configuredClient=
+ currentVersion=1.23.0
+ flag=
+ getConfiguredClient
+ command -v curl
+ configuredClient=curl
+ getopts 'vuc:s:h*:' option
+ [[ 1 == \0 ]]
+ [[ https://www.youtube.com/watch?v=V7sdNfPCWm4 == \h\e\l\p ]]
+ [[ https://www.youtube.com/watch?v=V7sdNfPCWm4 == \u\p\d\a\t\e ]]
+ [[ '' == \s\e\a\r\c\h ]]
+ [[ '' == \c\h\a\n\n\e\l ]]
+ checkInternet
+ httpGet github.com
dinhego ~ ++ printf '%s ' 'https://www.youtube.com/watch?v=V7sdNfPCWm4'
+ search='https://www.youtube.com/watch?v=V7sdNfPCWm4 '
+ getConfiguredPlayer
+ [[ ! -v YTVIEWPLAYER ]]
+ player=
+ return 0
+ searchview
++ echo 'https://www.youtube.com/watch?v=V7sdNfPCWm4'
++ tr ' ' +
+ search='https://www.youtube.com/watch?v=V7sdNfPCWm4'
+ mkdir -p '/home/dinhego/.cache/ytview/searches/https://www.youtube.com/watch?v=V7sdNfPCWm4'
+ grep Duration
+ httpGet 'https://www.youtube.com/results?hl=en&search_query=https://www.youtube.com/watch?v=V7sdNfPCWm4'
+ grep 'watch?v='
+ case "$configuredClient" in
+ curl -A curl -s 'https://www.youtube.com/results?hl=en&search_query=https://www.youtube.com/watch?v=V7sdNfPCWm4'
+ awk '{print $13 " " $14 " " $15 " " $16 " " $17 " " $18 " " $19 " " $20 " " $21 " " $22 " " $23 " " $23}'
+ sed s/spf-link//
+ sed 's/"//g'
+ sed 's/"/"/g'
+ sed s/title=//
+ sed 's/&/and/g'
+ sed 's/'/'\''/g'
+ awk '{printf "%s.\t%s\n",NR,$0}'
+ sed 's/aria-describedby="description-id.*//g'
+ sed s/rel=//g
+ sed 's/"//'
+ sed 's/data-session-link=itct*.//'
+ sed s/spf-prefetch//g
+ grep 'watch?v='
+ awk '{print $5}'
+ sed s/vve-check//
+ sed 's/href="/https:\/\/www.youtube.com/'
+ sed 's/"//'
+ sed s/class=yt-uix-tile-link//
+ sed '/^\s*$/d'
+ awk '{printf "%s.\t%s\n",NR,$0}'
+ httpGet 'https://www.youtube.com/results?hl=en&search_query=https://www.youtube.com/watch?v=V7sdNfPCWm4'
+ case "$configuredClient" in
+ curl -A curl -s 'https://www.youtube.com/results?hl=en&search_query=https://www.youtube.com/watch?v=V7sdNfPCWm4'
+ cat '/home/dinhego/.cache/ytview/searches/https://www.youtube.com/watch?v=V7sdNfPCWm4/titles.txt'
1. - Criando Formulario MDI Em Pyqt5 Completo by Curso Programação 8 8
+ read -p 'Choose a video: ' titlenumber
Choose a video: 1
bash: cd: OLDPWD não definida
[1]+ Parado bash -x ytview https://www.youtube.com/watch?v=V7sdNfPCWm4
It says OLDPWD not defined.
from bash-snippets.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from bash-snippets.
This issue has been automatically closed because it has been inactive for 30 days.
from bash-snippets.
Related Issues (20)
- Can't install one script by brew HOT 4
- Currency conversion does not work HOT 7
- Qrify file reading bug HOT 6
- stocks script not working HOT 3
- ytview not working on Mac - error message HOT 3
- Multiple Tests Broken HOT 3
- Stock script returns "Not a valid stock symbol" HOT 7
- Pwned no longer working HOT 4
- Lyrics script fails when it finds the lyrics HOT 13
- Package in the AUR HOT 2
- Newton result field empty HOT 1
- not valid stock symbol weird output HOT 2
- ytview doesnt work HOT 2
- Installing from source fails on MacOS
- Currency syntax error 1, the whole command doesn't work. HOT 2
- meme doesn't work
- transfer.sh domain is not working anymore instead.. HOT 4
- ytview doesn't work
- movies script returns empty variable values in results HOT 2
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 bash-snippets.