Coder Social home page Coder Social logo

Comments (4)

alexanderepstein avatar alexanderepstein commented on June 18, 2024

Hmm can run your ytview command prefixed with bash -x and paste the output here?

from bash-snippets.

diego-rapoport avatar diego-rapoport commented on June 18, 2024
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.

stale avatar stale commented on June 18, 2024

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.

stale avatar stale commented on June 18, 2024

This issue has been automatically closed because it has been inactive for 30 days.

from bash-snippets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.