Code Monkey home page Code Monkey logo

datahoarder-website-to-markdown's Introduction

๐Ÿ’พ datahoarder-website-to-markdown ๐Ÿดโ€โ˜ ๏ธ

Description โšก

This bash script takes cookies and a list of forum/webpage indexes as input, then it scrapes all urls from the indexes and download the associated pages as single html. All html files are converted to lightweight markdown pages (~15-20Kb), then they are trimmed (the sed parameters for trimming must be edited because they are different from website to website) and saved in folders called as the name associated with the index (read the list at the top of the script). All the scraped contents are uploaded to a remote git repository (you can store the git credentials by configuring git, so you can make the full process automatic).

  • forums with "click Like to show the thread" are supported by this script
  • if there is a connection error or the website blocks the scraping, the script can be resumed without losing the previously scraped files
  • deleted files are moved to trashbin (I don't use rm but gio trash)
  • the script must be edited in order to be correctly executed

Screens ๐Ÿ–ผ

image

Dependences ๐Ÿ“œ

datahoarder-website-to-markdown's People

Contributors

evilsh3ll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.