We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 141f294 commit 29060b9Copy full SHA for 29060b9
artscraper/find_artworks.py
@@ -261,8 +261,7 @@ def _click_on_right_arrow(parent_element):
261
# Initialize count of number of iterations for which the number of artworks remains the same
262
n_tries = 0
263
264
- while (len(list_links) < total_num_artworks and
265
- not (total_num_artworks == 0 and n_tries > 3)):
+ while (len(list_links) < total_num_artworks and n_tries < 3):
266
267
# Save current number of artworks
268
old_num_artworks = len(list_links)
0 commit comments