C# Class LinkCrawler.Utils.Helpers.MarkupHelpers

Afficher le fichier Open project: hmol/LinkCrawler

Méthodes publiques

Méthode Description
GetAllUrlsFromMarkup ( string markup, bool checkImageTags ) : List
GetValidUrlListFromMarkup ( string markup, IValidUrlParser parser, bool checkImages ) : List

Get's a list of all urls in markup and tires to fix the urls that Restsharp will have a problem with (i.e relative urls, urls with no sceme, mailto links..etc)

Private Methods

Méthode Description
GetAllUrlsFromHtmlDocument ( string markup, string searchPattern, string attribute ) : List

Method Details

GetAllUrlsFromMarkup() public static méthode

public static GetAllUrlsFromMarkup ( string markup, bool checkImageTags ) : List
markup string
checkImageTags bool
Résultat List

GetValidUrlListFromMarkup() public static méthode

Get's a list of all urls in markup and tires to fix the urls that Restsharp will have a problem with (i.e relative urls, urls with no sceme, mailto links..etc)
public static GetValidUrlListFromMarkup ( string markup, IValidUrlParser parser, bool checkImages ) : List
markup string
parser IValidUrlParser
checkImages bool
Résultat List