Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Resolve chained redirections in DOIs #188
DOI often points to a location that returns
This PR tries to resolve DOI until 200 is reached. It also uses
@@ Coverage Diff @@ ## master #188 +/- ## ========================================== + Coverage 84.96% 85.03% +0.07% ========================================== Files 34 34 Lines 2075 2085 +10 ========================================== + Hits 1763 1773 +10 Misses 312 312
craig-willis left a comment
Looks good. As you noted, this solves the problem I was seeing with doi:10.7910/DVN/29911. Not sure where to put this, but I noticed that the Dashboard register isn't stripping whitespace during lookup. If I input " https://hdl.handle.net/1902.1/22315" instead of "https://hdl.handle.net/1902.1/22315", lookup fails.