{"id":18803502,"url":"https://github.com/rofrol/scrape","last_synced_at":"2026-01-05T16:30:14.169Z","repository":{"id":66526220,"uuid":"52554626","full_name":"rofrol/scrape","owner":"rofrol","description":"Showcase what can be done in vanilla.js","archived":false,"fork":false,"pushed_at":"2016-04-30T03:10:09.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-19T07:37:06.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rofrol.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-25T20:29:54.000Z","updated_at":"2017-09-23T14:08:42.000Z","dependencies_parsed_at":"2023-05-22T18:31:04.400Z","dependency_job_id":null,"html_url":"https://github.com/rofrol/scrape","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fscrape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fscrape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fscrape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofrol%2Fscrape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rofrol","download_url":"https://codeload.github.com/rofrol/scrape/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239735263,"owners_count":19688262,"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":[],"created_at":"2024-11-07T22:35:31.814Z","updated_at":"2026-01-05T16:30:14.097Z","avatar_url":"https://github.com/rofrol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scrape\n\nShowcase what can be done in vanilla.js. Inspired by:\n- https://medium.com/@pistacchio/i-m-a-web-developer-and-i-ve-been-stuck-with-the-simplest-app-for-the-last-10-days-fb5c50917df\n- https://medium.com/@wob/the-sad-state-of-web-development-1603a861d29f\n- https://medium.com/vanilla-javascript/choosing-vanilla-javascript-in-2016-6f38a8302ee5\n- http://www.pocketjavascript.com/blog/2015/11/23/introducing-pokedex-org\n- dotJS 2015 - Henrik Joreteg - Pocket-sized JS https://www.youtube.com/watch?v=okk0BGV9oY0\n- http://nolanlawson.github.io/brooklyn-js-html5-mobile-apps\n\n## Install\n\nInstall npm packages:\n\n```\nnpm i\n```\n\nInstall postgresql then create role and database:\n\n```\n$ psql -U postgres\npostgres=# CREATE ROLE myuser LOGIN password 'mypassword';\npostgres=# CREATE DATABASE mydatabase ENCODING 'UTF8' OWNER myuser;\n```\n\nCreate table:\n\n```\nsh init.sh\n```\n\nPopulate database with data:\n\n```\nnpm run populate\n```\n\nRun server and see result:\n\n```\nnpm run server\n```\n\n## APIs\n\n- https://github.com/Glavin001/node-kickass/issues/3#issuecomment-66647959\n- https://github.com/isdampe/kat-api\n- https://github.com/gusnips/node-kickass-torrent\n- http://stackoverflow.com/questions/27499916/error-on-getting-data-from-json-api\n- http://code.runnable.com/U8e1fH7rdUJLwXNO/kickass-api-for-node-js-and-hello-world\n- https://github.com/N44PS/kickass-simple-search\n- https://github.com/Belphemur/node-kickass-json\n- https://github.com/fm4d/KickassAPI\n- https://github.com/stephan-mclean/KickassTorrentsAPI\n- http://stackoverflow.com/questions/35114336/cant-upload-torrent-with-kat-api\n- http://stackoverflow.com/questions/33262548/request-details-about-a-specific-torrent-using-kickass-json-api\n- https://github.com/karan/TPB\n- https://github.com/t3chnoboy/thepiratebay\n\n## node.js\n\n- http://stackoverflow.com/questions/5892569/responding-with-a-json-object-in-nodejs-converting-object-array-to-json-string\n- http://stackoverflow.com/questions/4253367/how-to-escape-a-json-string-containing-newline-characters-using-javascript\n- JSON does not allow real line-breaks. You need to replace all the line breaks into \\n. http://stackoverflow.com/questions/2392766/multiline-strings-in-json\n- https://nodejs.org/docs/v4.2.2/api/http.html\n- installing pg on windows: ok, pg-native: error https://github.com/brianc/node-postgres\n\n## postgresql\n\nAdd database in pgadmin.\nLaunch psql from windows menu.\n\n```sql\n--- semicolon is needed to run\ninsert into scrape values('1231fawer32', 1, 1);\nselect * from scrape;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofrol%2Fscrape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frofrol%2Fscrape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofrol%2Fscrape/lists"}