mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Clarify yt-dlp "nightly" for better/experimental YouTube scraping
This commit is contained in:
		
							parent
							
								
									06a36706eb
								
							
						
					
					
						commit
						37c6a7ef29
					
				
					 1 changed files with 7 additions and 4 deletions
				
			
		| 
						 | 
					@ -59,13 +59,16 @@
 | 
				
			||||||
            pipx install xklb
 | 
					            pipx install xklb
 | 
				
			||||||
            echo -e "\n\e[4mNow running: yt-dlp --version\e[0m\n"
 | 
					            echo -e "\n\e[4mNow running: yt-dlp --version\e[0m\n"
 | 
				
			||||||
            yt-dlp --version
 | 
					            yt-dlp --version
 | 
				
			||||||
	    echo -e '\n\e[4mNeed better YouTube scraping? Run this for the latest yt-dlp "nightly" release:\e[0m\n\n\e[1mpipx inject --pip-args="--upgrade --pre" -f xklb yt-dlp[default]\e[0m\n'
 | 
					            echo -e '\n\e[4mNeed better YouTube scraping? Run this for the latest yt-dlp "nightly" release:\e[0m\n\n\e[1mpipx inject --pip-args="--upgrade --pre" -f xklb yt-dlp[default]\e[0m\n'
 | 
				
			||||||
            # IF YOU WANT THE "nightly" RELEASE OF yt-dlp, UNCOMMENT THE NEXT LINE:
 | 
					            # NEED BETTER/EXPERIMENTAL YouTube SCRAPING?  UNCOMMENT THE NEXT LINE:
 | 
				
			||||||
            # pipx inject --pip-args="--upgrade --pre" -f xklb yt-dlp[default]
 | 
					            # pipx inject --pip-args="--upgrade --pre" -f xklb yt-dlp[default]
 | 
				
			||||||
 | 
					            #
 | 
				
			||||||
 | 
					            # https://github.com/yt-dlp/yt-dlp-nightly-builds/releases
 | 
				
			||||||
 | 
					            # https://pypi.org/project/yt-dlp/#history
 | 
				
			||||||
            cd /usr/local/calibre-web-py3
 | 
					            cd /usr/local/calibre-web-py3
 | 
				
			||||||
            if [[ $(git branch --show-current) != "master" || $(git status --porcelain --untracked-files=no) != "" ]]; then    # Permit venv detritus, e.g. untracked files like these 5: bin/ include/ lib/ lib64 pyvenv.cfg
 | 
					            if [[ $(git branch --show-current) != "master" || $(git status --porcelain --untracked-files=no) != "" ]]; then    # Permit venv detritus, e.g. untracked files like these 5: bin/ include/ lib/ lib64 pyvenv.cfg
 | 
				
			||||||
		echo -e "\n\e[41;1mIn /usr/local/calibre-web-py3, (1) 'git branch' MUST show current branch 'master' and (2) 'git status' must show NO MODIFIED FILES.\e[0m\n\n"
 | 
					                echo -e "\n\e[41;1mIn /usr/local/calibre-web-py3, (1) 'git branch' MUST show current branch 'master' and (2) 'git status' must show NO MODIFIED FILES.\e[0m\n\n"
 | 
				
			||||||
		exit 1
 | 
					                exit 1
 | 
				
			||||||
            fi
 | 
					            fi
 | 
				
			||||||
            echo -e "\e[4mNow running: systemctl stop calibre-web\e[0m\n"
 | 
					            echo -e "\e[4mNow running: systemctl stop calibre-web\e[0m\n"
 | 
				
			||||||
            systemctl stop calibre-web
 | 
					            systemctl stop calibre-web
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue