for page in range(1, 25):
time.sleep(5)
# Access the page
r = requests.get('https://tribune.com.pk/kse-100-index?page={}'.format(page))
Previously I did the pagination as above but now I am stuck in doing the pagination of the URL which includes a date in it like this "https://ift.tt/2CzA9MA" and the other pages are coming also date wise please help in making of the code I would be thankful to you
Aucun commentaire:
Enregistrer un commentaire