Commit 9e3c2fff authored by Tristan Smith's avatar Tristan Smith
Browse files

Fixed misspelling in

parent 92f7c430
......@@ -5,7 +5,7 @@ Currently works on ```/{user}/public/``` list and ```/view/{vid#}/{vidTitle}/```
'works' is a strong word; it downloads the video so far but there isnt much in the way of user friendliness
Depeneds on
Depends on
- [HtmlAgilityPack](
- [CommandLine Parser Library](
......@@ -105,5 +105,14 @@ namespace ToyPics
private static string getTitle(string page)
HtmlWeb hw = new HtmlWeb();// HtmlAgilityPack
HtmlDocument doc = hw.Load(page);// load uri
string link = doc.DocumentNode.SelectSingleNode("//*[@id='view-video-content']/*[@class='section bg2']/*[@class='hd']").InnerText; // the true title is stored in a <div> tag with the class of hd-l (HD-L) but i keep getting an exception if i try /*[@class='hd-l']
//for now im just going to trim the returned string
return link.Trim();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment