{"id":20753661,"url":"https://github.com/whiletruedoend/livejournal-archive-helper","last_synced_at":"2026-04-11T17:03:04.492Z","repository":{"id":211766214,"uuid":"729905842","full_name":"Whiletruedoend/livejournal-archive-helper","owner":"Whiletruedoend","description":"The script is designed to help archive articles from the livejournal site. It parses all articles of a specified user, then automatically opens them in a browser and saves them in PDF format.","archived":false,"fork":false,"pushed_at":"2023-12-10T18:02:06.000Z","size":16329,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T04:13:21.913Z","etag":null,"topics":["archive","archive-tool","articles","automation","chrome","comments","export","helper","javascript","js","livejournal","pdf","ruby","script","selenium"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Whiletruedoend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-12-10T18:00:14.000Z","updated_at":"2024-07-01T16:42:36.000Z","dependencies_parsed_at":"2023-12-10T19:33:56.724Z","dependency_job_id":null,"html_url":"https://github.com/Whiletruedoend/livejournal-archive-helper","commit_stats":null,"previous_names":["whiletruedoend/livejournal-archive-helper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whiletruedoend%2Flivejournal-archive-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whiletruedoend%2Flivejournal-archive-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whiletruedoend%2Flivejournal-archive-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whiletruedoend%2Flivejournal-archive-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Whiletruedoend","download_url":"https://codeload.github.com/Whiletruedoend/livejournal-archive-helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243057262,"owners_count":20229174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archive","archive-tool","articles","automation","chrome","comments","export","helper","javascript","js","livejournal","pdf","ruby","script","selenium"],"created_at":"2024-11-17T09:14:26.409Z","updated_at":"2025-12-31T00:52:40.212Z","avatar_url":"https://github.com/Whiletruedoend.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# livejournal-archive-helper\n\n## Description\n\nThe script is designed to help archive articles from the livejournal site. It parses all articles of a specified user, then automatically opens them in a browser and saves them in PDF format.\n\n## Features:\n  - Downloading articles by any user;\n  - Moving comments to a single page and automatically expand them (script.js);\n  - Clear downloading without ads and banners;\n  - Potencial ability to download hidden articles (for friends only) (available only after logging in to your account) (theoretically, not tested);\n\n## Requirements\n\n - OS: windows, linux (mac not supported sorry);\n - Ruby (3.1.4);\n\n## Install\n\n  * Install ruby (3.1.4):\n    * (For Windows) you can use [RubyInstaller](https://rubyinstaller.org/downloads/);\n    * For [rvm](https://rvm.io/):\n    ```ssh\n     rvm install ruby-3.1.4\n    ```\n    * For [rbenv](https://github.com/rbenv/rbenv):\n    ```ssh\n     rbenv install 3.1.4\n    ```\n\n  * Download repository:\n   ```\n   git clone https://github.com/Whiletruedoend/livejournal-archive-helper\n\n   cd ./livejournal-archive-helper\n   ```\n  \n  * Run bundler:\n  ```\n    bundle\n  ```\n\n  ## There are two ways to proceed with the installation:\n\n  ### Automatic (recommended)\n\n  * Run intall script:\n  ```\n    ruby install.rb\n  ```\n\n  ### Manual\n\n  1. Download Chrome For Testing (chrome) and Chromedriver from link: https://googlechromelabs.github.io/chrome-for-testing/\n  2. Extract `chrome archive` to: `./livejournal-archive-helper/_browsers`\n  (The folder will contain the chrome (ex. chrome-win64) folder)\n  3. From `chromedriver archive` extact `chromedriver` file to: `./livejournal-archive-helper/_browsers`\n  (The folder will contain the chromedriver (ex. chromedriver.exe) file)\n  4. Extract the contents of file `./livejournal-archive-helper/_browsers/_ext/_settings.zip` to: `./livejournal-archive-helper/_browsers`\n\n## Run\n \n  * Now you can run main script:\n  ```\n    ruby main.rb\n  ```\n\n## Advanced Chrome profile customize\n\nIf you need to customize your browser (install/change extensions or log in to your account), you need to do the following:\n\n ## Automatic way (recommended)\n\n* Run debug script:\n  ```\n    ruby browser-debug.rb\n  ```\n\n## Manual way\n\n* Go to chrome browser folder;\n  * (For windows): Create shortcut .lnk and add:\n\n    ```\n    --user-data-dir=\"path\\to\\_browsers\\_ChromeData\"\n    ```\n    , where you need to change the path to your path where the _ChromeData folder is located.\n\n  * (For linux): just run chrome with this param;\n* Now you can run chrome and make your changes;\n\n## Contribution\n\n  1) Fork tis project;\n  2) Make changes to the forked project;\n  3) On the page of this repository, poke Pull Requests and make a Pull Request by selecting your fork in the right list; \n  \n## Contact\nIf you have any ideas or your own developments, or just questions about the performance of the code, then you can always contact me at the following addresses: \n\n- [Matrix](https://matrix.to/#/@whiletruedoend:matrix.org)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhiletruedoend%2Flivejournal-archive-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhiletruedoend%2Flivejournal-archive-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhiletruedoend%2Flivejournal-archive-helper/lists"}