Skip to content

href attribute returns URL but not params #6

@siebmanb

Description

@siebmanb

Hi,
I have a link in a page with the following code href
http://someurl.com?p=1

When I crawl the page, get this element, and use "->href" to get the href, it returns "http://someurl.com" and not the rest... Any idea?

Below are 2 real examples:

  • in the DOM: /b/ref=topnav_storetab_x/278-3982138-3250331?ie=UTF8&node=405320
  • href I got: /b?ie=UTF8&node=405320
  • in the DOM: /HTML-5-Rodolphe-Rimelé/product-reviews/2212140304/ref=cm_cr_pr_btm_link_2?ie=UTF8&pageNumber=2
  • href I got: /HTML-5-Rodolphe-Rimelé/product-reviews/2212140304

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions