Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么不把PDF一块下载下来呢?需要在main.py里小小修改 #4

Open
huangzsdy opened this issue Dec 28, 2024 · 0 comments

Comments

@huangzsdy
Copy link

可以把PDF一块下载下来
image
pdf_link = "https://arxiv.org/pdf/" + file_stamp
response = requests.get(pdf_link)
pdf_filename = title + '.pdf'
pdf_filepath = os.path.join(inp, pdf_filename)
open(pdf_filepath, "wb").write(response.content)
shutil.move(pdf_filepath, out)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant