• #dev 2024-03-01
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2024-03-01 UTC
# 01:02
to2ds
Ok. Just found the bug. The routine iterates all link and a tags with rel="webmention", adds them to a dict using line number as the key. Sorts the dict by key (line number) and pulls the first one. The routine was overwriting the key if two tags with rel="webmention" were found in same line according to bs4 and ultimately picked the last one found.