Skip to content

Instantly share code, notes, and snippets.

View rettinghaus's full-sized avatar

Klaus Rettinghaus rettinghaus

View GitHub Profile
@rettinghaus
rettinghaus / check-gnds.sh
Last active February 14, 2019 16:02 — forked from peterstadler/check-gnds.sh
Check Beacon File for outdated IDs
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Script for checking GND IDs.
# 1. Grab all GNDs from the beacon file
# 2. Check every GND by making a HEAD request and see whether the returned status code is 303
import httplib
from urlparse import urlparse