Compare commits

..

No commits in common. "e2324cd0960809cdfde827f475e294a073b67fa9" and "33c77aef2782a4b95c23ca20fef3b432ec8c09a4" have entirely different histories.

3 changed files with 7 additions and 176 deletions

3
.gitignore vendored
View File

@ -1,4 +1,3 @@
.venv/
.idea/
**/target/
.python-version
**/target/

View File

@ -61,12 +61,12 @@ class Downloader:
today = arrow.utcnow()
task = []
for i in range(1, 30, 5):
for j in range(i, i + 5):
date = today.shift(days=-j)
task.append(loop.create_task(self.fetch(date)))
loop.run_until_complete(asyncio.gather(*task))
for i in range(1, 30):
date = today.shift(days=-i)
task.append(loop.create_task(self.fetch(date)))
loop.run_until_complete(asyncio.gather(*task))
asyncio.run(self.write())
if __name__ == "__main__":
Downloader().run()

170
TW165.txt

File diff suppressed because it is too large Load Diff