-
Jun 21st, 2018, 03:56 AM
#1
Thread Starter
Member
How do you read certain text from a website, and write it to a .txt file?
There is a website called https://virusshare.com/, and I would like to get certain text from it, and write that bold text to a .txt file. The text that is circled (ignore the one that is circled at the bottom) is the one I want to write to a .txt file.
https://imgur.com/a/pwkSDiC
How would I write certain text from a website and write it too a .txt file? And, check with a Timer on a regular basis if theres an update for a hash?
-
Jun 21st, 2018, 04:39 AM
#2
Re: How do you read certain text from a website, and write it to a .txt file?
What have you done and where are you stuck?
-
Jun 21st, 2018, 04:52 AM
#3
Thread Starter
Member
Re: How do you read certain text from a website, and write it to a .txt file?
I've read various questions on Microsoft such as this one: https://social.msdn.microsoft.com/Fo...orum=vbgeneral, but the MD5 hash has no element I can see, just a
-
Jun 21st, 2018, 04:58 AM
#4
Re: How do you read certain text from a website, and write it to a .txt file?
Extracting text from a web page is known as screen scraping.
https://www.bing.com/search?q=vb.net...EToAo%21f4Y21w
You don't need help with how to write text to a text file or how to use a Timer.
Calculating an MD5 hash means creating a Byte array first. How you do that depends on what you want to hash. You might call DownloadData on a WebClient to get the page as a Byte array or you might start with text and call Encoding.GetBytes.
https://www.bing.com/search?q=vb.net...1208C4F527E31A
-
Jun 21st, 2018, 04:59 PM
#5
Re: How do you read certain text from a website, and write it to a .txt file?
The use of bots, scripts, or other methods to scrape data from the site, download samples at an excessive rate, or otherwise affect general performance of the site or backend systems will not be tolerated. VirusShare is a free site: Don't ba a jerk.
The site clearly does not allow this.
-
Jun 21st, 2018, 06:05 PM
#6
Re: How do you read certain text from a website, and write it to a .txt file?
ident is right. The site explicitly prohibits what you are trying to do. Therefore, the question violates the AUP of this site. Do not ask about it again.
My usual boring signature: Nothing
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|