|
|
@ -96,6 +96,7 @@ class PublicationResult: |
|
|
|
year: int |
|
|
|
pages: Optional[Tuple[int, int]] |
|
|
|
dblp_doi: Optional[str] = None |
|
|
|
access: Optional[str] = None |
|
|
|
authors: List[Tuple[str,str]] = field(default_factory=list) |
|
|
|
urls: List[str] = field(default_factory=list) |
|
|
|
|
|
|
@ -195,6 +196,7 @@ class PublicationResult: |
|
|
|
|
|
|
|
# TODO Parse URLs ('ee') |
|
|
|
doi = None if not 'doi' in info else info['doi'] |
|
|
|
access = None if not 'access' in info else info['access'] |
|
|
|
|
|
|
|
return cls( |
|
|
|
key=info['key'], |
|
|
@ -202,6 +204,7 @@ class PublicationResult: |
|
|
|
year=int(info['year']), |
|
|
|
pages=pages, |
|
|
|
dblp_doi=doi, |
|
|
|
access = access, |
|
|
|
authors=[(author['@pid'], html.unescape(author['text'])) for author in authors], |
|
|
|
) |
|
|
|
|
|
|
|