Skip to content

Instantly share code, notes, and snippets.

@zunda
Last active May 29, 2023 20:48
Show Gist options
  • Save zunda/4fe657e16bc565e483a92adbd91ae8c7 to your computer and use it in GitHub Desktop.
Save zunda/4fe657e16bc565e483a92adbd91ae8c7 to your computer and use it in GitHub Desktop.
Crawl rel="me" links
$ bundle install
$ bundle exec ruby draw-relme-links.rb https://example.com/your-profile

generates relme.png

# frozen_string_literal: true
source "https://rubygems.org"
gem "nokogiri", "~> 1.14"
gem "http", "~> 5.1"
gem "ruby-graphviz", "~> 1.2"
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.4)
public_suffix (>= 2.0.2, < 6.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
ffi (1.15.5)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
http (5.1.1)
addressable (~> 2.8)
http-cookie (~> 1.0)
http-form_data (~> 2.2)
llhttp-ffi (~> 0.4.0)
http-cookie (1.0.5)
domain_name (~> 0.5)
http-form_data (2.3.0)
llhttp-ffi (0.4.0)
ffi-compiler (~> 1.0)
rake (~> 13.0)
nokogiri (1.14.3-arm64-darwin)
racc (~> 1.4)
nokogiri (1.14.3-x86_64-linux)
racc (~> 1.4)
public_suffix (5.0.1)
racc (1.6.2)
rake (13.0.6)
rexml (3.2.5)
ruby-graphviz (1.2.5)
rexml
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
PLATFORMS
arm64-darwin-22
x86_64-linux
DEPENDENCIES
http (~> 5.1)
nokogiri (~> 1.14)
ruby-graphviz (~> 1.2)
BUNDLED WITH
2.4.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment