MCPcopy Create free account
hub / github.com/NobyDa/Script / updateIMDbApikey

Function updateIMDbApikey

Disney/DisneyRating.js:120–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118}
119
120function updateIMDbApikey() {
121 if (IMDbApikey) IMDbApikeys.splice(IMDbApikeys.indexOf(IMDbApikey), 1);
122 const index = Math.floor(Math.random() * IMDbApikeys.length);
123 IMDbApikey = IMDbApikeys[index];
124 $tool.write(IMDbApikey, "ImdbApikeyCacheKey");
125}
126
127function get_IMDb_message(data) {
128 let rating_message = "IMDb: ⭐️ N/A";

Callers 2

DisneyRating.jsFile · 0.85
requestIMDbRatingFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected