skip some lines at the beginning of the file
Some ris file stats with some information as follows, can we skip it automatically?
Provider: Silverchair
Database: AmericanAccountingAssociation
Content: text/plain; charset="UTF-8"
What kind of system exports RIS files like this?
Yes, I don't think I've seen an RIS file like this before. Could you elaborate on where this format came from? We could accept a PR if by default zero lines are skipped by default, as long as there's a broader need for supporting this format.
There is a function called is_header which you can override in a subclass. The input is a line, and the output is a boolean. It's more intended for RIS files that have a header before every reference, but it should work for this use case. If this a common issue, maybe adding it as a separate parameter is warranted.