Skip to content

Instantly share code, notes, and snippets.

@jswrenn
Created December 4, 2020 00:22
Show Gist options
  • Save jswrenn/a60383b86b92cae76407f5d11bc878c7 to your computer and use it in GitHub Desktop.
Save jswrenn/a60383b86b92cae76407f5d11bc878c7 to your computer and use it in GitHub Desktop.
year sats
1960 42
1961 58
1962 98
1963 95
1964 124
1965 175
1966 170
1967 173
1968 161
1969 154
1970 142
1971 169
1972 137
1973 145
1974 138
1975 161
1976 162
1977 143
1978 167
1979 131
1980 144
1981 160
1982 159
1983 162
1984 168
1985 171
1986 151
1987 142
1988 149
1989 139
1990 175
1991 146
1992 141
1993 117
1994 132
1995 113
1996 108
1997 163
1998 181
1999 138
2000 134
2001 98
2002 105
2003 94
2004 77
2005 79
2006 118
2007 120
2008 112
2009 138
2010 133
2011 143
2012 142
2013 217
2014 299
2015 269
2016 223
2017 476
2018 476
2019 504
2020 1295
printf "year,sats\n"
for year in {1960..2020} ; do
sats=$(curl -s "https://space.skyrocket.de/doc_chr/lau${year}.htm" \
| xidel -s -e '//*[@id="chronlist"]/tbody/tr/td[3]' - \
| wc -l)
printf "%s,%s\n" $year $sats
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment