implemented getting first-level anchors from url