[DP] PlanetDP MAL ID Eşleştirme Kütüphanesi

PlanetDP'deki anime sayfalarındaki sezonlar ile MAL ID'lerin eşleştirildiği dökuman. Başka betiklere veri servis etmek içindir.

Tento skript by nemal byť nainštalovaný priamo. Je to knižnica pre ďalšie skripty, ktorú by mali používať cez meta príkaz // @require https://update.greasyfork.org/scripts/460555/1153118/%5BDP%5D%20PlanetDP%20MAL%20ID%20E%C5%9Fle%C5%9Ftirme%20K%C3%BCt%C3%BCphanesi.js

    var matchLibrary = {"10116":{"0":[1482]},"12777":{"0":[813]},"16914":{"1":[918],"2":[9969],"3":[15417],"4":[28977],"5":[34096],"6":[35843],"7":[36838],"8":[37491]},"19996":{"0":[11061]},"39721":{"1":[16498],"2":[25777],"3":[35760,38524],"4":[40028],"5":[48583]},"54316":{"1":[31478],"2":[32867],"3":[38003],"4":[50330]}};
	function getMatch1(dpID) {return matchLibrary[dpID];}
	function getMatch2(dpID) {
		var matchLibrary2 = {"10116":{"0":[1482]},"12777":{"0":[813]},"16914":{"1":[918],"2":[9969],"3":[15417],"4":[28977],"5":[34096],"6":[35843],"7":[36838],"8":[37491]},"19996":{"0":[11061]},"39721":{"1":[16498],"2":[25777],"3":[35760,38524],"4":[40028],"5":[48583]},"54316":{"1":[31478],"2":[32867],"3":[38003],"4":[50330]}};
		return matchLibrary2[dpID];
	}