Skip to content

How to skip crossref and semantic? #954

Open
@sekaiyon

Description

@sekaiyon

By default SEMANTIC_SCHOLAR_API_KEY, CROSSREF_MAILTO and CROSSREF_API_KEY are turned on and I want to do everything offline - some of the papers and sources I use are not indexed there and I don't want to meddle with setting up the API keys (I am a noob actually). How can I turn off the check for these variables and everything they entail?

I'm getting stuff like this:

SEMANTIC_SCHOLAR_API_KEY environment variable not set. Semantic Scholar API rate limits may apply.
CROSSREF_MAILTO environment variable not set. Crossref API rate limits may apply.
CROSSREF_API_KEY environment variable not set. Crossref API rate limits may apply.
Ошибка при добавлении Illarionov_Sergei_Teoriya_poznaniya_i_filosofiya_nauki_Readli.Net_814306_original_8d958.pdf: 403, message='Forbidden', url='https://api.semanticscholar.org/graph/v1/paper/search/match?query=Example+Title&fields=authors,citationCount,citationStyles,externalIds,influentialCitationCount,isOpenAccess,journal,openAccessPdf,publicationDate,publicationTypes,title,url,venue,year'
Metadata not found for Example Title in CrossrefProvider.
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x0000023456A5EE40>
Unclosed connector
connections: ['deque([(<aiohttp.client_proto.ResponseHandler object at 0x0000023456506690>, 441312.455705)])']
connector: <aiohttp.connector.TCPConnector object at 0x0000023456A5EBA0>
SEMANTIC_SCHOLAR_API_KEY environment variable not set. Semantic Scholar API rate limits may apply.
Ошибка при добавлении Обзор литературы.pdf: 403, message='Forbidden', url='https://api.semanticscholar.org/graph/v1/paper/search/match?query=%D0%98%D1%81%D1%81%D0%BB%D0%B5%D0%B4%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5+%D1%82%D1%80%D0%B0%D0%BD%D1%81%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%86%D0%B8%D0%B9+%D1%82%D1%80%D1%83%D0%B4%D0%B0:+%D1%82%D0%B5%D0%BE%D1%80%D0%B5%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B5+%D0%BF%D0%BE%D0%B4%D1%85%D0%BE%D0%B4%D1%8B+%D0%B8+%D0%B8%D1%85+%D0%B2%D0%BB%D0%B8%D1%8F%D0%BD%D0%B8%D0%B5+%D0%BD%D0%B0+%D0%B1%D1%83%D0%B4%D1%83%D1%89%D0%B5%D0%B5+%D1%82%D1%80%D1%83%D0%B4%D0%B0&fields=authors,citationCount,citationStyles,externalIds,influentialCitationCount,isOpenAccess,journal,openAccessPdf,publicationDate,publicationTypes,title,url,venue,year'
Metadata not found for Исследование трансформаций труда: теоретические подходы и их влияние на будущее труда in CrossrefProvider.
Could not find cost for model ollama/deepseek-r1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds informationSubject matter is currently underspecified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions