Skip to content

Commit 784469c

Browse files
committed
server
1 parent 482a492 commit 784469c

File tree

6 files changed

+136227
-2
lines changed

6 files changed

+136227
-2
lines changed

calls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
from requests import post
22

33
record_file = open("recorded_packages.txt", "w")
4-
with open("all_pypi_packages/all_pypi_packages_0.txt", "r") as file:
4+
with open("all_pypi_packages/all_pypi_packages_1.txt", "r") as file:
55
text = file.read()
66
packages = text.split("\n")
77

88
for package in packages:
99
print("Iniciando extracción para el paquete: ", package)
10-
record_file.write(package)
10+
record_file.write(package + "\n")
1111
post(f"http://localhost:8000/graph/pypi/package/init?package_name={package}")

0 commit comments

Comments
 (0)