mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	Completely change project name to yt-dlp (#85)
* All modules and binary names are changed * All documentation references changed * yt-dlp no longer loads youtube-dlc config files * All URLs changed to point to organization account Co-authored-by: Pccode66 Co-authored-by: pukkandan
This commit is contained in:
		| @@ -85,17 +85,17 @@ qthelp: | ||||
| 	@echo | ||||
| 	@echo "Build finished; now you can run "qcollectiongenerator" with the" \ | ||||
| 	      ".qhcp project file in $(BUILDDIR)/qthelp, like this:" | ||||
| 	@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/youtube-dlc.qhcp" | ||||
| 	@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/yt-dlp.qhcp" | ||||
| 	@echo "To view the help file:" | ||||
| 	@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/youtube-dlc.qhc" | ||||
| 	@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/yt-dlp.qhc" | ||||
|  | ||||
| devhelp: | ||||
| 	$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp | ||||
| 	@echo | ||||
| 	@echo "Build finished." | ||||
| 	@echo "To view the help file:" | ||||
| 	@echo "# mkdir -p $$HOME/.local/share/devhelp/youtube-dlc" | ||||
| 	@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/youtube-dlc" | ||||
| 	@echo "# mkdir -p $$HOME/.local/share/devhelp/yt-dlp" | ||||
| 	@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/yt-dlp" | ||||
| 	@echo "# devhelp" | ||||
|  | ||||
| epub: | ||||
|   | ||||
							
								
								
									
										14
									
								
								docs/conf.py
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								docs/conf.py
									
									
									
									
									
								
							| @@ -1,16 +1,6 @@ | ||||
| # coding: utf-8 | ||||
| # | ||||
| # youtube-dlc documentation build configuration file, created by | ||||
| # sphinx-quickstart on Fri Mar 14 21:05:43 2014. | ||||
| # | ||||
| # This file is execfile()d with the current directory set to its | ||||
| # containing dir. | ||||
| # | ||||
| # Note that not all possible configuration values are present in this | ||||
| # autogenerated file. | ||||
| # | ||||
| # All configuration values have a default; values that are commented out | ||||
| # serve to show the default. | ||||
| # yt-dlp documentation build configuration file | ||||
|  | ||||
| import sys | ||||
| import os | ||||
| @@ -47,7 +37,7 @@ copyright = u'UNLICENSE' | ||||
| # built documents. | ||||
| # | ||||
| # The short X.Y version. | ||||
| from youtube_dlc.version import __version__ | ||||
| from yt_dlp.version import __version__ | ||||
| version = __version__ | ||||
| # The full version, including alpha/beta/rc tags. | ||||
| release = version | ||||
|   | ||||
							
								
								
									
										23
									
								
								docs/index.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								docs/index.rst
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| Welcome to yt-dlp's documentation! | ||||
| ====================================== | ||||
|  | ||||
| *yt-dlp* is a command-line program to download videos from YouTube.com and more sites. | ||||
| It can also be used in Python code. | ||||
|  | ||||
| Developer guide | ||||
| --------------- | ||||
|  | ||||
| This section contains information for using *yt-dlp* from Python programs. | ||||
|  | ||||
| .. toctree:: | ||||
|     :maxdepth: 2 | ||||
|  | ||||
|     module_guide | ||||
|  | ||||
| Indices and tables | ||||
| ================== | ||||
|  | ||||
| * :ref:`genindex` | ||||
| * :ref:`modindex` | ||||
| * :ref:`search` | ||||
|  | ||||
| @@ -1,11 +1,11 @@ | ||||
| Using the ``youtube_dlc`` module | ||||
| Using the ``yt_dlp`` module | ||||
| =============================== | ||||
|  | ||||
| When using the ``youtube_dlc`` module, you start by creating an instance of :class:`YoutubeDL` and adding all the available extractors: | ||||
| When using the ``yt_dlp`` module, you start by creating an instance of :class:`YoutubeDL` and adding all the available extractors: | ||||
|  | ||||
| .. code-block:: python | ||||
|  | ||||
|     >>> from youtube_dlc import YoutubeDL | ||||
|     >>> from yt_dlp import YoutubeDL | ||||
|     >>> ydl = YoutubeDL() | ||||
|     >>> ydl.add_default_info_extractors() | ||||
|  | ||||
| @@ -22,7 +22,7 @@ You use the :meth:`YoutubeDL.extract_info` method for getting the video informat | ||||
|     [youtube] BaW_jenozKc: Downloading video info webpage | ||||
|     [youtube] BaW_jenozKc: Extracting video information | ||||
|     >>> info['title'] | ||||
|     'youtube-dlc test video "\'/\\ä↭𝕐' | ||||
|     'youtube-dl test video "\'/\\ä↭𝕐' | ||||
|     >>> info['height'], info['width'] | ||||
|     (720, 1280) | ||||
|  | ||||
| @@ -64,4 +64,3 @@ You can access the videos in the playlist with the ``entries`` field: | ||||
|     Video #7: Coding a better government | ||||
|     Video #8: The era of open innovation | ||||
|     Video #9: The currency of the new economy is trust | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Pccode66
					Pccode66