Add support for lectures and sandboxes

develop
Sven Slootweg 12 years ago
parent d6d8eb70b9
commit b3edd35ecf

@ -87,6 +87,10 @@ class Item extends CPHPDatabaseRecordClass
return "book"; return "book";
case 9: case 9:
return "audiobook"; return "audiobook";
case 10:
return "lecture";
case 11:
return "sandbox";
default: default:
return "unknown"; return "unknown";
} }

@ -10,6 +10,7 @@ class Scraper(object):
BOOK = 8 BOOK = 8
AUDIOBOOK = 9 AUDIOBOOK = 9
LECTURE = 10 LECTURE = 10
SANDBOX = 11
provider_id = 0 provider_id = 0

Loading…
Cancel
Save