{"id":18480714,"url":"https://github.com/felquis/filtro","last_synced_at":"2025-05-13T19:24:48.056Z","repository":{"id":8270164,"uuid":"9723556","full_name":"felquis/filtro","owner":"felquis","description":"Fetch web page data, manipulating HTML in the server","archived":false,"fork":false,"pushed_at":"2014-08-26T17:35:05.000Z","size":224,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T02:16:45.549Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felquis.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-28T01:19:13.000Z","updated_at":"2018-08-18T11:59:54.000Z","dependencies_parsed_at":"2022-08-07T00:15:36.924Z","dependency_job_id":null,"html_url":"https://github.com/felquis/filtro","commit_stats":null,"previous_names":["felquis/node-page-data"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felquis%2Ffiltro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felquis%2Ffiltro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felquis%2Ffiltro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felquis%2Ffiltro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felquis","download_url":"https://codeload.github.com/felquis/filtro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254011256,"owners_count":21999073,"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-06T12:19:51.374Z","updated_at":"2025-05-13T19:24:48.035Z","avatar_url":"https://github.com/felquis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Filtro\nCatch web pages data, manipulating HTML in the server.\n\n## Install\n`npm install filtro --save`\n\n## Make a little test\n\n1 - Install the module `filtro-facebook` to returns the facebook tags in the page:\n`npm install filtro-facebook --save`\n\n2 - Write a file containing:\n```js\nvar pageData = require('filtro').filtro;\n\npageData({\n    url: 'http://tutsmais.com.br/blog',\n    modules: ['facebook'],\n    onContent: function (e) {\n        console.log('Content: ', e);\n    }\n});\n```\n### You will see:\n![summary-content](https://f.cloud.github.com/assets/736728/442248/f939209e-b141-11e2-8cdf-1a89eb8bc465.png)\n\n# API\n- `url`: URL to request.\n- `modules`: Array of modules to be used: `['facebook', 'title']`, each module will call a Node module, for example `filtro-facebook`, `filtro-title`, `filtro-otherFiltroModule`\n\n# events\n- `onContent`: Trigered when your data is complete.\n- `onError`: Tregered when have any error.\n\n# Filtro Modules\n* [Facebook](http://github.com/felquis/filtro-facebook): Returns the Facebook tags data.\n* [Title](http://github.com/felquis/filtro-title): Returns the page title of an URL.\n* [HTML](http://github.com/felquis/filtro-html): Returns the HTML of an URL.\n* [merriam webster](https://github.com/felquis/filtro-merriam-audio): Returns the audios of words from Merriam Webster website\n\n## Contributors\nFeel free to create a [Issue](https://github.com/felquis/filtro/issues) to send suggestions and bugs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelquis%2Ffiltro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelquis%2Ffiltro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelquis%2Ffiltro/lists"}