html crawling

Asked 2 years ago, Updated 2 years ago, 86 views

I want to crawl the words and meanings from the urls that were created by changing the last number, but I don't know how to set the range because the beginning of the number is 000. Is there a way?

python crawling html

2022-09-22 18:15

1 Answers

>>> for i in range(8211, 8219): print("%09d"%i)
...
000008211
000008212
000008213
000008214
000008215
000008216
000008217
000008218


2022-09-22 18:15

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.