How does the ID selector work "#some_id" #184
-
It seems that for some reason the ID selector in CSS and GoQuery doesn't work. I don't know if this is because I'm using it wrong, or if there's some other GoQuery quirk that I'm unaware of. Guidance would be appreciated. FWIW, this is what I'm trying to do:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I just looked at this and there seems to be a different issue. First thing was that the selector should actually include an a tag: |
Beta Was this translation helpful? Give feedback.
I just looked at this and there seems to be a different issue. First thing was that the selector should actually include an a tag:
div#iscroll_other a
. But that didn't make the paginator function as it should. Something is wrong with the url extraction..?page=2
, which the source contains, should expand tohttps://www.cafeoto.co.uk/events/?page=2
but instead expands tohttps://www.cafeoto.co.uk/.?page=2
I'm going to look into this.