• diyrebel@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 年前

    It was coded 8 years ago in Tcl¹ for a one-off project in Belgium. Would you really be interested?

    The APIs would have changed dramatically by now & some of the real estate sites no longer exist. Some of the sites brought in CAPTCHAs. It was coded to use Tor & the public transport site has become Tor-hostile and also changed their API. It’s also very user unfriendly… a collection of scripts & variety of hacks because I was my only user.

    I didn’t publish the code at the time because I worried that it would trigger the target sites to become bot-hostile.

    ① Also note that I use #Tcl for personal use but I resist publishing any Tcl code because I would rather not promote the Tcl language. Why? Because the Tcl folks have jailed a large portion of their docs in Cloudflare’s walled garden. I believe programming language docs should be openly public.

    • SIGSEGV@waveform.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 年前

      I wouldn’t be trying to use or adapt it; it was more of an intellectual curiosity. I haven’t written scrapers or used Tcl, so, yeah, I would be interested to take a peek :-)

      I’d like to write something similar, but I’d probably use Lisp or Python.