Giter Club home page Giter Club logo

Comments (4)

josedusol avatar josedusol commented on September 3, 2024

@hmol What you mean by "link text"?, the visible part of the link?.

I think in that case the return type for List<string> GetValidUrlListFromMarkup(...) would be changed to something like List<Tuple<string,string>> (or maybe some model class to avoid Tuple) because also the innerHtml of every <a...>link text</a> tag is needed for output. The same change would be needed for GetAllUrlsFromMarkup(...) and GetAllUrlsFromHtmlDocument(...).

from linkcrawler.

hmol avatar hmol commented on September 3, 2024

Yeah, this is an example of linktext <a href="http://www.the-page.com/subpage>Here is linktext</a>".
I would avoid Tuple because of readability. Better to use a simple model class yes.

from linkcrawler.

josedusol avatar josedusol commented on September 3, 2024

Ok, i will look into it when i find time.

from linkcrawler.

nedruk avatar nedruk commented on September 3, 2024

Hi team, i'd like to have a look at this one if you don't mind. A question - what should be displayed if innerHtml is some other element, e.g. svg?

from linkcrawler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.