• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics in ~tildes with the tag "command line interface". Back to normal view / Search all groups
    1. I made a little CLI app for backing up my Tildes comments

      I made a little CLI app for backing up my tildes comments / topics. $ pip install xklb $ library tildes -h usage: library tildes DATABASE USER Backup tildes.net user comments and topics library...

      I made a little CLI app for backing up my tildes comments / topics.

      $ pip install xklb
      $ library tildes -h
      usage: library tildes DATABASE USER
      
          Backup tildes.net user comments and topics
      
              library tildes tildes.net.db xk3
      
          Without cookies you are limited to the first page. You can use cookies like this:
              https://github.com/rotemdan/ExportCookies
              library tildes tildes.net.db xk3 --cookies ~/Downloads/cookies-tildes-net.txt
      

      It creates a SQLITE file with HTML text in one of the columns. Nothing super fancy. Let me know what you think?

      9 votes
    2. I made a (very, very) basic Tildes scraper and cli browser ruby gem

      Here's the ruby gem page and here's the github. Right now it comes with a command line browser that can browse the front page and group pages with no sorting options, and you can view the contents...

      Here's the ruby gem page and here's the github. Right now it comes with a command line browser that can browse the front page and group pages with no sorting options, and you can view the contents of a topic (link or text) aswell as the comments. The methods defined in lib/tilde-scraper/api.rb can be used to scrape tildes pages into Group, Page, Topic, and Comment objects.

      Right now it's super basic and messy, but I figured if anyone was interested in it it would be the people here.

      9 votes