Python 从终端下载网页中与导出按钮关联的文件

Python 从终端下载网页中与导出按钮关联的文件,python,r,bash,web,web-scraping,Python,R,Bash,Web,Web Scraping,我想从终端下载通过点击本页右下角的“EXCEL文档”按钮生成的文件。 是否可以从unix bash执行此操作? 同样在R中或使用python也可以 谢谢您可能正在寻找图书馆。您需要URL才能传递到请求。获取 输出 <!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world\'

我想从终端下载通过点击本页右下角的“EXCEL文档”按钮生成的文件。 是否可以从unix bash执行此操作? 同样在R中或使用python也可以

谢谢

您可能正在寻找图书馆。您需要URL才能传递到
请求。获取


输出

<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world\'s information, including webpages, images, videos and more. Google has many special features to help you find exactly what you\'re looking for." name="description"><meta content="noodp" name="robots"><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"><meta content="/images/branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image"><title>Google</title><scr...

谷歌请看。@BenYarmis我应该向函数传递什么URL?与按钮关联的URL或页面的URL,如www.vivc.de?@LiPaPe,您将传入与按钮关联的URL。然而,这个网站在打开一个弹出窗口以获取您想要的文件后,看起来需要做一些额外的工作。
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world\'s information, including webpages, images, videos and more. Google has many special features to help you find exactly what you\'re looking for." name="description"><meta content="noodp" name="robots"><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"><meta content="/images/branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image"><title>Google</title><scr...