The little things give you away... A collection of various small helper stuff
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
- hashtag="$1"
- shift
- {
- echo "https://twitter.com/hashtag/${hashtag}"
- echo "https://twitter.com/hashtag/${hashtag}?src=hash"
- echo "https://twitter.com/hashtag/${hashtag}?f=tweets&vertical=default"
- echo "https://twitter.com/hashtag/${hashtag}?f=tweets&vertical=default&src=hash"
- snscrape --format '{url} {tcooutlinksss} {outlinksss}' "$@" twitter-hashtag "${hashtag}" | tr ' ' '\n' | grep -v '^$' | awk '!seen[$0]++'
- } > "twitter-#${hashtag}"
|