Skip to content

Commit e84d6b4

Browse files
BitYogankitjain28may
authored andcommitted
Updated docs and Python scripts (#5)
* Update Readme.md * Updated youtube.ide.py * Update run.py * Update setup.py
1 parent 0802f0d commit e84d6b4

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

Download Youtube Video from cmd using python/youtube.ide.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
1111
from selenium.webdriver.common.keys import Keys
1212

13-
url = input("Enter the Youtube-url\n")
14-
name = input("Enter the name for the video\n")
15-
name=name+".mp4"
13+
url = input("Enter the URL\n")
14+
name = input("Enter the video's name\n")
15+
name += ".mp4"
1616
n = name.split(' ')
1717
name = "_".join(n)
1818
print(name)

Download from cmd using python/run.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import urllib.request
2-
url = input("Enter the Download-Url\n")
3-
name = input("Enter the name of the File with the extension\n")
2+
url = input("Enter the URl\n")
3+
name = input("Enter the name of the file (include extension)\n")
44
try:
5-
print("Downloading starts...\n")
5+
print("Downloading has started...\n")
66
urllib.request.urlretrieve(url, name)
77
print("Download completed..!!")
88
except Exception as e:

Execute Commands From Terminal or cmd/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
]
99

1010

11-
print("Wait for the installations, Its in progress..!!!")
11+
print("Wait for the installations, work in progress..!!!")
1212

1313
# Run all the commands one by one
1414
for install in installs:
@@ -24,4 +24,4 @@
2424
# proc = subprocess.Popen(['pip', 'install','ScrapeAmazon'],stdout=subprocess.PIPE, shell=True)
2525
# # out = check_output(["pip", "list"])
2626
# # print(out.decode('utf-8'))
27-
# print(proc.communicate()[0].decode('utf-8'))
27+
# print(proc.communicate()[0].decode('utf-8'))

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# pythonResources
2-
All the python related scripts are being listed here.
2+
All Python related scripts are being listed here.
33

44
## This comprises of the following scripts.
55

6-
1- [Run Python script through PHP](https://github.com/ankitjain28may/pythonResources/tree/master/RunPythonScriptThroughPHP)
6+
1- [Run a Python script through PHP](https://github.com/ankitjain28may/pythonResources/tree/master/RunPythonScriptThroughPHP)
77

8-
2- [Execute Commands through Python](https://github.com/ankitjain28may/pythonResources/tree/master/Execute%20Commands%20From%20Terminal%20or%20cmd)
8+
2- [Execute commands through Python](https://github.com/ankitjain28may/pythonResources/tree/master/Execute%20Commands%20From%20Terminal%20or%20cmd)
99

1010
3- [Extract all the links using bs4](https://github.com/ankitjain28may/pythonResources/tree/master/Scaaping%20using%20bs4)
1111

1212
4- [Using MongoDB with Python](https://github.com/ankitjain28may/pythonResources/tree/master/Use%20MongoDB%20in%20Python)
1313

14-
5- [Extract Google images](https://github.com/ankitjain28may/ExtractGoogleImages)
14+
5- [Extract from Google Images](https://github.com/ankitjain28may/ExtractGoogleImages)
1515

16-
6- [Scrape the customer reviews from Amazon](https://github.com/ankitjain28may/ScrapeAmazon)
16+
6- [Scrape customer reviews from Amazon](https://github.com/ankitjain28may/ScrapeAmazon)
1717

18-
7- [Scrape the customer reviews from Snapdeal](https://github.com/ankitjain28may/ScrapeSnapdeal)
18+
7- [Scrape customer reviews from Snapdeal](https://github.com/ankitjain28may/ScrapeSnapdeal)
1919

20-
8- [Post on your FB with python](https://github.com/ankitjain28may/FbPostUsingPython)
20+
8- [Post on your FB feed with python](https://github.com/ankitjain28may/FbPostUsingPython)
2121

22-
9- [Download Youtube Playlist](https://github.com/ankitjain28may/pythonResources/tree/master/Download%20playlist%20from%20cmd%20using%20python)
22+
9- [Download a Youtube playlist](https://github.com/ankitjain28may/pythonResources/tree/master/Download%20playlist%20from%20cmd%20using%20python)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy