Closed lukasschwab closed 3 years ago
Includes the first entry summary for a non-bozo feed returned with a non-200 status. For example, extracts incorrect id format for 0112019v1 from
incorrect id format for 0112019v1
<?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <link href="http://arxiv.org/api/query?search_query%3D%26id_list%3D0112019v1%26start%3D0%26max_results%3D10%26sortBy%3Drelevance%26sortOrder%3Ddescending" rel="self" type="application/atom+xml"/> <title type="html">ArXiv Query: search_query=&id_list=0112019v1&start=0&max_results=10&sortBy=relevance&sortOrder=descending</title> <id>http://arxiv.org/api/ICCqNwWyrQkMAErZidA/EoTr7/o</id> <updated>2021-07-12T00:00:00-04:00</updated> <opensearch:totalResults xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">1</opensearch:totalResults> <opensearch:startIndex xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">0</opensearch:startIndex> <opensearch:itemsPerPage xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">1</opensearch:itemsPerPage> <entry> <id>http://arxiv.org/api/errors#incorrect_id_format_for_0112019v1</id> <title>Error</title> <summary>incorrect id format for 0112019v1</summary> <updated>2021-07-12T00:00:00-04:00</updated> <link href="http://arxiv.org/api/errors#incorrect_id_format_for_0112019v1" rel="alternate" type="text/html"/> <author> <name>arXiv api core</name> </author> </entry> </feed>
Removes some repetition from ArxivError.__str__.
ArxivError.__str__
List any changes that break the API usage supported on master.
master
The HTTPError constructor: now takes the full feedparser.FeedParserDict rather than just resp.status.
HTTPError
feedparser.FeedParserDict
resp.status
List GitHub issues relevant to this change.
Fix #75.
README.md
Description
Includes the first entry summary for a non-bozo feed returned with a non-200 status. For example, extracts
incorrect id format for 0112019v1
fromRemoves some repetition from
ArxivError.__str__
.Breaking changes
The
HTTPError
constructor: now takes the fullfeedparser.FeedParserDict
rather than justresp.status
.Relevant issues
Fix #75.
Checklist
README.md
example usage has been updated.