Forum Discussion
YeuHarng
Sep 04, 2023Brass Contributor
Download Specific Files From Link
https://www.fbi.gov/wanted/topten/alejandro-castillo/download.pdf Hi here is the link i need to download the file , between the /topten and /download.pdf is the person name. And the website will ...
- Sep 04, 2023
Harm_Veenstra
Hi, thankieww for u helping but still have error, i'm a newbie in PowerShell, can u explain what does this mean?
Sep 04, 2023
Mark as best response should be visible
YeuHarng
Sep 06, 2023Brass Contributor
hi, for the other category just can download the first 40 pdf because the website didnt scroll down to refresh until the end, so is that any function can let it scroll down until the end and let me download ?
- YeuHarngSep 07, 2023Brass Contributorokay nvm its ok
- Sep 07, 2023Sorry, I didn't explain it correctly... I wanted to say that the button is an action to print the current browser output to PDF. Not sure if you can download that because there is a Print to PDF and save the file to prompt...
- YeuHarngSep 07, 2023Brass Contributornope, the link is the same, but not sure can get the link or not , because that is the button
- Sep 07, 2023Not sure what the button does, it could render the page for you and be a different link every time?
- YeuHarngSep 07, 2023Brass Contributor
for this link: https://www.un.org/securitycouncil/content/un-sc-consolidated-list
here have the download pdf download button, is that possible to get the button link or what and download the file, because jn i use the link, then the message say:the link cannot find the file. or also need to import the Selenium? Because based on my research if the need action with the web browser so need to import Selenium - YeuHarngSep 07, 2023Brass Contributorits ok then i try myself tqsm ya
- Sep 07, 2023No experience with that myself, but that seems like an option, I guess?
- YeuHarngSep 07, 2023Brass Contributorya, is that just can use import Selenium module?
- Sep 07, 2023That's the https://www.fbi.gov/wanted/fugitives page, for example? The invoke-webrequest only gets the first page and not the whole page if that is expanded by scrolling