Browse Source

Get correct capitalisation for a Facebook username

master
JustAnotherArchivist 5 years ago
parent
commit
db0104b3c8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      facebook-user-capitalisation

+ 2
- 0
facebook-user-capitalisation View File

@@ -0,0 +1,2 @@
#!/bin/bash
curl -s "https://www.facebook.com/${1}/" | grep -Po '<meta property="og:url" content="https://www\.facebook\.com/\K[^"/]+'

Loading…
Cancel
Save