Commit 21246022 authored by Atrax Nicolas's avatar Atrax Nicolas

Add YTB to TSV to Streamlit

parent c2a5ce41
......@@ -50,8 +50,8 @@ path = "pages/CSV_Harzing_to_TSV.py"
name = "CSV Harzing To TSV"
[[pages]]
path = "pages/TSV_Translator.py"
name = "TSV Translator"
path = "pages/YTB_to_TSV.py"
name = "YTB To TSV"
[[pages]]
name = "PDF Convert"
......@@ -75,3 +75,7 @@ name = "TXT To TSV"
path = "pages/Merge_Term_GarganText.py"
name = "Merge Term GarganText"
in_section = false
[[pages]]
path = "pages/TSV_Translator.py"
name = "TSV Translator"
locale,key,value
fr,title,"# YTB To TSV"
en,title,"# YTB To TSV"
fr,text,"Inspecte un fichier CSV pour vérifier s'il est compatible avec Gargantext"
en,text,"Inspect a CSV file to check if it is compatible with GarganText"
fr,file,"Choisir un fichier"
en,file,"Choose a file"
fr,keywords,"Mots-clés : "
en,keywords,"Keywords : "
fr,number,"Nombre de vidéos recherchés : "
en,number,"Number of searched videos : "
fr,submit," Soumettre "
en,submit," Submit "
fr,new_file,"Télécharge ton fichier TSV :"
en,new_file,"Download your TSV file :"
\ No newline at end of file
MIT License
Copyright (c) 2021 Hitesh Kumar Saini
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
include README.md
recursive-include youtubesearchpython *.py
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
[egg_info]
tag_build =
tag_date = 0
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="youtube-search-python",
version="1.6.6",
author="Hitesh Kumar Saini",
license='MIT',
author_email="saini123hitesh@gmail.com",
description="Search for YouTube videos, channels & playlists & get video information using link WITHOUT YouTube Data API v3",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/alexmercerind/youtube-search-python",
packages=setuptools.find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
'httpx>=0.14.2'
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)
LICENSE
MANIFEST.in
README.md
setup.py
youtube_search_python.egg-info/PKG-INFO
youtube_search_python.egg-info/SOURCES.txt
youtube_search_python.egg-info/dependency_links.txt
youtube_search_python.egg-info/not-zip-safe
youtube_search_python.egg-info/requires.txt
youtube_search_python.egg-info/top_level.txt
youtubesearchpython/__init__.py
youtubesearchpython/extras.py
youtubesearchpython/search.py
youtubesearchpython/streamurlfetcher.py
youtubesearchpython/__future__/__init__.py
youtubesearchpython/__future__/extras.py
youtubesearchpython/__future__/search.py
youtubesearchpython/__future__/streamurlfetcher.py
youtubesearchpython/core/__init__.py
youtubesearchpython/core/channel.py
youtubesearchpython/core/channelsearch.py
youtubesearchpython/core/comments.py
youtubesearchpython/core/componenthandler.py
youtubesearchpython/core/constants.py
youtubesearchpython/core/hashtag.py
youtubesearchpython/core/playlist.py
youtubesearchpython/core/requests.py
youtubesearchpython/core/search.py
youtubesearchpython/core/streamurlfetcher.py
youtubesearchpython/core/suggestions.py
youtubesearchpython/core/transcript.py
youtubesearchpython/core/utils.py
youtubesearchpython/core/video.py
youtubesearchpython/handlers/componenthandler.py
youtubesearchpython/handlers/requesthandler.py
youtubesearchpython/legacy/__init__.py
\ No newline at end of file
from youtubesearchpython.__future__.search import Search, VideosSearch, ChannelsSearch, PlaylistsSearch, CustomSearch, ChannelSearch
from youtubesearchpython.__future__.extras import Video, Playlist, Suggestions, Hashtag, Comments, Transcript, Channel
from youtubesearchpython.__future__.streamurlfetcher import StreamURLFetcher
from youtubesearchpython.core.utils import *
from youtubesearchpython.core.constants import *
__title__ = 'youtube-search-python'
__version__ = '1.6.2'
__author__ = 'alexmercerind'
__license__ = 'MIT'
from .video import VideoCore
from .constants import *
def playlist_from_channel_id(channel_id: str) -> str:
list_id = "UU" + channel_id[2:]
return f"https://www.youtube.com/playlist?list={list_id}"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment