Skip to content

Commit 46f1ce8

Browse files
authored
Update ExampleBulkVideo.py
1 parent 66624c2 commit 46f1ce8

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

examples/ExampleBulkVideo.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,9 @@
1515
PhotoPath = "~/igvid" # Change Directory to Folder with Pics that you want to upload
1616
# Change to your Photo Hashtag
1717
IGCaption = "Your Caption + #Hashtag"
18-
19-
thumb_uri = 'https://instagram.fcgk6-1.fna.fbcdn.net/vp/d9a7b1df0e691f3663644aaed820b1e3/5A63F236/t51.2885-15/e35/26157933_212816202622096_909866749820665856_n.jpg'
20-
thumbnail = thumb_uri.split("/")[-1]
18+
thumbnail = 'x.jpg'
2119
thumbnail = os.path.dirname(os.path.abspath(__file__)) + '/' + thumbnail
22-
print(thumbnail)
23-
#
24-
#urllib.urlretrieve(video_url, video_local_path)
25-
#urllib.urlretrieve(thumb_uri, thumbnail)
20+
2621

2722
x = os.chdir(PhotoPath)
2823
ListFiles = [f for f in listdir(PhotoPath) if isfile(join(PhotoPath, f))]

0 commit comments

Comments
 (0)