Permalink
Browse files
Fix beck-online.js if no copyright info is given (#1743)
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
beck-online.js
|
@@ -9,7 +9,7 @@ |
|
|
|
"inRepository": true, |
|
|
|
"translatorType": 4, |
|
|
|
"browserSupport": "gcs", |
|
|
|
"lastUpdated": "2018-09-08 12:20:47" |
|
|
|
"lastUpdated": "2018-09-11 07:17:21" |
|
|
|
} |
|
|
|
|
|
|
|
/* |
|
@@ -270,7 +270,7 @@ function scrapeBook(doc, url) { |
|
|
|
} |
|
|
|
item.ISBN = text(doc, '#titelseitetext .__beck_titelei_impressum_isbn'); |
|
|
|
item.rights = text(doc, '#titelseitetext .__beck_titelei_impressum_p'); |
|
|
|
if (item.rights.includes("Beck")) { |
|
|
|
if (item.rights && item.rights.includes("Beck")) { |
|
|
|
item.publisher = "Verlag C. H. Beck"; |
|
|
|
item.place = "München"; |
|
|
|
} |
|
|
0 comments on commit
0894cbf