Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Scripts/Web_Scrappers/SocialMediadownload/Socialmedai.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pip install you-get
#get url of youtube video and with video player

#for URL
import re

#for sub process
import subprocess

#put urls from youtube and other social media platform 50+
url="https://www.youtube.com/watch?v=rpZxFbtr7j0"

#put cmd on in subprocess
proc = subprocess.Popen([f"you-get -u --itag=22 {url}"], stdout=subprocess.PIPE, shell=True)

#communicate to the URL
(out, err) = proc.communicate()

#Decode the url
out=out.decode("utf-8")

#display the downloading video url
print(out);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Scripts/Web_Scrappers/SocialMediadownload/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pip install you-get