Skip to content

Instantly share code, notes, and snippets.

💭
Looking for freelance / remote work

Kashif Aziz kashaziz

Block or report user

Report or block kashaziz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kashaziz
kashaziz / dropbox_file_renamer.py
Created Mar 25, 2019
Rename files in Dropbox using Python SDK and Dropbox API
View dropbox_file_renamer.py
# input name of image folder
image_folder = str(input("Enter folder name to fetch images: ")).lower()
# instantiate Dropbox connection
dbx = dropbox.Dropbox('dropbox access token')
# proceed if image folder exists in Dropbox
if dbx.files_get_metadata(image_folder).path_lower == image_folder:
# iterate through the files inside Dropbox folder
@kashaziz
kashaziz / scrapingexample.py
Last active Mar 25, 2019
Example of web scraping using Python and BeautifulSoup.
View scrapingexample.py
'''
Example of web scraping using Python and BeautifulSoup.
Sraping ESPN College Football data
http://www.espn.com/college-sports/football/recruiting/databaseresults/_/sportid/24/class/2006/sort/school/starsfilter/GT/ratingfilter/GT/statuscommit/Commitments/statusuncommit/Uncommited
The script will loop through a defined number of pages to extract footballer data.
'''
from bs4 import BeautifulSoup
You can’t perform that action at this time.