-
Notifications
You must be signed in to change notification settings - Fork 3
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
Extracting and monitoring web content with PowerShell #39
Comments
Hey Stephen, Great article!!! I found it useful and something similar with what I have in plan to do, and I would want to ask you as I don't have experience in this domain. For example, I want to hide a section from a specific website. The css code is "display: none;" for that section that has a specific class or id. Thank you and I look forward to hearing from you! |
Happy you liked the blog post! Can you help me understand the full requirement? Do you control the web page? If you do, you should control what elements appear by altering the css on the site, or using JavaScript to determine when to hide or show an element. If you don't...tell me what the script would do. |
Hello Stephen, I apologize for delay! No, I don't have control over it. It can be any website on the internet. Thank you! |
You could do this by newing up a It would be much better, IMHO, to do this as a web browser extension. |
Ok Stephen, thank you for your help! If you know some references or tutorials using this method you described above to create such a code, that would be great! Thanks! |
With the introduction of PS7, the Invoke-WebRequest function no longer produces the ParsedHtml method (which is a shame because I have to parse a webpage exactly like you demonstrate). Is there a way to redo with using PowerShell 7? For example, I'm looking to see when the last modified date from https://www.virtualbox.org/ticket/20536 was. |
Hi Stephen, I entered the following code but it doesn't work: Can You help me correct This script and tell me for a list of urls how to get the same data in a loop. Thank you |
Extracting and monitoring web content with PowerShell
FoxDeploy.com, Stephen Owen's technical blog about
PowerShell, Systems Administration, GUI Design and Programming.
.
https://www.foxdeploy.com/blog/extracting-and-monitoring-web-content-with-powershell.html
The text was updated successfully, but these errors were encountered: