Closed kritikagarg closed 2 years ago
The TimeMap URI supplied to the detect_off_topic
command above points to a human-readable TimeMap. OTMT cannot parse human-readable TimeMaps. It works with a URI-T linking to a Memento Protocol machine-readable TimeMap. In the case above, you'll want to use the URI-T at http://web.archive.org/web/timemap/link/https://twitter.com/kritika_garg
I agree that the error message could be much better though. OTMT essentially just blew up because you gave it unexpected input.
Try the suggested URI-T and let me know if it works.
Thank you for the prompt reply, @shawnmjones !! The suggested URI-T works. Maybe we could also add this information to the README; that would be helpful.
I totally agree. Please feel free to edit the README and commit the changes for others. 🙂
https://github.com/oduwsdl/off-topic-memento-toolkit/blob/77cba436a6219fab8b8b7c773c3fc273388a8a2c/otmt/timemap.py#L43