Browse Source

fix requirements.txt

master
mark 4 months ago
parent
commit
483a8e9cff
2 changed files with 2 additions and 4 deletions
  1. +2
    -2
      main.py
  2. +0
    -2
      requirements.txt

+ 2
- 2
main.py View File

@@ -35,7 +35,7 @@ class MediaStreamListener(tweepy.StreamListener):
video_urls = []

for video in video_entities:
# Video media involves "variants" with bitrates, so find the one with the
# Video media involves "variants" with bitrates, so find the one with the
# highest bitrate and pick out that URL for downloading.

variants = video["video_info"]["variants"]
@@ -49,7 +49,7 @@ class MediaStreamListener(tweepy.StreamListener):
pass
video_urls.append(best_url)

# Go through and download everything, and optionally delete the tweet
# Go through and download everything, and optionally delete the tweet
# after downloading.
for url in photo_urls + video_urls:
fname = url.split("/")[-1].split("?")[0]


+ 0
- 2
requirements.txt View File

@@ -1,9 +1,7 @@
certifi==2019.11.28
chardet==3.0.4
future==0.18.2
idna==2.9
oauthlib==3.1.0
pkg-resources==0.0.0
PySocks==1.7.1
requests==2.23.0
requests-oauthlib==1.3.0


Loading…
Cancel
Save