{"id":18099664,"url":"https://github.com/atomaka/scrape-and-text","last_synced_at":"2025-04-06T04:43:45.607Z","repository":{"id":141804215,"uuid":"73250379","full_name":"atomaka/scrape-and-text","owner":"atomaka","description":"Simple example application from Lansing Ruby Meetup 08 Nov 2016","archived":false,"fork":false,"pushed_at":"2016-11-09T03:43:04.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T10:54:37.673Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/atomaka.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-09T03:41:56.000Z","updated_at":"2016-11-09T17:01:53.000Z","dependencies_parsed_at":"2023-06-09T15:15:47.065Z","dependency_job_id":null,"html_url":"https://github.com/atomaka/scrape-and-text","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/atomaka%2Fscrape-and-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomaka%2Fscrape-and-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomaka%2Fscrape-and-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomaka%2Fscrape-and-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomaka","download_url":"https://codeload.github.com/atomaka/scrape-and-text/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436141,"owners_count":20938532,"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-10-31T21:10:29.616Z","updated_at":"2025-04-06T04:43:45.399Z","avatar_url":"https://github.com/atomaka.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby User Group, 08 Nov 2016\n\nText alerting on a website content change\n\n* web request\n\n```\nrequire 'net/http'\nuri = URI('https://github.com/chrisvfritz')\ncontent = Net::HTTP.get(uri)\n```\n\n* parse content\n\n```\nrequire 'nokogiri'\nparsed = Nokogiri::HTML(content)\nchris_face = parse.css('.avatar').attr('src').value\n```\n\n* ??? (process)\n\n* send text\n\n```\nrequire 'twilio-ruby'\nclient = Twilio::REST::Client.new(account_sid, auth_token)\nclient.messages.create(\n  from: from_number,\n  to: notification_number,\n  body: 'Repos changed'\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomaka%2Fscrape-and-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomaka%2Fscrape-and-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomaka%2Fscrape-and-text/lists"}