Skip to content

Commit 02f98f1

Browse files
committed
Bump up delays
1 parent d16334a commit 02f98f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "digfemig"
7-
version = "0.0.6"
7+
version = "0.0.7"
88
readme = "README.md"
99
requires-python = ">=3.9.9"
1010
description = "Utility to collect media for Instagram hashtags for the DigFemNet Project."

src/digfemig/collector.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ def setup_media_directory(download_path, hashtag):
2121

2222

2323
def nap_time():
24-
time.sleep(random.uniform(1, 15))
24+
time.sleep(random.uniform(1, 25))
2525

2626

2727
# Download media.
2828
def download_media(hashtag, session_file, download_path, username, password):
2929

3030
cl = authenticate(session_file, username, password)
3131

32-
cl.delay_range = [1, 15]
32+
cl.delay_range = [1, 25]
3333

3434
cl.get_timeline_feed()
3535

0 commit comments

Comments
 (0)