From 9af86fb9d70094ee44f48f45468f43596cdfb171 Mon Sep 17 00:00:00 2001 From: Brahim Date: Thu, 29 Jul 2021 15:53:34 +0200 Subject: [PATCH 01/36] .env file --- package-lock.json | 916 +++++++++++++++++++++++++++++++++++----------- src/moviedb.js | 1 + 2 files changed, 709 insertions(+), 208 deletions(-) diff --git a/package-lock.json b/package-lock.json index fcf3619..27881ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,79 +1,617 @@ { "name": "node-moviedb-cli", "version": "1.0.0", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, - "dependencies": { - "chalk": { + "packages": { + "": { + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "commander": "^6.1.0", + "dotenv": "^8.2.0", + "node-notifier": "^8.0.0", + "ora": "^5.1.0" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bl": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", - "requires": { + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/chalk": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", + "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", "dependencies": { - "@types/color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" - }, - "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", - "requires": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - } + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-spinners": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.0.tgz", + "integrity": "sha512-t+4/y50K/+4xcCRosKkA7W4gTr1MySvLV0q+PxmG7FJ5g+66ChKurYjxBCjHggHH3HA5Hh9cy+lcUGWDqVH+4Q==", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/commander": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "engines": { + "node": ">= 6" + } + }, + "node_modules/defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "dependencies": { + "clone": "^1.0.2" + } + }, + "node_modules/dotenv": { + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", + "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==", + "engines": { + "node": ">=10" + } + }, + "node_modules/growly": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", + "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } + { + "type": "patreon", + "url": "https://www.patreon.com/feross" }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/node-notifier": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.2.tgz", + "integrity": "sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==", + "dependencies": { + "growly": "^1.3.0", + "is-wsl": "^2.2.0", + "semver": "^7.3.2", + "shellwords": "^0.1.1", + "uuid": "^8.3.0", + "which": "^2.0.2" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + { + "type": "patreon", + "url": "https://www.patreon.com/feross" }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } + { + "type": "consulting", + "url": "https://feross.org/support" } + ] + }, + "node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/shellwords": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", + "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==" + }, + "node_modules/signal-exit": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dependencies": { + "ansi-regex": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" } }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + } + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "requires": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "chalk": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", + "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "requires": { + "restore-cursor": "^3.1.0" + } + }, + "cli-spinners": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.0.tgz", + "integrity": "sha512-t+4/y50K/+4xcCRosKkA7W4gTr1MySvLV0q+PxmG7FJ5g+66ChKurYjxBCjHggHH3HA5Hh9cy+lcUGWDqVH+4Q==" + }, + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, "commander": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-6.1.0.tgz", - "integrity": "sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA==" + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==" + }, + "defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "requires": { + "clone": "^1.0.2" + } }, "dotenv": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz", - "integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==" + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.6.0.tgz", + "integrity": "sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==" }, "growly": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=" }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, "is-docker": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz", - "integrity": "sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==" + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==" + }, + "is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==" + }, + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" }, "is-wsl": { "version": "2.2.0", @@ -88,10 +626,32 @@ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, + "log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "requires": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" + }, "node-notifier": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.0.tgz", - "integrity": "sha512-46z7DUmcjoYdaWyXouuFNNfUo6eFa94t23c53c+lG/9Cvauk4a98rAUp9672X5dxGdQmLpPzTxzu8f/OeEPaFA==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.2.tgz", + "integrity": "sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==", "requires": { "growly": "^1.3.0", "is-wsl": "^2.2.0", @@ -101,178 +661,113 @@ "which": "^2.0.2" } }, + "onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "requires": { + "mimic-fn": "^2.1.0" + } + }, "ora": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.1.0.tgz", - "integrity": "sha512-9tXIMPvjZ7hPTbk8DFq1f7Kow/HU/pQYB60JbNq+QnGwcyhWVZaQ4hM9zQDEsPxw/muLpgiHSaumUZxCAmod/w==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", "requires": { + "bl": "^4.1.0", "chalk": "^4.1.0", "cli-cursor": "^3.1.0", - "cli-spinners": "^2.4.0", + "cli-spinners": "^2.5.0", "is-interactive": "^1.0.0", - "log-symbols": "^4.0.0", - "mute-stream": "0.0.8", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", "strip-ansi": "^6.0.0", "wcwidth": "^1.0.1" - }, - "dependencies": { - "@types/color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==" - }, - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" - }, - "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", - "requires": { - "@types/color-name": "^1.1.1", - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "requires": { - "restore-cursor": "^3.1.0" - } - }, - "cli-spinners": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.4.0.tgz", - "integrity": "sha512-sJAofoarcm76ZGpuooaO0eDy8saEy+YoZBLjC4h8srt4jeBnkYeOgqxgsJQTpyt2LjI5PTfLJHSL+41Yu4fEJA==" - }, - "clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "defaults": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", - "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", - "requires": { - "clone": "^1.0.2" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" - }, - "is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==" - }, - "log-symbols": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", - "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==", - "requires": { - "chalk": "^4.0.0" - } - }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" - }, - "mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" - }, - "onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "requires": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - } - }, - "signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "requires": { - "ansi-regex": "^5.0.0" - } - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "requires": { - "has-flag": "^4.0.0" - } - }, - "wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", - "requires": { - "defaults": "^1.0.3" - } - } } }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "requires": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, "semver": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", - "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==" + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "requires": { + "lru-cache": "^6.0.0" + } }, "shellwords": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==" }, + "signal-exit": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "requires": { + "ansi-regex": "^5.0.0" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, "uuid": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz", - "integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==" + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "requires": { + "defaults": "^1.0.3" + } }, "which": { "version": "2.0.2", @@ -281,6 +776,11 @@ "requires": { "isexe": "^2.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } } diff --git a/src/moviedb.js b/src/moviedb.js index dd5591a..ee40890 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -1,6 +1,7 @@ #!/usr/bin/env node const { Command } = require("commander"); +const dotenv = require("dotenv").config(); const program = new Command(); program.version("0.0.1"); From a6b20576659dbcf880b5f911fff824eab3e8d372 Mon Sep 17 00:00:00 2001 From: Brahim Date: Thu, 29 Jul 2021 18:43:38 +0200 Subject: [PATCH 02/36] get popular persons by page --- src/moviedb.js | 9 ++++++-- src/utils/getMethods.js | 50 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 src/utils/getMethods.js diff --git a/src/moviedb.js b/src/moviedb.js index ee40890..9a8634b 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -1,6 +1,8 @@ #!/usr/bin/env node const { Command } = require("commander"); + +const func = require("./utils/getMethods.js"); const dotenv = require("dotenv").config(); const program = new Command(); @@ -9,8 +11,11 @@ program.version("0.0.1"); program .command("get-persons") .description("Make a network request to fetch most popular persons") - .action(function handleAction() { - console.log("hello-world"); + .option("-p, --popular", "Fetch the popular persons") + .option("--page ", "The page of persons data results to fetch") + .action(function handleAction(options) { + if (options.page) func.getPersonsByPage(options.page); + if (options.popular) func.getPopularPersons(options.popular); }); program diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js new file mode 100644 index 0000000..3d764e9 --- /dev/null +++ b/src/utils/getMethods.js @@ -0,0 +1,50 @@ +const https = require("https"); + +/** + * Persons by Pages + */ +function getPersonsByPage(page = 1) { + const options = { + host: "api.themoviedb.org", + port: 443, + protocol: "https:", + path: `/3/person/popular?page=${page}&api_key=${process.env.API_KEY}`, + method: "GET", + headers: { + "Content-Type": "application/json", + Authorization: `Bearer ${process.env.API_KEY}`, + }, + }; + + const req = https.request(options, (res) => { + let body = ""; + + res.on("data", (chunk) => { + body += chunk; + }); + + res.on("end", () => { + try { + let json = JSON.parse(body); + console.log(json); + } catch (error) { + console.error(error.message); + } + }); + }); + + req.on("error", (e) => { + console.error(`problem with request: ${e.message}`); + }); + + req.end(); +} + +/** + * Popular functions + */ +function getPopularPersons() { + console.log("personas populares como Einar "); +} + +module.exports = { getPersonsByPage, getPopularPersons }; From 525e729aedaf204cc9923722a1e0bfd53dca8c05 Mon Sep 17 00:00:00 2001 From: Brahim Date: Thu, 29 Jul 2021 19:28:34 +0200 Subject: [PATCH 03/36] start and stop the spinner --- src/utils/getMethods.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 3d764e9..4bd6e9f 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -1,4 +1,5 @@ const https = require("https"); +const ora = require("ora"); /** * Persons by Pages @@ -19,6 +20,8 @@ function getPersonsByPage(page = 1) { const req = https.request(options, (res) => { let body = ""; + const spinner = ora("Loading data").start(); + res.on("data", (chunk) => { body += chunk; }); @@ -26,7 +29,10 @@ function getPersonsByPage(page = 1) { res.on("end", () => { try { let json = JSON.parse(body); - console.log(json); + setTimeout(() => { + console.log(json); + spinner.succeed("Data fetched successfully"); + }, 2000); } catch (error) { console.error(error.message); } From fc51bdcb0aaa6a32401c2d33995e28a787c876a1 Mon Sep 17 00:00:00 2001 From: Brahim Date: Thu, 29 Jul 2021 19:40:15 +0200 Subject: [PATCH 04/36] spinner fail on error --- src/utils/getMethods.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 4bd6e9f..9f9b59e 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -7,7 +7,7 @@ const ora = require("ora"); function getPersonsByPage(page = 1) { const options = { host: "api.themoviedb.org", - port: 443, + port: 80, protocol: "https:", path: `/3/person/popular?page=${page}&api_key=${process.env.API_KEY}`, method: "GET", @@ -17,11 +17,11 @@ function getPersonsByPage(page = 1) { }, }; + const spinner = ora("Loading data").start(); + const req = https.request(options, (res) => { let body = ""; - const spinner = ora("Loading data").start(); - res.on("data", (chunk) => { body += chunk; }); @@ -34,13 +34,13 @@ function getPersonsByPage(page = 1) { spinner.succeed("Data fetched successfully"); }, 2000); } catch (error) { - console.error(error.message); + spinner.fail(error.message); } }); }); req.on("error", (e) => { - console.error(`problem with request: ${e.message}`); + spinner.fail(e.message); }); req.end(); From 700b97f64ea951433e2224eb0c6341e7723384f1 Mon Sep 17 00:00:00 2001 From: Brahim Date: Thu, 29 Jul 2021 20:20:34 +0200 Subject: [PATCH 05/36] =?UTF-8?q?Node=20package.json=20=E2=80=9Cbin?= =?UTF-8?q?=E2=80=9D=20value?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +++ src/utils/getMethods.js | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f20c9c6..ce0f8b2 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,9 @@ "url": "https://github.com/assembler-school/node-moviedb-cli.git" }, "scripts": {}, + "bin": { + "moviedb": "./src/moviedb.js" + }, "dependencies": { "chalk": "^4.1.0", "commander": "^6.1.0", diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 9f9b59e..a1caa90 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -7,7 +7,6 @@ const ora = require("ora"); function getPersonsByPage(page = 1) { const options = { host: "api.themoviedb.org", - port: 80, protocol: "https:", path: `/3/person/popular?page=${page}&api_key=${process.env.API_KEY}`, method: "GET", @@ -30,7 +29,7 @@ function getPersonsByPage(page = 1) { try { let json = JSON.parse(body); setTimeout(() => { - console.log(json); + console.log("\n", json); spinner.succeed("Data fetched successfully"); }, 2000); } catch (error) { From 46945e64a09527c88ff8f68378db05d67c0869d7 Mon Sep 17 00:00:00 2001 From: Brahim Date: Thu, 29 Jul 2021 20:47:50 +0200 Subject: [PATCH 06/36] Fix: required options --- src/moviedb.js | 11 +++++------ src/utils/getMethods.js | 13 +++---------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/src/moviedb.js b/src/moviedb.js index 9a8634b..76080c5 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -2,7 +2,7 @@ const { Command } = require("commander"); -const func = require("./utils/getMethods.js"); +const get = require("./utils/getMethods.js"); const dotenv = require("dotenv").config(); const program = new Command(); @@ -11,11 +11,10 @@ program.version("0.0.1"); program .command("get-persons") .description("Make a network request to fetch most popular persons") - .option("-p, --popular", "Fetch the popular persons") - .option("--page ", "The page of persons data results to fetch") - .action(function handleAction(options) { - if (options.page) func.getPersonsByPage(options.page); - if (options.popular) func.getPopularPersons(options.popular); + .requiredOption("-p, --popular", "Fetch the popular persons") + .requiredOption("--page ", "The page of data results to fetch") + .action(function handleAction(opt) { + if (opt.page && opt.popular) get.PersonsByPage(opt.page); }); program diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index a1caa90..09c49ad 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -4,7 +4,7 @@ const ora = require("ora"); /** * Persons by Pages */ -function getPersonsByPage(page = 1) { +function PersonsByPage(page = 1) { const options = { host: "api.themoviedb.org", protocol: "https:", @@ -16,7 +16,7 @@ function getPersonsByPage(page = 1) { }, }; - const spinner = ora("Loading data").start(); + const spinner = ora("Loading popular people").start(); const req = https.request(options, (res) => { let body = ""; @@ -45,11 +45,4 @@ function getPersonsByPage(page = 1) { req.end(); } -/** - * Popular functions - */ -function getPopularPersons() { - console.log("personas populares como Einar "); -} - -module.exports = { getPersonsByPage, getPopularPersons }; +module.exports = { PersonsByPage }; From 6511c84ca49681abaef0b65992394b2bf6b644f3 Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Fri, 30 Jul 2021 03:30:50 +0200 Subject: [PATCH 07/36] feat/ all functionality added --- src/moviedb.js | 7 +++-- src/utils/getMethods.js | 62 ++++++++++++++++++++++++++++++++++++++++- 2 files changed, 65 insertions(+), 4 deletions(-) diff --git a/src/moviedb.js b/src/moviedb.js index 9a8634b..6c77c89 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -21,8 +21,9 @@ program program .command("get-person") .description("Make a network request to fetch the data of a single person") - .action(function handleAction() { - console.log("hello-world"); + .option("-i, --id [id]", "The id of the person") + .action(function handleAction(option) { + if (option.id) func.getPersonById(option.id); }); program @@ -41,4 +42,4 @@ program // error on unknown commands -program.parse(process.argv); +program.parse(process.argv); \ No newline at end of file diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 3d764e9..274584f 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -1,4 +1,8 @@ const https = require("https"); +const chalk = require("chalk"); +const ora = require('ora'); +const log = console.log; +const spinner = ora(''); /** * Persons by Pages @@ -47,4 +51,60 @@ function getPopularPersons() { console.log("personas populares como Einar "); } -module.exports = { getPersonsByPage, getPopularPersons }; +/** + * Person by ID functions + */ +function getPersonById(id) { + const options = { + host: "api.themoviedb.org", + port: 443, + protocol: "https:", + path: `/3/person/${id}?&api_key=${process.env.API_KEY}`, + method: "GET", + headers: { + "Content-Type": "application/json", + Authorization: `Bearer ${process.env.API_KEY}`, + }, + }; + + const req = https.request(options, (res) => { + spinner.start('Fetching the person data...\n'); + let body = ""; + + res.on("data", (chunk) => { + body += chunk; + }); + + res.on("end", () => { + try { + let person = JSON.parse(body); + log("____________________________________\nPerson:\n"); + log(`ID: ${person.id} \nName: ${chalk.cyanBright(person.name)} \nBirthday: ${person.birthday} ${chalk.gray("|")} ${person.place_of_birth}`); + if (person.known_for_department != null) log(`Department: ${chalk.magentaBright(person.known_for_department)}`); + + log(`Biography: ${chalk.cyanBright(chalk.bold(person.biography))} \n`); + + if (person.also_known_as) { + log(`Also known as: \n`); + person.also_known_as.forEach(element => { + log(element); + }); + } else { + log(`${chalk.yellow(person.name)} doesn’t have any alternate names`) + } + log(""); + spinner.succeed('Person data loaded'); + } catch (error) { + console.error(error.message); + } + }); + }); + + req.on("error", (e) => { + console.error(`problem with request: ${e.message}`); + }); + + req.end(); +} + +module.exports = { getPersonsByPage, getPopularPersons, getPersonById }; From a233b65405fa7447657e2587590ac003f091a880 Mon Sep 17 00:00:00 2001 From: Brahim Date: Fri, 30 Jul 2021 10:14:26 +0200 Subject: [PATCH 08/36] chalk person --- src/utils/chalks.js | 37 ++++++++++++++++++++++++++++++++++++ src/utils/entities/Person.js | 37 ++++++++++++++++++++++++++++++++++++ src/utils/getMethods.js | 36 +++++++++-------------------------- src/utils/httpConstants.js | 9 +++++++++ 4 files changed, 92 insertions(+), 27 deletions(-) create mode 100644 src/utils/chalks.js create mode 100644 src/utils/entities/Person.js create mode 100644 src/utils/httpConstants.js diff --git a/src/utils/chalks.js b/src/utils/chalks.js new file mode 100644 index 0000000..6e5998d --- /dev/null +++ b/src/utils/chalks.js @@ -0,0 +1,37 @@ +const chalk = require("chalk"); + +const Person = require("./entities/Person.js"); + +const log = console.log; + +/** + * Render People in command line + * @param page : Response object of type person + * @param spinner : a Spinner to render + */ +function chalkPeople(page, spinner) { + try { + setTimeout(() => { + page.results.forEach((person, index, array) => { + const chalkPerson = new Person(person); + chalkPerson.renderPopular(); + + if (index == array.length - 1) { + log(chalk.white("---------------------------------------------")); + log(chalk.white(`Page: ${page.page} of: ${page.total_pages}`)); + log("\n"); + return; + } + + log(chalk.white("----------------------")); + }); + + spinner.succeed("Popular Persons data loaded"); + log("\n"); + }, 1000); + } catch (error) { + spinner.fail(error.message); + } +} + +module.exports = { chalkPeople }; diff --git a/src/utils/entities/Person.js b/src/utils/entities/Person.js new file mode 100644 index 0000000..ff5d711 --- /dev/null +++ b/src/utils/entities/Person.js @@ -0,0 +1,37 @@ +const chalk = require("chalk"); +const log = console.log; + +class Person { + constructor(person) { + this.id = Person.id; + this.name = Person.name; + this.known_for_department = person.known_for_department; + this.known_for = person.known_for; + } + + renderPopular() { + log("\n"); + log("Person: \n"); + log(`ID: ${chalk.white(this.id)}`); + log(`Name: ${chalk.blue.bold(this.name)}`); + + if (this.known_for_department == "Acting") + log(`Department: ${chalk.magenta(this.known_for_department)}`); + + this.known_for.forEach((movie) => { + if (movie.title !== "undefined") { + log("\n"); + log(`\tMovie:`); + log(`\tRelease date: ${chalk.white(movie.release_date)}`); + log(`\tTitle: ${chalk.white(movie.title)}`); + log("\n"); + } else { + log(`\t${chalk.white(this.name)} doesn’t appear in any movie\n:`); + } + }); + + log("\n"); + } +} + +module.exports = Person; diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 09c49ad..f1e0ad1 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -1,19 +1,17 @@ const https = require("https"); const ora = require("ora"); +const httpConstants = require("./httpConstants.js"); +const { chalkPeople } = require("./chalks.js"); + /** - * Persons by Pages + * get People by Pages + * @param page: number of page to render */ function PersonsByPage(page = 1) { const options = { - host: "api.themoviedb.org", - protocol: "https:", + ...httpConstants, path: `/3/person/popular?page=${page}&api_key=${process.env.API_KEY}`, - method: "GET", - headers: { - "Content-Type": "application/json", - Authorization: `Bearer ${process.env.API_KEY}`, - }, }; const spinner = ora("Loading popular people").start(); @@ -21,27 +19,11 @@ function PersonsByPage(page = 1) { const req = https.request(options, (res) => { let body = ""; - res.on("data", (chunk) => { - body += chunk; - }); - - res.on("end", () => { - try { - let json = JSON.parse(body); - setTimeout(() => { - console.log("\n", json); - spinner.succeed("Data fetched successfully"); - }, 2000); - } catch (error) { - spinner.fail(error.message); - } - }); - }); - - req.on("error", (e) => { - spinner.fail(e.message); + res.on("data", (chunk) => (body += chunk)); + res.on("end", () => chalkPeople(JSON.parse(body), spinner)); }); + req.on("error", (e) => spinner.fail(e.message)); req.end(); } diff --git a/src/utils/httpConstants.js b/src/utils/httpConstants.js new file mode 100644 index 0000000..808245b --- /dev/null +++ b/src/utils/httpConstants.js @@ -0,0 +1,9 @@ +module.exports = { + host: "api.themoviedb.org", + protocol: "https:", + method: "GET", + headers: { + "Content-Type": "application/json", + Authorization: `Bearer ${process.env.API_KEY}`, + }, +}; From 4445cfa73f3c24f81ac22dafa47e5ffef7700e94 Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Fri, 30 Jul 2021 10:59:51 +0200 Subject: [PATCH 09/36] adapt: Code adaptadet to new Class Person structure and methods --- package-lock.json | 3 ++ src/moviedb.js | 2 +- src/utils/chalks.js | 16 ++++++++++- src/utils/entities/Person.js | 27 ++++++++++++++++-- src/utils/getMethods.js | 54 +++++++----------------------------- 5 files changed, 54 insertions(+), 48 deletions(-) diff --git a/package-lock.json b/package-lock.json index 27881ad..218d380 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,9 @@ "dotenv": "^8.2.0", "node-notifier": "^8.0.0", "ora": "^5.1.0" + }, + "bin": { + "moviedb": "src/moviedb.js" } }, "node_modules/ansi-regex": { diff --git a/src/moviedb.js b/src/moviedb.js index 9a776a5..ded4cc3 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -22,7 +22,7 @@ program .description("Make a network request to fetch the data of a single person") .option("-i, --id [id]", "The id of the person") .action(function handleAction(option) { - if (option.id) func.getPersonById(option.id); + if (option.id) get.PersonById(option.id); }); program diff --git a/src/utils/chalks.js b/src/utils/chalks.js index 6e5998d..955978c 100644 --- a/src/utils/chalks.js +++ b/src/utils/chalks.js @@ -34,4 +34,18 @@ function chalkPeople(page, spinner) { } } -module.exports = { chalkPeople }; +function chalkPersonId(person, spinner) { + try { + setTimeout(() => { + const chalkPerson = new Person(person); + chalkPerson.renderPersonById(); + + spinner.succeed("Popular Persons data loaded"); + log("\n"); + }, 1000); + } catch (error) { + spinner.fail(error.message); + } +} + +module.exports = { chalkPeople, chalkPersonId }; diff --git a/src/utils/entities/Person.js b/src/utils/entities/Person.js index ff5d711..eca6e06 100644 --- a/src/utils/entities/Person.js +++ b/src/utils/entities/Person.js @@ -3,10 +3,14 @@ const log = console.log; class Person { constructor(person) { - this.id = Person.id; - this.name = Person.name; + this.id = person.id; + this.name = person.name; this.known_for_department = person.known_for_department; this.known_for = person.known_for; + this.birthday = person.birthday; + this.place_of_birth = person.place_of_birth; + this.biography = person.biography; + this.also_known_as = person.also_known_as; } renderPopular() { @@ -32,6 +36,25 @@ class Person { log("\n"); } + + renderPersonById() { + log("____________________________________\nPerson:\n"); + log(`ID: ${this.id} \nName: ${chalk.cyanBright(this.name)} \nBirthday: ${this.birthday} ${chalk.gray("|")} ${this.place_of_birth}`); + if (this.known_for_department != null) log(`Department: ${chalk.magentaBright(this.known_for_department)}`); + + log(`Biography: ${chalk.cyanBright(chalk.bold(this.biography))} \n`); + + if (this.also_known_as) { + log(`Also known as: \n`); + this.also_known_as.forEach(element => { + log(element); + }); + } else { + log(`${chalk.yellow(this.name)} doesn’t have any alternate names`) + } + + log(""); + } } module.exports = Person; diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 0359b7b..6830dca 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -2,7 +2,7 @@ const https = require("https"); const ora = require("ora"); const httpConstants = require("./httpConstants.js"); -const { chalkPeople } = require("./chalks.js"); +const { chalkPeople, chalkPersonId } = require("./chalks.js"); /** * get People by Pages @@ -37,57 +37,23 @@ function getPopularPersons() { /** * Person by ID functions */ -function getPersonById(id) { +function PersonById(id) { const options = { - host: "api.themoviedb.org", - port: 443, - protocol: "https:", + ...httpConstants, path: `/3/person/${id}?&api_key=${process.env.API_KEY}`, - method: "GET", - headers: { - "Content-Type": "application/json", - Authorization: `Bearer ${process.env.API_KEY}`, - }, }; + const spinner = ora("Fetching the person data...\n").start(); + const req = https.request(options, (res) => { - spinner.start('Fetching the person data...\n'); let body = ""; - res.on("data", (chunk) => { - body += chunk; - }); - - res.on("end", () => { - try { - let person = JSON.parse(body); - log("____________________________________\nPerson:\n"); - log(`ID: ${person.id} \nName: ${chalk.cyanBright(person.name)} \nBirthday: ${person.birthday} ${chalk.gray("|")} ${person.place_of_birth}`); - if (person.known_for_department != null) log(`Department: ${chalk.magentaBright(person.known_for_department)}`); - - log(`Biography: ${chalk.cyanBright(chalk.bold(person.biography))} \n`); - - if (person.also_known_as) { - log(`Also known as: \n`); - person.also_known_as.forEach(element => { - log(element); - }); - } else { - log(`${chalk.yellow(person.name)} doesn’t have any alternate names`) - } - log(""); - spinner.succeed('Person data loaded'); - } catch (error) { - console.error(error.message); - } - }); + res.on("data", (chunk) => {body += chunk;}); + res.on("end", () => chalkPersonId(JSON.parse(body), spinner)); }); - req.on("error", (e) => { - console.error(`problem with request: ${e.message}`); - }); - - req.end(); + req.on("error", (e) => spinner.fail(e.message)); + req.end(); } -module.exports = { getPersonsByPage, PersonsByPage}; +module.exports = { PersonById, PersonsByPage}; From 96b3505102e423da001344b191037c408a85de65 Mon Sep 17 00:00:00 2001 From: Brahim Date: Fri, 30 Jul 2021 11:30:40 +0200 Subject: [PATCH 10/36] Fix: requiredOption get-person command --- src/moviedb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/moviedb.js b/src/moviedb.js index ded4cc3..fc8da23 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -20,7 +20,7 @@ program program .command("get-person") .description("Make a network request to fetch the data of a single person") - .option("-i, --id [id]", "The id of the person") + .requiredOption("-i, --id [id]", "The id of the person") .action(function handleAction(option) { if (option.id) get.PersonById(option.id); }); @@ -41,4 +41,4 @@ program // error on unknown commands -program.parse(process.argv); \ No newline at end of file +program.parse(process.argv); From ec585ad26fce39ec56075fbaee42f27b4b708582 Mon Sep 17 00:00:00 2001 From: Brahim Date: Fri, 30 Jul 2021 11:55:16 +0200 Subject: [PATCH 11/36] Feat: chalk popular people --- src/moviedb.js | 2 +- src/utils/chalks.js | 6 ++--- src/utils/entities/Person.js | 52 +++++++++++++++++++++--------------- src/utils/getMethods.js | 15 ++++------- 4 files changed, 40 insertions(+), 35 deletions(-) diff --git a/src/moviedb.js b/src/moviedb.js index fc8da23..c521848 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -20,7 +20,7 @@ program program .command("get-person") .description("Make a network request to fetch the data of a single person") - .requiredOption("-i, --id [id]", "The id of the person") + .requiredOption("-i, --id ", "The id of the person") .action(function handleAction(option) { if (option.id) get.PersonById(option.id); }); diff --git a/src/utils/chalks.js b/src/utils/chalks.js index 955978c..42e106f 100644 --- a/src/utils/chalks.js +++ b/src/utils/chalks.js @@ -17,13 +17,13 @@ function chalkPeople(page, spinner) { chalkPerson.renderPopular(); if (index == array.length - 1) { - log(chalk.white("---------------------------------------------")); + log(chalk.white("________________________________________________")); log(chalk.white(`Page: ${page.page} of: ${page.total_pages}`)); log("\n"); return; } - log(chalk.white("----------------------")); + log(chalk.white("_________________________")); }); spinner.succeed("Popular Persons data loaded"); @@ -40,7 +40,7 @@ function chalkPersonId(person, spinner) { const chalkPerson = new Person(person); chalkPerson.renderPersonById(); - spinner.succeed("Popular Persons data loaded"); + spinner.succeed("Person data loaded"); log("\n"); }, 1000); } catch (error) { diff --git a/src/utils/entities/Person.js b/src/utils/entities/Person.js index eca6e06..b554fe6 100644 --- a/src/utils/entities/Person.js +++ b/src/utils/entities/Person.js @@ -19,41 +19,51 @@ class Person { log(`ID: ${chalk.white(this.id)}`); log(`Name: ${chalk.blue.bold(this.name)}`); + // If department is Acting if (this.known_for_department == "Acting") log(`Department: ${chalk.magenta(this.known_for_department)}`); + // if no titles + const titles = this.known_for.filter((movie) => movie.title); + if (!titles.length) { + log(chalk.bgYellow.red(`\n\t${this.name} doesn’t appear in any movie\n`)); + return; + } + this.known_for.forEach((movie) => { - if (movie.title !== "undefined") { + if (movie.title) { log("\n"); log(`\tMovie:`); log(`\tRelease date: ${chalk.white(movie.release_date)}`); log(`\tTitle: ${chalk.white(movie.title)}`); - log("\n"); - } else { - log(`\t${chalk.white(this.name)} doesn’t appear in any movie\n:`); } }); log("\n"); } - + renderPersonById() { - log("____________________________________\nPerson:\n"); - log(`ID: ${this.id} \nName: ${chalk.cyanBright(this.name)} \nBirthday: ${this.birthday} ${chalk.gray("|")} ${this.place_of_birth}`); - if (this.known_for_department != null) log(`Department: ${chalk.magentaBright(this.known_for_department)}`); - - log(`Biography: ${chalk.cyanBright(chalk.bold(this.biography))} \n`); - - if (this.also_known_as) { - log(`Also known as: \n`); - this.also_known_as.forEach(element => { - log(element); - }); - } else { - log(`${chalk.yellow(this.name)} doesn’t have any alternate names`) - } - - log(""); + log("____________________________________\nPerson:\n"); + log( + `ID: ${this.id} \nName: ${chalk.cyanBright(this.name)} \nBirthday: ${ + this.birthday + } ${chalk.gray("|")} ${this.place_of_birth}` + ); + if (this.known_for_department != null) + log(`Department: ${chalk.magentaBright(this.known_for_department)}`); + + log(`Biography: ${chalk.cyanBright(chalk.bold(this.biography))} \n`); + + if (this.also_known_as) { + log(`Also known as: \n`); + this.also_known_as.forEach((element) => { + log(element); + }); + } else { + log(`${chalk.yellow(this.name)} doesn’t have any alternate names`); + } + + log("\n"); } } diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 6830dca..5598396 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -27,13 +27,6 @@ function PersonsByPage(page = 1) { req.end(); } -/** - * Popular functions - */ -function getPopularPersons() { - console.log("personas populares como Einar "); -} - /** * Person by ID functions */ @@ -48,12 +41,14 @@ function PersonById(id) { const req = https.request(options, (res) => { let body = ""; - res.on("data", (chunk) => {body += chunk;}); + res.on("data", (chunk) => { + body += chunk; + }); res.on("end", () => chalkPersonId(JSON.parse(body), spinner)); }); req.on("error", (e) => spinner.fail(e.message)); - req.end(); + req.end(); } -module.exports = { PersonById, PersonsByPage}; +module.exports = { PersonById, PersonsByPage }; From 4110c3fd93392f7f6a4d244c4ddf6c4abd9b5d11 Mon Sep 17 00:00:00 2001 From: imalovelyghost Date: Fri, 30 Jul 2021 12:08:56 +0200 Subject: [PATCH 12/36] feat program get-movies done --- package.json | 2 +- src/moviedb.js | 8 ++++- src/utils/entities/Movie.js | 62 +++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 src/utils/entities/Movie.js diff --git a/package.json b/package.json index ce0f8b2..2b7c9d0 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "scripts": {}, "bin": { - "moviedb": "./src/moviedb.js" + "./moviedb.js": "./src/moviedb.js" }, "dependencies": { "chalk": "^4.1.0", diff --git a/src/moviedb.js b/src/moviedb.js index ded4cc3..505d325 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -1,4 +1,5 @@ #!/usr/bin/env node +/** @format */ const { Command } = require("commander"); @@ -25,9 +26,14 @@ program if (option.id) get.PersonById(option.id); }); +//./moviedb.js get-movies --popular --page 2 +//./moviedb.js get-movies --now-playing --page 2 program .command("get-movies") .description("Make a network request to fetch movies") + .option("-p, --popular", "Fetch the popular movies") + .requiredOption("--page ", "The page of movies data results to fetch") + .option("-n, --now-playing", "Fetch the movies that are playing now") .action(function handleAction() { console.log("hello-world"); }); @@ -41,4 +47,4 @@ program // error on unknown commands -program.parse(process.argv); \ No newline at end of file +program.parse(process.argv); diff --git a/src/utils/entities/Movie.js b/src/utils/entities/Movie.js new file mode 100644 index 0000000..c096700 --- /dev/null +++ b/src/utils/entities/Movie.js @@ -0,0 +1,62 @@ +/** @format */ + +const chalk = require("chalk"); +const log = console.log; + +class Movie { + constructor(movie) { + this.id = movie.id; + this.name = movie.name; + this.known_for_department = movie.known_for_department; + this.known_for = movie.known_for; + this.birthday = movie.birthday; + this.place_of_birth = movie.place_of_birth; + this.biography = movie.biography; + this.also_known_as = movie.also_known_as; + } + + // renderPopular() { + // log("\n"); + // log("Person: \n"); + // log(`ID: ${chalk.white(this.id)}`); + // log(`Name: ${chalk.blue.bold(this.name)}`); + + // if (this.known_for_department == "Acting") + // log(`Department: ${chalk.magenta(this.known_for_department)}`); + + // this.known_for.forEach((movie) => { + // if (movie.title !== "undefined") { + // log("\n"); + // log(`\tMovie:`); + // log(`\tRelease date: ${chalk.white(movie.release_date)}`); + // log(`\tTitle: ${chalk.white(movie.title)}`); + // log("\n"); + // } else { + // log(`\t${chalk.white(this.name)} doesn’t appear in any movie\n:`); + // } + // }); + + // log("\n"); + // } + + // renderPersonById() { + // log("____________________________________\nPerson:\n"); + // log(`ID: ${this.id} \nName: ${chalk.cyanBright(this.name)} \nBirthday: ${this.birthday} ${chalk.gray("|")} ${this.place_of_birth}`); + // if (this.known_for_department != null) log(`Department: ${chalk.magentaBright(this.known_for_department)}`); + + // log(`Biography: ${chalk.cyanBright(chalk.bold(this.biography))} \n`); + + // if (this.also_known_as) { + // log(`Also known as: \n`); + // this.also_known_as.forEach(element => { + // log(element); + // }); + // } else { + // log(`${chalk.yellow(this.name)} doesn’t have any alternate names`) + // } + + // log(""); + // } +} + +module.exports = Movie; From 1ace2bf1b848081a911d623ec24ccba6b1b5a40b Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Fri, 30 Jul 2021 15:17:13 +0200 Subject: [PATCH 13/36] feat: added --local and --save flag functionality --- src/moviedb.js | 7 ++++-- src/utils/fileReader.js | 14 ++++++++++++ src/utils/getMethods.js | 44 +++++++++++++++++++++++++++++++++---- src/utils/json/movies.json | 1 + src/utils/json/persons.json | 1 + 5 files changed, 61 insertions(+), 6 deletions(-) create mode 100644 src/utils/fileReader.js create mode 100644 src/utils/json/movies.json create mode 100644 src/utils/json/persons.json diff --git a/src/moviedb.js b/src/moviedb.js index c521848..ea53f28 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -1,5 +1,4 @@ #!/usr/bin/env node - const { Command } = require("commander"); const get = require("./utils/getMethods.js"); @@ -11,10 +10,14 @@ program.version("0.0.1"); program .command("get-persons") .description("Make a network request to fetch most popular persons") - .requiredOption("-p, --popular", "Fetch the popular persons") + .option("-p, --popular", "Fetch the popular persons") .requiredOption("--page ", "The page of data results to fetch") + .option("-s, --save", "The page of data to JSON file") + .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { if (opt.page && opt.popular) get.PersonsByPage(opt.page); + if (opt.save) get.PersonsByPage(opt.page, opt.save); + if (opt.local) get.JsonPersonByPage(opt.page); }); program diff --git a/src/utils/fileReader.js b/src/utils/fileReader.js new file mode 100644 index 0000000..3f158c6 --- /dev/null +++ b/src/utils/fileReader.js @@ -0,0 +1,14 @@ +const fs = require('fs'); + +function savePeople(page) { + /*fs.writeFile('./src/utils/json/persons.json', page, (err) => { + // throws an error, you could also catch it here + if (err) throw err; + + // success case, the file was saved + console.log('Lyric saved!'); + });*/ + fs.writeFileSync('./src/utils/json/persons.json', JSON.stringify(page) , 'utf-8'); +} + +module.exports = { savePeople }; \ No newline at end of file diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 5598396..914738c 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -1,14 +1,15 @@ const https = require("https"); const ora = require("ora"); - +const fs = require('fs'); const httpConstants = require("./httpConstants.js"); +const file = require("./fileReader.js"); const { chalkPeople, chalkPersonId } = require("./chalks.js"); /** * get People by Pages * @param page: number of page to render */ -function PersonsByPage(page = 1) { +function PersonsByPage(page = 1, option) { const options = { ...httpConstants, path: `/3/person/popular?page=${page}&api_key=${process.env.API_KEY}`, @@ -20,13 +21,47 @@ function PersonsByPage(page = 1) { let body = ""; res.on("data", (chunk) => (body += chunk)); - res.on("end", () => chalkPeople(JSON.parse(body), spinner)); + res.on("end", () => { + if(option) { + console.log("JSON"); + file.savePeople(JSON.parse(body)); + spinner.succeed("Popular Persons data loaded"); + } + else { + console.log("REQUEST"); + chalkPeople(JSON.parse(body), spinner); + } + }); }); req.on("error", (e) => spinner.fail(e.message)); req.end(); } +/** + * get People by Pages from JSON + * @param page: number of page to render + */ +function JsonPersonByPage(page = 1) { + const spinner = ora("Loading popular people").start(); + + fs.readFile('./src/utils/json/persons.json', 'utf-8', (err, data) => { + if (err) { + spinner.fail(e.message); + throw err; + } + + // parse JSON object + const user = JSON.parse(data.toString()); + + // print JSON object + console.log("LOADED FROM JSON") + chalkPeople(user, spinner); + + }); + +} + /** * Person by ID functions */ @@ -45,10 +80,11 @@ function PersonById(id) { body += chunk; }); res.on("end", () => chalkPersonId(JSON.parse(body), spinner)); + }); req.on("error", (e) => spinner.fail(e.message)); req.end(); } -module.exports = { PersonById, PersonsByPage }; +module.exports = { PersonById, PersonsByPage, JsonPersonByPage }; diff --git a/src/utils/json/movies.json b/src/utils/json/movies.json new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/utils/json/movies.json @@ -0,0 +1 @@ + diff --git a/src/utils/json/persons.json b/src/utils/json/persons.json new file mode 100644 index 0000000..a4b5678 --- /dev/null +++ b/src/utils/json/persons.json @@ -0,0 +1 @@ +{"page":1,"results":[{"adult":false,"gender":1,"id":1245,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25069},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22297},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18682}],"known_for_department":"Acting","name":"Scarlett Johansson","popularity":58.249,"profile_path":"/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg"},{"adult":false,"gender":1,"id":109513,"known_for":[{"adult":false,"backdrop_path":"/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg","genre_ids":[28,18,53],"id":254128,"media_type":"movie","original_language":"en","original_title":"San Andreas","overview":"In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.","poster_path":"/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg","release_date":"2015-05-27","title":"San Andreas","video":false,"vote_average":6.2,"vote_count":6690},{"adult":false,"backdrop_path":"/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg","genre_ids":[35,28,80],"id":339846,"media_type":"movie","original_language":"en","original_title":"Baywatch","overview":"Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.","poster_path":"/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg","release_date":"2017-05-12","title":"Baywatch","video":false,"vote_average":6.1,"vote_count":6486},{"adult":false,"backdrop_path":"/sEyNWq9985lyUrwayWnvicT4FHA.jpg","genre_ids":[12,14,10751],"id":32657,"media_type":"movie","original_language":"en","original_title":"Percy Jackson & the Olympians: The Lightning Thief","overview":"Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.","poster_path":"/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg","release_date":"2010-02-01","title":"Percy Jackson & the Olympians: The Lightning Thief","video":false,"vote_average":6.2,"vote_count":5845}],"known_for_department":"Acting","name":"Alexandra Daddario","popularity":53.167,"profile_path":"/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg"},{"adult":false,"gender":2,"id":12835,"known_for":[{"adult":false,"backdrop_path":"/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg","genre_ids":[28,878,12],"id":118340,"media_type":"movie","original_language":"en","original_title":"Guardians of the Galaxy","overview":"Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.","poster_path":"/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg","release_date":"2014-07-30","title":"Guardians of the Galaxy","video":false,"vote_average":7.9,"vote_count":22817},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22278},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18655}],"known_for_department":"Acting","name":"Vin Diesel","popularity":46.129,"profile_path":"/7rwSXluNWZAluYMOEWBxkPmckES.jpg"},{"adult":false,"gender":1,"id":3967,"known_for":[{"adult":false,"backdrop_path":"/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg","genre_ids":[35,18,14],"id":9339,"media_type":"movie","original_language":"en","original_title":"Click","overview":"A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.","poster_path":"/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg","release_date":"2006-06-23","title":"Click","video":false,"vote_average":6.2,"vote_count":5430},{"adult":false,"backdrop_path":"/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg","genre_ids":[14,28,53],"id":277,"media_type":"movie","original_language":"en","original_title":"Underworld","overview":"Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.","poster_path":"/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg","release_date":"2003-09-19","title":"Underworld","video":false,"vote_average":6.8,"vote_count":4910},{"adult":false,"backdrop_path":"/zv1xOEQzebKyku349qDZ085FZlO.jpg","genre_ids":[10752,36,10749,18],"id":676,"media_type":"movie","original_language":"en","original_title":"Pearl Harbor","overview":"The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.","poster_path":"/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg","release_date":"2001-05-21","title":"Pearl Harbor","video":false,"vote_average":6.9,"vote_count":4849}],"known_for_department":"Acting","name":"Kate Beckinsale","popularity":44.642,"profile_path":"/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg"},{"adult":false,"gender":2,"id":91606,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25069},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22297},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18682}],"known_for_department":"Acting","name":"Tom Hiddleston","popularity":42.089,"profile_path":"/mclHxMm8aPlCPKptP67257F5GPo.jpg"},{"adult":false,"gender":1,"id":1734,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8906},{"backdrop_path":"/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg","first_air_date":"2001-10-16","genre_ids":[10765,10759,18],"id":4604,"media_type":"tv","name":"Smallville","origin_country":["US"],"original_language":"en","original_name":"Smallville","overview":"The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.","poster_path":"/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg","vote_average":8.2,"vote_count":2591},{"backdrop_path":"/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg","first_air_date":"1990-11-18","genre_ids":[18,9648,10765],"id":19614,"media_type":"tv","name":"It","origin_country":["US"],"original_language":"en","original_name":"It","overview":"In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.","poster_path":"/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg","vote_average":6.9,"vote_count":2273}],"known_for_department":"Acting","name":"Annette O'Toole","popularity":41.629,"profile_path":"/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg"},{"adult":false,"gender":2,"id":1991255,"known_for":[{"backdrop_path":"/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg","first_air_date":"2017-03-25","genre_ids":[18],"id":76560,"media_type":"tv","name":"Mrs. Fazilet and Her Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Fazilet Hanım ve Kızları","overview":"The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.","poster_path":"/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg","vote_average":9.4,"vote_count":5},{"backdrop_path":"/lDbRMHVAGdkySaabD7KyyEbouoG.jpg","first_air_date":"2018-07-22","genre_ids":[18],"id":80229,"media_type":"tv","name":"Never Let My Hand Go","origin_country":["TR"],"original_language":"tr","original_name":"Elimi Bırakma","overview":"The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.","poster_path":"/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg","vote_average":10,"vote_count":4},{"backdrop_path":"/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg","first_air_date":"2021-06-15","genre_ids":[10766,18,35],"id":126255,"media_type":"tv","name":"Ada Masalı","origin_country":["TR"],"original_language":"tr","original_name":"Ada Masalı","overview":"","poster_path":"/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg","vote_average":10,"vote_count":1}],"known_for_department":"Acting","name":"Alp Navruz","popularity":41.008,"profile_path":"/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg"},{"adult":false,"gender":1,"id":5081,"known_for":[{"adult":false,"backdrop_path":"/auZIuHEUec5tBTns3tCRXfayxZq.jpg","genre_ids":[28,878],"id":137113,"media_type":"movie","original_language":"en","original_title":"Edge of Tomorrow","overview":"Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.","poster_path":"/uUHvlkLavotfGsNtosDy8ShsIYF.jpg","release_date":"2014-05-27","title":"Edge of Tomorrow","video":false,"vote_average":7.6,"vote_count":10803},{"adult":false,"backdrop_path":"/roYyPiQDQKmIKUEhO912693tSja.jpg","genre_ids":[27,18,878],"id":447332,"media_type":"movie","original_language":"en","original_title":"A Quiet Place","overview":"A family is forced to live in silence while hiding from creatures that hunt by sound.","poster_path":"/nAU74GmpUk7t5iklEp3bufwDq4n.jpg","release_date":"2018-04-03","title":"A Quiet Place","video":false,"vote_average":7.4,"vote_count":10417},{"adult":false,"backdrop_path":"/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg","genre_ids":[35,18,10749],"id":350,"media_type":"movie","original_language":"en","original_title":"The Devil Wears Prada","overview":"Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.","poster_path":"/8912AsVuS7Sj915apArUFbv6F9L.jpg","release_date":"2006-06-30","title":"The Devil Wears Prada","video":false,"vote_average":7.4,"vote_count":9379}],"known_for_department":"Acting","name":"Emily Blunt","popularity":37.177,"profile_path":"/nPJXaRMvu1vh3COG16GzmdsBySQ.jpg"},{"adult":false,"gender":2,"id":976,"known_for":[{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8777},{"adult":false,"backdrop_path":"/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg","genre_ids":[28,53,80,18],"id":168259,"media_type":"movie","original_language":"en","original_title":"Furious 7","overview":"Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.","poster_path":"/wurKlC3VKUgcfsn0K51MJYEleS2.jpg","release_date":"2015-04-01","title":"Furious 7","video":false,"vote_average":7.3,"vote_count":8534},{"adult":false,"backdrop_path":"/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg","genre_ids":[28,80,53],"id":337339,"media_type":"movie","original_language":"en","original_title":"The Fate of the Furious","overview":"When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.","poster_path":"/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg","release_date":"2017-04-12","title":"The Fate of the Furious","video":false,"vote_average":6.9,"vote_count":8382}],"known_for_department":"Acting","name":"Jason Statham","popularity":34.531,"profile_path":"/lldeQ91GwIVff43JBrpdbAAeYWj.jpg"},{"adult":false,"gender":1,"id":1373737,"known_for":[{"adult":false,"backdrop_path":"/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg","genre_ids":[18,10749],"id":331482,"media_type":"movie","original_language":"en","original_title":"Little Women","overview":"Four sisters come of age in America in the aftermath of the Civil War.","poster_path":"/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg","release_date":"2019-12-25","title":"Little Women","video":false,"vote_average":7.9,"vote_count":3929},{"adult":false,"backdrop_path":"/g6GtOfXtzDpY73ef7wludoorTti.jpg","genre_ids":[27,18,9648],"id":530385,"media_type":"movie","original_language":"en","original_title":"Midsommar","overview":"Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.","poster_path":"/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg","release_date":"2019-07-03","title":"Midsommar","video":false,"vote_average":7.1,"vote_count":3899},{"adult":false,"backdrop_path":"/clmYuR1t4TtKcakIOvYIPrjyxDc.jpg","genre_ids":[28,53],"id":399035,"media_type":"movie","original_language":"en","original_title":"The Commuter","overview":"A businessman, on his daily commute home, gets unwittingly caught up in a criminal conspiracy that threatens not only his life but the lives of those around him.","poster_path":"/rDeGK6FIUfVcXmuBdEORPAGPMNg.jpg","release_date":"2018-01-11","title":"The Commuter","video":false,"vote_average":6.3,"vote_count":3446}],"known_for_department":"Acting","name":"Florence Pugh","popularity":34.37,"profile_path":"/75PvULemW8BvheSKtPMoBBsvPLh.jpg"},{"adult":false,"gender":2,"id":13240,"known_for":[{"adult":false,"backdrop_path":"/9RuC3UD6mNZ0p1J6RbfJDUkQ03i.jpg","genre_ids":[18,53,80],"id":1422,"media_type":"movie","original_language":"en","original_title":"The Departed","overview":"To take down South Boston's Irish Mafia, the police send in one of their own to infiltrate the underworld, not realizing the syndicate has done likewise. While an undercover cop curries favor with the mob kingpin, a career criminal rises through the police ranks. But both sides soon discover there's a mole among them.","poster_path":"/kWWAt2FMRbqLFFy8o5R4Zr8cMAb.jpg","release_date":"2006-10-05","title":"The Departed","video":false,"vote_average":8.2,"vote_count":11370},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9905},{"adult":false,"backdrop_path":"/alItugxBbjNC10ezLSisplhSKJ.jpg","genre_ids":[878,28,12],"id":91314,"media_type":"movie","original_language":"en","original_title":"Transformers: Age of Extinction","overview":"As humanity picks up the pieces, following the conclusion of \"Transformers: Dark of the Moon,\" Autobots and Decepticons have all but vanished from the face of the planet. However, a group of powerful, ingenious businessman and scientists attempt to learn from past Transformer incursions and push the boundaries of technology beyond what they can control - all while an ancient, powerful Transformer menace sets Earth in his cross-hairs.","poster_path":"/jyzrfx2WaeY60kYZpPYepSjGz4S.jpg","release_date":"2014-06-25","title":"Transformers: Age of Extinction","video":false,"vote_average":5.9,"vote_count":6226}],"known_for_department":"Acting","name":"Mark Wahlberg","popularity":33.914,"profile_path":"/bTEFpaWd7A6AZVWOqKKBWzKEUe8.jpg"},{"adult":false,"gender":2,"id":18918,"known_for":[{"adult":false,"backdrop_path":"/zJDMuXQDraHjtF53wikmyBQIcYe.jpg","genre_ids":[28,12,35,14],"id":353486,"media_type":"movie","original_language":"en","original_title":"Jumanji: Welcome to the Jungle","overview":"The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.","poster_path":"/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg","release_date":"2017-12-09","title":"Jumanji: Welcome to the Jungle","video":false,"vote_average":6.8,"vote_count":10854},{"adult":false,"backdrop_path":"/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg","genre_ids":[12,35,10751,16],"id":277834,"media_type":"movie","original_language":"en","original_title":"Moana","overview":"In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.","poster_path":"/4JeejGugONWpJkbnvL12hVoYEDa.jpg","release_date":"2016-11-23","title":"Moana","video":false,"vote_average":7.6,"vote_count":9662},{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8786}],"known_for_department":"Acting","name":"Dwayne Johnson","popularity":33.881,"profile_path":"/cgoy7t5Ve075naBPcewZrc08qGw.jpg"},{"adult":false,"gender":1,"id":2472427,"known_for":[{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[53],"id":673407,"media_type":"movie","original_language":"ko","original_title":"불량탐정: 먹이사슬","overview":"Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.","poster_path":"/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg","release_date":"2020-01-22","title":"Bad Detective: Food Chain","video":false,"vote_average":6,"vote_count":1},{"adult":false,"backdrop_path":"/4mFrNiawrfHz2W9yryFcsrahYxA.jpg","genre_ids":[10749],"id":658228,"media_type":"movie","original_language":"ko","original_title":"딸의 애인 3","overview":"Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.","poster_path":"/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg","release_date":"2019-12-05","title":"My Daughter's Lover 3","video":false,"vote_average":0,"vote_count":0}],"known_for_department":"Acting","name":"Tae Joo","popularity":33.302,"profile_path":"/nGpa3za6yxSciko2J8tY8gbsgyT.jpg"},{"adult":false,"gender":2,"id":5009,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8906},{"backdrop_path":"/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg","first_air_date":"2005-09-13","genre_ids":[18,9648,10765],"id":1622,"media_type":"tv","name":"Supernatural","origin_country":["US"],"original_language":"en","original_name":"Supernatural","overview":"When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ","poster_path":"/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg","vote_average":8.2,"vote_count":5269},{"backdrop_path":"/4o0keepwKfyYoziJOmRZS24Omqa.jpg","first_air_date":"2012-10-10","genre_ids":[80,18,9648,10759],"id":1412,"media_type":"tv","name":"Arrow","origin_country":["US"],"original_language":"en","original_name":"Arrow","overview":"Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.","poster_path":"/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg","vote_average":6.7,"vote_count":4642}],"known_for_department":"Acting","name":"Peter Benson","popularity":33.004,"profile_path":"/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg"},{"adult":false,"gender":1,"id":2374721,"known_for":[{"adult":false,"backdrop_path":"/h1BoDAepuEmEMC2qhjBONAYhre7.jpg","genre_ids":[10749],"id":698009,"media_type":"movie","original_language":"en","original_title":"어린 처제 3","overview":"Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...","poster_path":"/swEYylf53k2aGZHjv9PuIxalWQE.jpg","release_date":"2019-05-24","title":"Young Sister-in-law 3 - 2019","video":false,"vote_average":5,"vote_count":2},{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[10749],"id":699173,"media_type":"movie","original_language":"ko","original_title":"유부녀들: 남편 바꾸기","overview":"After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...","poster_path":"/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg","release_date":"2020-01-23","title":"Married Women: Husband Change","video":false,"vote_average":5,"vote_count":1}],"known_for_department":"Acting","name":"Han Seo-ah","popularity":33.002,"profile_path":"/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg"},{"adult":false,"gender":1,"id":1439922,"known_for":[{"backdrop_path":"/n5h1JNlTm3AdWoKZnGcZMgemt8S.jpg","first_air_date":"2018-12-14","genre_ids":[10759],"id":79026,"media_type":"tv","name":"The Protector","origin_country":["TR"],"original_language":"tr","original_name":"Hakan: Muhafız","overview":"The epic adventure of Hakan, a young shopkeeper whose modern world gets turned upside down when he learns he’s connected to a secret, ancient order, tasked with protecting Istanbul.","poster_path":"/xoN4wJRzeaWBfuQDYPngJgN6y9t.jpg","vote_average":7.5,"vote_count":276},{"adult":false,"genre_ids":[10749,35],"id":325134,"media_type":"movie","original_language":"tr","original_title":"Sevimli Tehlikeli","overview":"Directed by Özcan Deniz.","poster_path":"/u1Xg9OyQQqw8SOld06FSSXr2OFF.jpg","release_date":"2015-02-06","title":"Cute and Dangerous","video":false,"vote_average":6.6,"vote_count":22},{"backdrop_path":"/jtM45bTIareE0qNraP5tN13qAZb.jpg","first_air_date":"2013-03-29","genre_ids":[18],"id":50236,"media_type":"tv","name":"Black Rose","origin_country":["TR"],"original_language":"tr","original_name":"Karagül","overview":"A married women has to fight for the things she lost because of the revealed secrets of her husband.","poster_path":"/3MGWHmUR0ezgQS5FQbjydG2nfLC.jpg","vote_average":8.8,"vote_count":5}],"known_for_department":"Acting","name":"Ayça Ayşin Turan","popularity":32.897,"profile_path":"/nahCmyU5UzreRM5aWzSaC92sGHh.jpg"},{"adult":false,"gender":2,"id":10859,"known_for":[{"adult":false,"backdrop_path":"/en971MEXui9diirXlogOrPKmsEn.jpg","genre_ids":[28,12,35],"id":293660,"media_type":"movie","original_language":"en","original_title":"Deadpool","overview":"Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.","poster_path":"/3E53WEZJqP6aM84D8CckXx4pIHw.jpg","release_date":"2016-02-09","title":"Deadpool","video":false,"vote_average":7.6,"vote_count":25222},{"adult":false,"backdrop_path":"/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg","genre_ids":[28,35,12],"id":383498,"media_type":"movie","original_language":"en","original_title":"Deadpool 2","overview":"Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.","poster_path":"/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg","release_date":"2018-05-10","title":"Deadpool 2","video":false,"vote_average":7.5,"vote_count":13488},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9905}],"known_for_department":"Acting","name":"Ryan Reynolds","popularity":32.897,"profile_path":"/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg"},{"adult":false,"gender":1,"id":6161,"known_for":[{"adult":false,"backdrop_path":"/tTlAA0REGPXSZPBfWyTW9ipIv1I.jpg","genre_ids":[28,12,878,18],"id":315635,"media_type":"movie","original_language":"en","original_title":"Spider-Man: Homecoming","overview":"Following the events of Captain America: Civil War, Peter Parker, with the help of his mentor Tony Stark, tries to balance his life as an ordinary high school student in Queens, New York City, with fighting crime as his superhero alter ego Spider-Man as a new threat, the Vulture, emerges.","poster_path":"/c24sv2weTHPsmDa7jEMN0m2P3RT.jpg","release_date":"2017-07-05","title":"Spider-Man: Homecoming","video":false,"vote_average":7.4,"vote_count":16504},{"adult":false,"backdrop_path":"/vVBcIN68kFq681b4lObiNJhEVro.jpg","genre_ids":[18,10749],"id":453,"media_type":"movie","original_language":"en","original_title":"A Beautiful Mind","overview":"John Nash is a brilliant but asocial mathematician fighting schizophrenia. After he accepts secret work in cryptography, his life takes a turn for the nightmarish.","poster_path":"/zwzWCmH72OSC9NA0ipoqw5Zjya8.jpg","release_date":"2001-12-11","title":"A Beautiful Mind","video":false,"vote_average":7.8,"vote_count":7795},{"adult":false,"backdrop_path":"/c5g1Dn1tF22CS2oOvHDNKr1Ve2U.jpg","genre_ids":[80,18,53],"id":641,"media_type":"movie","original_language":"en","original_title":"Requiem for a Dream","overview":"The hopes and dreams of four ambitious people are shattered when their drug addictions begin spiraling out of control. A look into addiction and how it overcomes the mind and body.","poster_path":"/nOd6vjEmzCT0k4VYqsA2hwyi87C.jpg","release_date":"2000-10-06","title":"Requiem for a Dream","video":false,"vote_average":8,"vote_count":7370}],"known_for_department":"Acting","name":"Jennifer Connelly","popularity":31.787,"profile_path":"/p17ymzw1sb9eo2SOp88jnwyryan.jpg"},{"adult":false,"gender":1,"id":10431,"known_for":[{"adult":false,"backdrop_path":"/7gfDVfaw0VaIkUGiEH13o3TIC7A.jpg","genre_ids":[80,18,9648,37],"id":273248,"media_type":"movie","original_language":"en","original_title":"The Hateful Eight","overview":"Bounty hunters seek shelter from a raging blizzard and get caught up in a plot of betrayal and deception.","poster_path":"/k61oZC6IPUhgACGFwxNqdkbrf2M.jpg","release_date":"2015-12-25","title":"The Hateful Eight","video":false,"vote_average":7.7,"vote_count":11232},{"adult":false,"backdrop_path":"/gDbNf0JpmG46fFTHJIPdFga9RRg.jpg","genre_ids":[878,27],"id":300668,"media_type":"movie","original_language":"en","original_title":"Annihilation","overview":"A biologist signs up for a dangerous, secret expedition into a mysterious zone where the laws of nature don't apply.","poster_path":"/4YRplSk6BhH6PRuE9gfyw9byUJ6.jpg","release_date":"2018-02-22","title":"Annihilation","video":false,"vote_average":6.3,"vote_count":6602},{"adult":false,"backdrop_path":"/hi3lxLd93iKwCmVAfhMV9m1k2jr.jpg","genre_ids":[53,18],"id":4553,"media_type":"movie","original_language":"en","original_title":"The Machinist","overview":"The Machinist is the story of Trevor Reznik, a lathe-operator who is suffering from insomnia. In a machine shop, occupational hazards are bad enough under normal circumstances; yet for Trevor the risks are compounded by fatigue. Trevor has lost the ability to sleep. This is no ordinary insomnia...","poster_path":"/diAYqR4xdF9Hnj7qun6DEQhRrT2.jpg","release_date":"2004-02-09","title":"The Machinist","video":false,"vote_average":7.5,"vote_count":3863}],"known_for_department":"Acting","name":"Jennifer Jason Leigh","popularity":31.464,"profile_path":"/esyL4vTOy7nd4S2tCPcnkL8rmxP.jpg"},{"adult":false,"gender":1,"id":58369,"known_for":[{"backdrop_path":"/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg","first_air_date":"2010-10-31","genre_ids":[10759,18,10765],"id":1402,"media_type":"tv","name":"The Walking Dead","origin_country":["US"],"original_language":"en","original_name":"The Walking Dead","overview":"Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.","poster_path":"/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg","vote_average":8.1,"vote_count":11209},{"backdrop_path":"/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg","first_air_date":"2011-10-05","genre_ids":[18,9648,10765],"id":1413,"media_type":"tv","name":"American Horror Story","origin_country":["US"],"original_language":"en","original_name":"American Horror Story","overview":"An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.","poster_path":"/8NMACR0OE5bwC27rE15f8ManNBO.jpg","vote_average":8.1,"vote_count":3770},{"backdrop_path":"/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg","first_air_date":"1999-01-31","genre_ids":[16,35],"id":1434,"media_type":"tv","name":"Family Guy","origin_country":["US"],"original_language":"en","original_name":"Family Guy","overview":"Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.","poster_path":"/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg","vote_average":7,"vote_count":2865}],"known_for_department":"Acting","name":"Alexandra Breckenridge","popularity":30.033,"profile_path":"/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg"}],"total_pages":500,"total_results":10000} \ No newline at end of file From 77424d1e251bb2e20b7bee05463bb1b71d66cdf7 Mon Sep 17 00:00:00 2001 From: imalovelyghost Date: Fri, 30 Jul 2021 16:18:04 +0200 Subject: [PATCH 14/36] feat now playing to be done & get movie by id --- package.json | 2 +- src/moviedb.js | 9 +++-- src/utils/chalks.js | 30 +++++++++++++++- src/utils/entities/Movie.js | 72 ++++++++++++------------------------- src/utils/getMethods.js | 53 +++++++++++++++++++++++---- 5 files changed, 105 insertions(+), 61 deletions(-) diff --git a/package.json b/package.json index 2b7c9d0..64c9103 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "scripts": {}, "bin": { - "./moviedb.js": "./src/moviedb.js" + "moviedb.js": "./src/moviedb.js" }, "dependencies": { "chalk": "^4.1.0", diff --git a/src/moviedb.js b/src/moviedb.js index 505d325..ccaad2f 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -31,11 +31,14 @@ program program .command("get-movies") .description("Make a network request to fetch movies") - .option("-p, --popular", "Fetch the popular movies") .requiredOption("--page ", "The page of movies data results to fetch") + .option("-p, --popular", "Fetch the popular movies") .option("-n, --now-playing", "Fetch the movies that are playing now") - .action(function handleAction() { - console.log("hello-world"); + .action(function handleAction(opt) { + // if (opt.page && opt.popular && opt.nowPlaying) get.MoviesByPage(opt.page); + // if ((opt.page && opt.popular) || opt.nowPlaying) get.MoviesByPage(opt.page); + //get.MoviesByPage(opt.page, opt.nowPlaying); + console.log(opt.nowPlaying); // if nP is true, ... }); program diff --git a/src/utils/chalks.js b/src/utils/chalks.js index 955978c..7291175 100644 --- a/src/utils/chalks.js +++ b/src/utils/chalks.js @@ -1,6 +1,9 @@ +/** @format */ + const chalk = require("chalk"); const Person = require("./entities/Person.js"); +const Movie = require("./entities/Movie.js"); const log = console.log; @@ -48,4 +51,29 @@ function chalkPersonId(person, spinner) { } } -module.exports = { chalkPeople, chalkPersonId }; +function chalkMovie(page, spinner) { + try { + setTimeout(() => { + page.results.forEach((movie, index, array) => { + const chalkMovie = new Movie(movie); + chalkMovie.renderPopular(); + + if (index == array.length - 1) { + log(chalk.white("---------------------------------------------")); + log(chalk.white(`Page: ${page.page} of: ${page.total_pages}`)); + log("\n"); + return; + } + + log(chalk.white("----------------------")); + }); + + spinner.succeed("Popular Movie data loaded"); + log("\n"); + }, 1000); + } catch (error) { + spinner.fail(error.message); + } +} + +module.exports = { chalkPeople, chalkMovie, chalkPersonId }; diff --git a/src/utils/entities/Movie.js b/src/utils/entities/Movie.js index c096700..1f4081a 100644 --- a/src/utils/entities/Movie.js +++ b/src/utils/entities/Movie.js @@ -6,57 +6,31 @@ const log = console.log; class Movie { constructor(movie) { this.id = movie.id; - this.name = movie.name; - this.known_for_department = movie.known_for_department; - this.known_for = movie.known_for; - this.birthday = movie.birthday; - this.place_of_birth = movie.place_of_birth; - this.biography = movie.biography; - this.also_known_as = movie.also_known_as; + this.title = movie.title; + this.release_date = movie.release_date; } - // renderPopular() { - // log("\n"); - // log("Person: \n"); - // log(`ID: ${chalk.white(this.id)}`); - // log(`Name: ${chalk.blue.bold(this.name)}`); - - // if (this.known_for_department == "Acting") - // log(`Department: ${chalk.magenta(this.known_for_department)}`); - - // this.known_for.forEach((movie) => { - // if (movie.title !== "undefined") { - // log("\n"); - // log(`\tMovie:`); - // log(`\tRelease date: ${chalk.white(movie.release_date)}`); - // log(`\tTitle: ${chalk.white(movie.title)}`); - // log("\n"); - // } else { - // log(`\t${chalk.white(this.name)} doesn’t appear in any movie\n:`); - // } - // }); - - // log("\n"); - // } - - // renderPersonById() { - // log("____________________________________\nPerson:\n"); - // log(`ID: ${this.id} \nName: ${chalk.cyanBright(this.name)} \nBirthday: ${this.birthday} ${chalk.gray("|")} ${this.place_of_birth}`); - // if (this.known_for_department != null) log(`Department: ${chalk.magentaBright(this.known_for_department)}`); - - // log(`Biography: ${chalk.cyanBright(chalk.bold(this.biography))} \n`); - - // if (this.also_known_as) { - // log(`Also known as: \n`); - // this.also_known_as.forEach(element => { - // log(element); - // }); - // } else { - // log(`${chalk.yellow(this.name)} doesn’t have any alternate names`) - // } - - // log(""); - // } + renderPopular() { + log("\n"); + log("Movie: \n"); + log(`ID: ${chalk.white(this.id)}`); + log(`Title: ${chalk.blue.bold(this.title)}`); + log(`Release Date: ${chalk.white.bold(this.release_date)}`); + + // this.known_for.forEach((movie) => { + // if (movie.title !== "undefined") { + // log("\n"); + // log(`\tMovie:`); + // log(`\tRelease date: ${chalk.white(movie.release_date)}`); + // log(`\tTitle: ${chalk.white(movie.title)}`); + // log("\n"); + // } else { + // log(`\t${chalk.white(this.name)} doesn’t appear in any movie\n:`); + // } + // }); + + log("\n"); + } } module.exports = Movie; diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 6830dca..beb9419 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -1,8 +1,10 @@ +/** @format */ + const https = require("https"); const ora = require("ora"); const httpConstants = require("./httpConstants.js"); -const { chalkPeople, chalkPersonId } = require("./chalks.js"); +const { chalkMovie, chalkPeople, chalkPersonId } = require("./chalks.js"); /** * get People by Pages @@ -28,10 +30,45 @@ function PersonsByPage(page = 1) { } /** - * Popular functions + * Movies functions - Movies Pagination */ -function getPopularPersons() { - console.log("personas populares como Einar "); +//https://api.themoviedb.org/3/movie/popular?page=1&api_key=b103cea4e07be4e6b9e24670e40350a5 +function MoviesByPage(page = 1) { + const options = { + ...httpConstants, + path: `/3/movie/popular?page=${page}&api_key=${process.env.API_KEY}`, + }; + + const spinner = ora("Loading popular movie").start(); + + const req = https.request(options, (res) => { + let body = ""; + + res.on("data", (chunk) => (body += chunk)); + res.on("end", () => chalkMovie(JSON.parse(body), spinner)); + }); + + req.on("error", (e) => spinner.fail(e.message)); + req.end(); +} + +function MoviesByPage(page = 1) { + const options = { + ...httpConstants, + path: `/3/movie/popular?page=${page}&api_key=${process.env.API_KEY}`, + }; + + const spinner = ora("Loading popular movie").start(); + + const req = https.request(options, (res) => { + let body = ""; + + res.on("data", (chunk) => (body += chunk)); + res.on("end", () => chalkMovie(JSON.parse(body), spinner)); + }); + + req.on("error", (e) => spinner.fail(e.message)); + req.end(); } /** @@ -48,12 +85,14 @@ function PersonById(id) { const req = https.request(options, (res) => { let body = ""; - res.on("data", (chunk) => {body += chunk;}); + res.on("data", (chunk) => { + body += chunk; + }); res.on("end", () => chalkPersonId(JSON.parse(body), spinner)); }); req.on("error", (e) => spinner.fail(e.message)); - req.end(); + req.end(); } -module.exports = { PersonById, PersonsByPage}; +module.exports = { PersonById, PersonsByPage, MoviesByPage }; From cfb0585ad6be803804a99189702952ca620c9ad1 Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Fri, 30 Jul 2021 17:08:39 +0200 Subject: [PATCH 15/36] feat: error handeling functionality added --- src/utils/fileReader.js | 7 ------ src/utils/getMethods.js | 43 ++++++++++++++++--------------------- src/utils/json/persons.json | 2 +- 3 files changed, 19 insertions(+), 33 deletions(-) diff --git a/src/utils/fileReader.js b/src/utils/fileReader.js index 3f158c6..a90def1 100644 --- a/src/utils/fileReader.js +++ b/src/utils/fileReader.js @@ -1,13 +1,6 @@ const fs = require('fs'); function savePeople(page) { - /*fs.writeFile('./src/utils/json/persons.json', page, (err) => { - // throws an error, you could also catch it here - if (err) throw err; - - // success case, the file was saved - console.log('Lyric saved!'); - });*/ fs.writeFileSync('./src/utils/json/persons.json', JSON.stringify(page) , 'utf-8'); } diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 914738c..baffc50 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -10,10 +10,7 @@ const { chalkPeople, chalkPersonId } = require("./chalks.js"); * @param page: number of page to render */ function PersonsByPage(page = 1, option) { - const options = { - ...httpConstants, - path: `/3/person/popular?page=${page}&api_key=${process.env.API_KEY}`, - }; + const options = {...httpConstants, path: `/3/person/popular?page=${page}&api_key=${process.env.API_KEY}`}; const spinner = ora("Loading popular people").start(); @@ -23,12 +20,12 @@ function PersonsByPage(page = 1, option) { res.on("data", (chunk) => (body += chunk)); res.on("end", () => { if(option) { - console.log("JSON"); + //console.log("JSON"); file.savePeople(JSON.parse(body)); spinner.succeed("Popular Persons data loaded"); } else { - console.log("REQUEST"); + //console.log("REQUEST"); chalkPeople(JSON.parse(body), spinner); } }); @@ -44,21 +41,22 @@ function PersonsByPage(page = 1, option) { */ function JsonPersonByPage(page = 1) { const spinner = ora("Loading popular people").start(); + const path = "./src/utils/json/persons.json"; - fs.readFile('./src/utils/json/persons.json', 'utf-8', (err, data) => { - if (err) { - spinner.fail(e.message); - throw err; - } + try { + if (fs.existsSync(path)) { - // parse JSON object - const user = JSON.parse(data.toString()); + fs.readFile(path, 'utf-8', (err, data) => { + const user = JSON.parse(data.toString()); + chalkPeople(user, spinner); + }); - // print JSON object - console.log("LOADED FROM JSON") - chalkPeople(user, spinner); - - }); + } else { + spinner.fail("File dosn't exist"); + } + } catch (err){ + console.log(err.message); + } } @@ -66,19 +64,14 @@ function JsonPersonByPage(page = 1) { * Person by ID functions */ function PersonById(id) { - const options = { - ...httpConstants, - path: `/3/person/${id}?&api_key=${process.env.API_KEY}`, - }; + const options = {...httpConstants, path: `/3/person/${id}?&api_key=${process.env.API_KEY}`}; const spinner = ora("Fetching the person data...\n").start(); const req = https.request(options, (res) => { let body = ""; - res.on("data", (chunk) => { - body += chunk; - }); + res.on("data", (chunk) => {body += chunk;}); res.on("end", () => chalkPersonId(JSON.parse(body), spinner)); }); diff --git a/src/utils/json/persons.json b/src/utils/json/persons.json index a4b5678..7da015d 100644 --- a/src/utils/json/persons.json +++ b/src/utils/json/persons.json @@ -1 +1 @@ -{"page":1,"results":[{"adult":false,"gender":1,"id":1245,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25069},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22297},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18682}],"known_for_department":"Acting","name":"Scarlett Johansson","popularity":58.249,"profile_path":"/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg"},{"adult":false,"gender":1,"id":109513,"known_for":[{"adult":false,"backdrop_path":"/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg","genre_ids":[28,18,53],"id":254128,"media_type":"movie","original_language":"en","original_title":"San Andreas","overview":"In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.","poster_path":"/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg","release_date":"2015-05-27","title":"San Andreas","video":false,"vote_average":6.2,"vote_count":6690},{"adult":false,"backdrop_path":"/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg","genre_ids":[35,28,80],"id":339846,"media_type":"movie","original_language":"en","original_title":"Baywatch","overview":"Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.","poster_path":"/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg","release_date":"2017-05-12","title":"Baywatch","video":false,"vote_average":6.1,"vote_count":6486},{"adult":false,"backdrop_path":"/sEyNWq9985lyUrwayWnvicT4FHA.jpg","genre_ids":[12,14,10751],"id":32657,"media_type":"movie","original_language":"en","original_title":"Percy Jackson & the Olympians: The Lightning Thief","overview":"Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.","poster_path":"/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg","release_date":"2010-02-01","title":"Percy Jackson & the Olympians: The Lightning Thief","video":false,"vote_average":6.2,"vote_count":5845}],"known_for_department":"Acting","name":"Alexandra Daddario","popularity":53.167,"profile_path":"/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg"},{"adult":false,"gender":2,"id":12835,"known_for":[{"adult":false,"backdrop_path":"/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg","genre_ids":[28,878,12],"id":118340,"media_type":"movie","original_language":"en","original_title":"Guardians of the Galaxy","overview":"Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.","poster_path":"/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg","release_date":"2014-07-30","title":"Guardians of the Galaxy","video":false,"vote_average":7.9,"vote_count":22817},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22278},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18655}],"known_for_department":"Acting","name":"Vin Diesel","popularity":46.129,"profile_path":"/7rwSXluNWZAluYMOEWBxkPmckES.jpg"},{"adult":false,"gender":1,"id":3967,"known_for":[{"adult":false,"backdrop_path":"/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg","genre_ids":[35,18,14],"id":9339,"media_type":"movie","original_language":"en","original_title":"Click","overview":"A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.","poster_path":"/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg","release_date":"2006-06-23","title":"Click","video":false,"vote_average":6.2,"vote_count":5430},{"adult":false,"backdrop_path":"/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg","genre_ids":[14,28,53],"id":277,"media_type":"movie","original_language":"en","original_title":"Underworld","overview":"Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.","poster_path":"/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg","release_date":"2003-09-19","title":"Underworld","video":false,"vote_average":6.8,"vote_count":4910},{"adult":false,"backdrop_path":"/zv1xOEQzebKyku349qDZ085FZlO.jpg","genre_ids":[10752,36,10749,18],"id":676,"media_type":"movie","original_language":"en","original_title":"Pearl Harbor","overview":"The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.","poster_path":"/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg","release_date":"2001-05-21","title":"Pearl Harbor","video":false,"vote_average":6.9,"vote_count":4849}],"known_for_department":"Acting","name":"Kate Beckinsale","popularity":44.642,"profile_path":"/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg"},{"adult":false,"gender":2,"id":91606,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25069},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22297},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18682}],"known_for_department":"Acting","name":"Tom Hiddleston","popularity":42.089,"profile_path":"/mclHxMm8aPlCPKptP67257F5GPo.jpg"},{"adult":false,"gender":1,"id":1734,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8906},{"backdrop_path":"/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg","first_air_date":"2001-10-16","genre_ids":[10765,10759,18],"id":4604,"media_type":"tv","name":"Smallville","origin_country":["US"],"original_language":"en","original_name":"Smallville","overview":"The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.","poster_path":"/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg","vote_average":8.2,"vote_count":2591},{"backdrop_path":"/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg","first_air_date":"1990-11-18","genre_ids":[18,9648,10765],"id":19614,"media_type":"tv","name":"It","origin_country":["US"],"original_language":"en","original_name":"It","overview":"In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.","poster_path":"/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg","vote_average":6.9,"vote_count":2273}],"known_for_department":"Acting","name":"Annette O'Toole","popularity":41.629,"profile_path":"/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg"},{"adult":false,"gender":2,"id":1991255,"known_for":[{"backdrop_path":"/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg","first_air_date":"2017-03-25","genre_ids":[18],"id":76560,"media_type":"tv","name":"Mrs. Fazilet and Her Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Fazilet Hanım ve Kızları","overview":"The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.","poster_path":"/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg","vote_average":9.4,"vote_count":5},{"backdrop_path":"/lDbRMHVAGdkySaabD7KyyEbouoG.jpg","first_air_date":"2018-07-22","genre_ids":[18],"id":80229,"media_type":"tv","name":"Never Let My Hand Go","origin_country":["TR"],"original_language":"tr","original_name":"Elimi Bırakma","overview":"The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.","poster_path":"/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg","vote_average":10,"vote_count":4},{"backdrop_path":"/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg","first_air_date":"2021-06-15","genre_ids":[10766,18,35],"id":126255,"media_type":"tv","name":"Ada Masalı","origin_country":["TR"],"original_language":"tr","original_name":"Ada Masalı","overview":"","poster_path":"/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg","vote_average":10,"vote_count":1}],"known_for_department":"Acting","name":"Alp Navruz","popularity":41.008,"profile_path":"/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg"},{"adult":false,"gender":1,"id":5081,"known_for":[{"adult":false,"backdrop_path":"/auZIuHEUec5tBTns3tCRXfayxZq.jpg","genre_ids":[28,878],"id":137113,"media_type":"movie","original_language":"en","original_title":"Edge of Tomorrow","overview":"Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.","poster_path":"/uUHvlkLavotfGsNtosDy8ShsIYF.jpg","release_date":"2014-05-27","title":"Edge of Tomorrow","video":false,"vote_average":7.6,"vote_count":10803},{"adult":false,"backdrop_path":"/roYyPiQDQKmIKUEhO912693tSja.jpg","genre_ids":[27,18,878],"id":447332,"media_type":"movie","original_language":"en","original_title":"A Quiet Place","overview":"A family is forced to live in silence while hiding from creatures that hunt by sound.","poster_path":"/nAU74GmpUk7t5iklEp3bufwDq4n.jpg","release_date":"2018-04-03","title":"A Quiet Place","video":false,"vote_average":7.4,"vote_count":10417},{"adult":false,"backdrop_path":"/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg","genre_ids":[35,18,10749],"id":350,"media_type":"movie","original_language":"en","original_title":"The Devil Wears Prada","overview":"Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.","poster_path":"/8912AsVuS7Sj915apArUFbv6F9L.jpg","release_date":"2006-06-30","title":"The Devil Wears Prada","video":false,"vote_average":7.4,"vote_count":9379}],"known_for_department":"Acting","name":"Emily Blunt","popularity":37.177,"profile_path":"/nPJXaRMvu1vh3COG16GzmdsBySQ.jpg"},{"adult":false,"gender":2,"id":976,"known_for":[{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8777},{"adult":false,"backdrop_path":"/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg","genre_ids":[28,53,80,18],"id":168259,"media_type":"movie","original_language":"en","original_title":"Furious 7","overview":"Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.","poster_path":"/wurKlC3VKUgcfsn0K51MJYEleS2.jpg","release_date":"2015-04-01","title":"Furious 7","video":false,"vote_average":7.3,"vote_count":8534},{"adult":false,"backdrop_path":"/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg","genre_ids":[28,80,53],"id":337339,"media_type":"movie","original_language":"en","original_title":"The Fate of the Furious","overview":"When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.","poster_path":"/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg","release_date":"2017-04-12","title":"The Fate of the Furious","video":false,"vote_average":6.9,"vote_count":8382}],"known_for_department":"Acting","name":"Jason Statham","popularity":34.531,"profile_path":"/lldeQ91GwIVff43JBrpdbAAeYWj.jpg"},{"adult":false,"gender":1,"id":1373737,"known_for":[{"adult":false,"backdrop_path":"/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg","genre_ids":[18,10749],"id":331482,"media_type":"movie","original_language":"en","original_title":"Little Women","overview":"Four sisters come of age in America in the aftermath of the Civil War.","poster_path":"/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg","release_date":"2019-12-25","title":"Little Women","video":false,"vote_average":7.9,"vote_count":3929},{"adult":false,"backdrop_path":"/g6GtOfXtzDpY73ef7wludoorTti.jpg","genre_ids":[27,18,9648],"id":530385,"media_type":"movie","original_language":"en","original_title":"Midsommar","overview":"Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.","poster_path":"/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg","release_date":"2019-07-03","title":"Midsommar","video":false,"vote_average":7.1,"vote_count":3899},{"adult":false,"backdrop_path":"/clmYuR1t4TtKcakIOvYIPrjyxDc.jpg","genre_ids":[28,53],"id":399035,"media_type":"movie","original_language":"en","original_title":"The Commuter","overview":"A businessman, on his daily commute home, gets unwittingly caught up in a criminal conspiracy that threatens not only his life but the lives of those around him.","poster_path":"/rDeGK6FIUfVcXmuBdEORPAGPMNg.jpg","release_date":"2018-01-11","title":"The Commuter","video":false,"vote_average":6.3,"vote_count":3446}],"known_for_department":"Acting","name":"Florence Pugh","popularity":34.37,"profile_path":"/75PvULemW8BvheSKtPMoBBsvPLh.jpg"},{"adult":false,"gender":2,"id":13240,"known_for":[{"adult":false,"backdrop_path":"/9RuC3UD6mNZ0p1J6RbfJDUkQ03i.jpg","genre_ids":[18,53,80],"id":1422,"media_type":"movie","original_language":"en","original_title":"The Departed","overview":"To take down South Boston's Irish Mafia, the police send in one of their own to infiltrate the underworld, not realizing the syndicate has done likewise. While an undercover cop curries favor with the mob kingpin, a career criminal rises through the police ranks. But both sides soon discover there's a mole among them.","poster_path":"/kWWAt2FMRbqLFFy8o5R4Zr8cMAb.jpg","release_date":"2006-10-05","title":"The Departed","video":false,"vote_average":8.2,"vote_count":11370},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9905},{"adult":false,"backdrop_path":"/alItugxBbjNC10ezLSisplhSKJ.jpg","genre_ids":[878,28,12],"id":91314,"media_type":"movie","original_language":"en","original_title":"Transformers: Age of Extinction","overview":"As humanity picks up the pieces, following the conclusion of \"Transformers: Dark of the Moon,\" Autobots and Decepticons have all but vanished from the face of the planet. However, a group of powerful, ingenious businessman and scientists attempt to learn from past Transformer incursions and push the boundaries of technology beyond what they can control - all while an ancient, powerful Transformer menace sets Earth in his cross-hairs.","poster_path":"/jyzrfx2WaeY60kYZpPYepSjGz4S.jpg","release_date":"2014-06-25","title":"Transformers: Age of Extinction","video":false,"vote_average":5.9,"vote_count":6226}],"known_for_department":"Acting","name":"Mark Wahlberg","popularity":33.914,"profile_path":"/bTEFpaWd7A6AZVWOqKKBWzKEUe8.jpg"},{"adult":false,"gender":2,"id":18918,"known_for":[{"adult":false,"backdrop_path":"/zJDMuXQDraHjtF53wikmyBQIcYe.jpg","genre_ids":[28,12,35,14],"id":353486,"media_type":"movie","original_language":"en","original_title":"Jumanji: Welcome to the Jungle","overview":"The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.","poster_path":"/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg","release_date":"2017-12-09","title":"Jumanji: Welcome to the Jungle","video":false,"vote_average":6.8,"vote_count":10854},{"adult":false,"backdrop_path":"/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg","genre_ids":[12,35,10751,16],"id":277834,"media_type":"movie","original_language":"en","original_title":"Moana","overview":"In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.","poster_path":"/4JeejGugONWpJkbnvL12hVoYEDa.jpg","release_date":"2016-11-23","title":"Moana","video":false,"vote_average":7.6,"vote_count":9662},{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8786}],"known_for_department":"Acting","name":"Dwayne Johnson","popularity":33.881,"profile_path":"/cgoy7t5Ve075naBPcewZrc08qGw.jpg"},{"adult":false,"gender":1,"id":2472427,"known_for":[{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[53],"id":673407,"media_type":"movie","original_language":"ko","original_title":"불량탐정: 먹이사슬","overview":"Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.","poster_path":"/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg","release_date":"2020-01-22","title":"Bad Detective: Food Chain","video":false,"vote_average":6,"vote_count":1},{"adult":false,"backdrop_path":"/4mFrNiawrfHz2W9yryFcsrahYxA.jpg","genre_ids":[10749],"id":658228,"media_type":"movie","original_language":"ko","original_title":"딸의 애인 3","overview":"Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.","poster_path":"/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg","release_date":"2019-12-05","title":"My Daughter's Lover 3","video":false,"vote_average":0,"vote_count":0}],"known_for_department":"Acting","name":"Tae Joo","popularity":33.302,"profile_path":"/nGpa3za6yxSciko2J8tY8gbsgyT.jpg"},{"adult":false,"gender":2,"id":5009,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8906},{"backdrop_path":"/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg","first_air_date":"2005-09-13","genre_ids":[18,9648,10765],"id":1622,"media_type":"tv","name":"Supernatural","origin_country":["US"],"original_language":"en","original_name":"Supernatural","overview":"When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ","poster_path":"/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg","vote_average":8.2,"vote_count":5269},{"backdrop_path":"/4o0keepwKfyYoziJOmRZS24Omqa.jpg","first_air_date":"2012-10-10","genre_ids":[80,18,9648,10759],"id":1412,"media_type":"tv","name":"Arrow","origin_country":["US"],"original_language":"en","original_name":"Arrow","overview":"Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.","poster_path":"/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg","vote_average":6.7,"vote_count":4642}],"known_for_department":"Acting","name":"Peter Benson","popularity":33.004,"profile_path":"/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg"},{"adult":false,"gender":1,"id":2374721,"known_for":[{"adult":false,"backdrop_path":"/h1BoDAepuEmEMC2qhjBONAYhre7.jpg","genre_ids":[10749],"id":698009,"media_type":"movie","original_language":"en","original_title":"어린 처제 3","overview":"Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...","poster_path":"/swEYylf53k2aGZHjv9PuIxalWQE.jpg","release_date":"2019-05-24","title":"Young Sister-in-law 3 - 2019","video":false,"vote_average":5,"vote_count":2},{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[10749],"id":699173,"media_type":"movie","original_language":"ko","original_title":"유부녀들: 남편 바꾸기","overview":"After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...","poster_path":"/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg","release_date":"2020-01-23","title":"Married Women: Husband Change","video":false,"vote_average":5,"vote_count":1}],"known_for_department":"Acting","name":"Han Seo-ah","popularity":33.002,"profile_path":"/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg"},{"adult":false,"gender":1,"id":1439922,"known_for":[{"backdrop_path":"/n5h1JNlTm3AdWoKZnGcZMgemt8S.jpg","first_air_date":"2018-12-14","genre_ids":[10759],"id":79026,"media_type":"tv","name":"The Protector","origin_country":["TR"],"original_language":"tr","original_name":"Hakan: Muhafız","overview":"The epic adventure of Hakan, a young shopkeeper whose modern world gets turned upside down when he learns he’s connected to a secret, ancient order, tasked with protecting Istanbul.","poster_path":"/xoN4wJRzeaWBfuQDYPngJgN6y9t.jpg","vote_average":7.5,"vote_count":276},{"adult":false,"genre_ids":[10749,35],"id":325134,"media_type":"movie","original_language":"tr","original_title":"Sevimli Tehlikeli","overview":"Directed by Özcan Deniz.","poster_path":"/u1Xg9OyQQqw8SOld06FSSXr2OFF.jpg","release_date":"2015-02-06","title":"Cute and Dangerous","video":false,"vote_average":6.6,"vote_count":22},{"backdrop_path":"/jtM45bTIareE0qNraP5tN13qAZb.jpg","first_air_date":"2013-03-29","genre_ids":[18],"id":50236,"media_type":"tv","name":"Black Rose","origin_country":["TR"],"original_language":"tr","original_name":"Karagül","overview":"A married women has to fight for the things she lost because of the revealed secrets of her husband.","poster_path":"/3MGWHmUR0ezgQS5FQbjydG2nfLC.jpg","vote_average":8.8,"vote_count":5}],"known_for_department":"Acting","name":"Ayça Ayşin Turan","popularity":32.897,"profile_path":"/nahCmyU5UzreRM5aWzSaC92sGHh.jpg"},{"adult":false,"gender":2,"id":10859,"known_for":[{"adult":false,"backdrop_path":"/en971MEXui9diirXlogOrPKmsEn.jpg","genre_ids":[28,12,35],"id":293660,"media_type":"movie","original_language":"en","original_title":"Deadpool","overview":"Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.","poster_path":"/3E53WEZJqP6aM84D8CckXx4pIHw.jpg","release_date":"2016-02-09","title":"Deadpool","video":false,"vote_average":7.6,"vote_count":25222},{"adult":false,"backdrop_path":"/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg","genre_ids":[28,35,12],"id":383498,"media_type":"movie","original_language":"en","original_title":"Deadpool 2","overview":"Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.","poster_path":"/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg","release_date":"2018-05-10","title":"Deadpool 2","video":false,"vote_average":7.5,"vote_count":13488},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9905}],"known_for_department":"Acting","name":"Ryan Reynolds","popularity":32.897,"profile_path":"/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg"},{"adult":false,"gender":1,"id":6161,"known_for":[{"adult":false,"backdrop_path":"/tTlAA0REGPXSZPBfWyTW9ipIv1I.jpg","genre_ids":[28,12,878,18],"id":315635,"media_type":"movie","original_language":"en","original_title":"Spider-Man: Homecoming","overview":"Following the events of Captain America: Civil War, Peter Parker, with the help of his mentor Tony Stark, tries to balance his life as an ordinary high school student in Queens, New York City, with fighting crime as his superhero alter ego Spider-Man as a new threat, the Vulture, emerges.","poster_path":"/c24sv2weTHPsmDa7jEMN0m2P3RT.jpg","release_date":"2017-07-05","title":"Spider-Man: Homecoming","video":false,"vote_average":7.4,"vote_count":16504},{"adult":false,"backdrop_path":"/vVBcIN68kFq681b4lObiNJhEVro.jpg","genre_ids":[18,10749],"id":453,"media_type":"movie","original_language":"en","original_title":"A Beautiful Mind","overview":"John Nash is a brilliant but asocial mathematician fighting schizophrenia. After he accepts secret work in cryptography, his life takes a turn for the nightmarish.","poster_path":"/zwzWCmH72OSC9NA0ipoqw5Zjya8.jpg","release_date":"2001-12-11","title":"A Beautiful Mind","video":false,"vote_average":7.8,"vote_count":7795},{"adult":false,"backdrop_path":"/c5g1Dn1tF22CS2oOvHDNKr1Ve2U.jpg","genre_ids":[80,18,53],"id":641,"media_type":"movie","original_language":"en","original_title":"Requiem for a Dream","overview":"The hopes and dreams of four ambitious people are shattered when their drug addictions begin spiraling out of control. A look into addiction and how it overcomes the mind and body.","poster_path":"/nOd6vjEmzCT0k4VYqsA2hwyi87C.jpg","release_date":"2000-10-06","title":"Requiem for a Dream","video":false,"vote_average":8,"vote_count":7370}],"known_for_department":"Acting","name":"Jennifer Connelly","popularity":31.787,"profile_path":"/p17ymzw1sb9eo2SOp88jnwyryan.jpg"},{"adult":false,"gender":1,"id":10431,"known_for":[{"adult":false,"backdrop_path":"/7gfDVfaw0VaIkUGiEH13o3TIC7A.jpg","genre_ids":[80,18,9648,37],"id":273248,"media_type":"movie","original_language":"en","original_title":"The Hateful Eight","overview":"Bounty hunters seek shelter from a raging blizzard and get caught up in a plot of betrayal and deception.","poster_path":"/k61oZC6IPUhgACGFwxNqdkbrf2M.jpg","release_date":"2015-12-25","title":"The Hateful Eight","video":false,"vote_average":7.7,"vote_count":11232},{"adult":false,"backdrop_path":"/gDbNf0JpmG46fFTHJIPdFga9RRg.jpg","genre_ids":[878,27],"id":300668,"media_type":"movie","original_language":"en","original_title":"Annihilation","overview":"A biologist signs up for a dangerous, secret expedition into a mysterious zone where the laws of nature don't apply.","poster_path":"/4YRplSk6BhH6PRuE9gfyw9byUJ6.jpg","release_date":"2018-02-22","title":"Annihilation","video":false,"vote_average":6.3,"vote_count":6602},{"adult":false,"backdrop_path":"/hi3lxLd93iKwCmVAfhMV9m1k2jr.jpg","genre_ids":[53,18],"id":4553,"media_type":"movie","original_language":"en","original_title":"The Machinist","overview":"The Machinist is the story of Trevor Reznik, a lathe-operator who is suffering from insomnia. In a machine shop, occupational hazards are bad enough under normal circumstances; yet for Trevor the risks are compounded by fatigue. Trevor has lost the ability to sleep. This is no ordinary insomnia...","poster_path":"/diAYqR4xdF9Hnj7qun6DEQhRrT2.jpg","release_date":"2004-02-09","title":"The Machinist","video":false,"vote_average":7.5,"vote_count":3863}],"known_for_department":"Acting","name":"Jennifer Jason Leigh","popularity":31.464,"profile_path":"/esyL4vTOy7nd4S2tCPcnkL8rmxP.jpg"},{"adult":false,"gender":1,"id":58369,"known_for":[{"backdrop_path":"/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg","first_air_date":"2010-10-31","genre_ids":[10759,18,10765],"id":1402,"media_type":"tv","name":"The Walking Dead","origin_country":["US"],"original_language":"en","original_name":"The Walking Dead","overview":"Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.","poster_path":"/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg","vote_average":8.1,"vote_count":11209},{"backdrop_path":"/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg","first_air_date":"2011-10-05","genre_ids":[18,9648,10765],"id":1413,"media_type":"tv","name":"American Horror Story","origin_country":["US"],"original_language":"en","original_name":"American Horror Story","overview":"An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.","poster_path":"/8NMACR0OE5bwC27rE15f8ManNBO.jpg","vote_average":8.1,"vote_count":3770},{"backdrop_path":"/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg","first_air_date":"1999-01-31","genre_ids":[16,35],"id":1434,"media_type":"tv","name":"Family Guy","origin_country":["US"],"original_language":"en","original_name":"Family Guy","overview":"Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.","poster_path":"/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg","vote_average":7,"vote_count":2865}],"known_for_department":"Acting","name":"Alexandra Breckenridge","popularity":30.033,"profile_path":"/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg"}],"total_pages":500,"total_results":10000} \ No newline at end of file +{"page":1,"results":[{"adult":false,"gender":1,"id":1245,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25069},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22297},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18682}],"known_for_department":"Acting","name":"Scarlett Johansson","popularity":58.249,"profile_path":"/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg"},{"adult":false,"gender":1,"id":109513,"known_for":[{"adult":false,"backdrop_path":"/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg","genre_ids":[28,18,53],"id":254128,"media_type":"movie","original_language":"en","original_title":"San Andreas","overview":"In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.","poster_path":"/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg","release_date":"2015-05-27","title":"San Andreas","video":false,"vote_average":6.2,"vote_count":6690},{"adult":false,"backdrop_path":"/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg","genre_ids":[35,28,80],"id":339846,"media_type":"movie","original_language":"en","original_title":"Baywatch","overview":"Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.","poster_path":"/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg","release_date":"2017-05-12","title":"Baywatch","video":false,"vote_average":6.1,"vote_count":6486},{"adult":false,"backdrop_path":"/sEyNWq9985lyUrwayWnvicT4FHA.jpg","genre_ids":[12,14,10751],"id":32657,"media_type":"movie","original_language":"en","original_title":"Percy Jackson & the Olympians: The Lightning Thief","overview":"Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.","poster_path":"/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg","release_date":"2010-02-01","title":"Percy Jackson & the Olympians: The Lightning Thief","video":false,"vote_average":6.2,"vote_count":5845}],"known_for_department":"Acting","name":"Alexandra Daddario","popularity":53.167,"profile_path":"/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg"},{"adult":false,"gender":2,"id":12835,"known_for":[{"adult":false,"backdrop_path":"/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg","genre_ids":[28,878,12],"id":118340,"media_type":"movie","original_language":"en","original_title":"Guardians of the Galaxy","overview":"Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.","poster_path":"/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg","release_date":"2014-07-30","title":"Guardians of the Galaxy","video":false,"vote_average":7.9,"vote_count":22817},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22278},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18655}],"known_for_department":"Acting","name":"Vin Diesel","popularity":46.129,"profile_path":"/7rwSXluNWZAluYMOEWBxkPmckES.jpg"},{"adult":false,"gender":1,"id":3967,"known_for":[{"adult":false,"backdrop_path":"/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg","genre_ids":[35,18,14],"id":9339,"media_type":"movie","original_language":"en","original_title":"Click","overview":"A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.","poster_path":"/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg","release_date":"2006-06-23","title":"Click","video":false,"vote_average":6.2,"vote_count":5430},{"adult":false,"backdrop_path":"/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg","genre_ids":[14,28,53],"id":277,"media_type":"movie","original_language":"en","original_title":"Underworld","overview":"Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.","poster_path":"/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg","release_date":"2003-09-19","title":"Underworld","video":false,"vote_average":6.8,"vote_count":4910},{"adult":false,"backdrop_path":"/zv1xOEQzebKyku349qDZ085FZlO.jpg","genre_ids":[10752,36,10749,18],"id":676,"media_type":"movie","original_language":"en","original_title":"Pearl Harbor","overview":"The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.","poster_path":"/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg","release_date":"2001-05-21","title":"Pearl Harbor","video":false,"vote_average":6.9,"vote_count":4849}],"known_for_department":"Acting","name":"Kate Beckinsale","popularity":44.642,"profile_path":"/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg"},{"adult":false,"gender":2,"id":91606,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25069},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22297},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18682}],"known_for_department":"Acting","name":"Tom Hiddleston","popularity":42.089,"profile_path":"/mclHxMm8aPlCPKptP67257F5GPo.jpg"},{"adult":false,"gender":1,"id":1734,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8906},{"backdrop_path":"/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg","first_air_date":"2001-10-16","genre_ids":[10765,10759,18],"id":4604,"media_type":"tv","name":"Smallville","origin_country":["US"],"original_language":"en","original_name":"Smallville","overview":"The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.","poster_path":"/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg","vote_average":8.2,"vote_count":2591},{"backdrop_path":"/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg","first_air_date":"1990-11-18","genre_ids":[18,9648,10765],"id":19614,"media_type":"tv","name":"It","origin_country":["US"],"original_language":"en","original_name":"It","overview":"In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.","poster_path":"/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg","vote_average":6.9,"vote_count":2273}],"known_for_department":"Acting","name":"Annette O'Toole","popularity":41.629,"profile_path":"/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg"},{"adult":false,"gender":2,"id":1991255,"known_for":[{"backdrop_path":"/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg","first_air_date":"2017-03-25","genre_ids":[18],"id":76560,"media_type":"tv","name":"Mrs. Fazilet and Her Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Fazilet Hanım ve Kızları","overview":"The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.","poster_path":"/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg","vote_average":9.4,"vote_count":5},{"backdrop_path":"/lDbRMHVAGdkySaabD7KyyEbouoG.jpg","first_air_date":"2018-07-22","genre_ids":[18],"id":80229,"media_type":"tv","name":"Never Let My Hand Go","origin_country":["TR"],"original_language":"tr","original_name":"Elimi Bırakma","overview":"The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.","poster_path":"/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg","vote_average":10,"vote_count":4},{"backdrop_path":"/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg","first_air_date":"2021-06-15","genre_ids":[10766,18,35],"id":126255,"media_type":"tv","name":"Bir Ada Masali","origin_country":["TR"],"original_language":"tr","original_name":"Ada Masalı","overview":"","poster_path":"/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg","vote_average":10,"vote_count":1}],"known_for_department":"Acting","name":"Alp Navruz","popularity":41.008,"profile_path":"/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg"},{"adult":false,"gender":1,"id":5081,"known_for":[{"adult":false,"backdrop_path":"/auZIuHEUec5tBTns3tCRXfayxZq.jpg","genre_ids":[28,878],"id":137113,"media_type":"movie","original_language":"en","original_title":"Edge of Tomorrow","overview":"Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.","poster_path":"/uUHvlkLavotfGsNtosDy8ShsIYF.jpg","release_date":"2014-05-27","title":"Edge of Tomorrow","video":false,"vote_average":7.6,"vote_count":10803},{"adult":false,"backdrop_path":"/roYyPiQDQKmIKUEhO912693tSja.jpg","genre_ids":[27,18,878],"id":447332,"media_type":"movie","original_language":"en","original_title":"A Quiet Place","overview":"A family is forced to live in silence while hiding from creatures that hunt by sound.","poster_path":"/nAU74GmpUk7t5iklEp3bufwDq4n.jpg","release_date":"2018-04-03","title":"A Quiet Place","video":false,"vote_average":7.4,"vote_count":10428},{"adult":false,"backdrop_path":"/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg","genre_ids":[35,18,10749],"id":350,"media_type":"movie","original_language":"en","original_title":"The Devil Wears Prada","overview":"Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.","poster_path":"/8912AsVuS7Sj915apArUFbv6F9L.jpg","release_date":"2006-06-30","title":"The Devil Wears Prada","video":false,"vote_average":7.4,"vote_count":9379}],"known_for_department":"Acting","name":"Emily Blunt","popularity":37.177,"profile_path":"/nPJXaRMvu1vh3COG16GzmdsBySQ.jpg"},{"adult":false,"gender":2,"id":976,"known_for":[{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8777},{"adult":false,"backdrop_path":"/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg","genre_ids":[28,53,80,18],"id":168259,"media_type":"movie","original_language":"en","original_title":"Furious 7","overview":"Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.","poster_path":"/wurKlC3VKUgcfsn0K51MJYEleS2.jpg","release_date":"2015-04-01","title":"Furious 7","video":false,"vote_average":7.3,"vote_count":8534},{"adult":false,"backdrop_path":"/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg","genre_ids":[28,80,53],"id":337339,"media_type":"movie","original_language":"en","original_title":"The Fate of the Furious","overview":"When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.","poster_path":"/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg","release_date":"2017-04-12","title":"The Fate of the Furious","video":false,"vote_average":6.9,"vote_count":8382}],"known_for_department":"Acting","name":"Jason Statham","popularity":34.531,"profile_path":"/lldeQ91GwIVff43JBrpdbAAeYWj.jpg"},{"adult":false,"gender":1,"id":1373737,"known_for":[{"adult":false,"backdrop_path":"/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg","genre_ids":[18,10749],"id":331482,"media_type":"movie","original_language":"en","original_title":"Little Women","overview":"Four sisters come of age in America in the aftermath of the Civil War.","poster_path":"/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg","release_date":"2019-12-25","title":"Little Women","video":false,"vote_average":7.9,"vote_count":3929},{"adult":false,"backdrop_path":"/g6GtOfXtzDpY73ef7wludoorTti.jpg","genre_ids":[27,18,9648],"id":530385,"media_type":"movie","original_language":"en","original_title":"Midsommar","overview":"Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.","poster_path":"/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg","release_date":"2019-07-03","title":"Midsommar","video":false,"vote_average":7.1,"vote_count":3899},{"adult":false,"backdrop_path":"/clmYuR1t4TtKcakIOvYIPrjyxDc.jpg","genre_ids":[28,53],"id":399035,"media_type":"movie","original_language":"en","original_title":"The Commuter","overview":"A businessman, on his daily commute home, gets unwittingly caught up in a criminal conspiracy that threatens not only his life but the lives of those around him.","poster_path":"/rDeGK6FIUfVcXmuBdEORPAGPMNg.jpg","release_date":"2018-01-11","title":"The Commuter","video":false,"vote_average":6.3,"vote_count":3446}],"known_for_department":"Acting","name":"Florence Pugh","popularity":34.37,"profile_path":"/75PvULemW8BvheSKtPMoBBsvPLh.jpg"},{"adult":false,"gender":2,"id":13240,"known_for":[{"adult":false,"backdrop_path":"/9RuC3UD6mNZ0p1J6RbfJDUkQ03i.jpg","genre_ids":[18,53,80],"id":1422,"media_type":"movie","original_language":"en","original_title":"The Departed","overview":"To take down South Boston's Irish Mafia, the police send in one of their own to infiltrate the underworld, not realizing the syndicate has done likewise. While an undercover cop curries favor with the mob kingpin, a career criminal rises through the police ranks. But both sides soon discover there's a mole among them.","poster_path":"/kWWAt2FMRbqLFFy8o5R4Zr8cMAb.jpg","release_date":"2006-10-05","title":"The Departed","video":false,"vote_average":8.2,"vote_count":11370},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9905},{"adult":false,"backdrop_path":"/alItugxBbjNC10ezLSisplhSKJ.jpg","genre_ids":[878,28,12],"id":91314,"media_type":"movie","original_language":"en","original_title":"Transformers: Age of Extinction","overview":"As humanity picks up the pieces, following the conclusion of \"Transformers: Dark of the Moon,\" Autobots and Decepticons have all but vanished from the face of the planet. However, a group of powerful, ingenious businessman and scientists attempt to learn from past Transformer incursions and push the boundaries of technology beyond what they can control - all while an ancient, powerful Transformer menace sets Earth in his cross-hairs.","poster_path":"/jyzrfx2WaeY60kYZpPYepSjGz4S.jpg","release_date":"2014-06-25","title":"Transformers: Age of Extinction","video":false,"vote_average":5.9,"vote_count":6226}],"known_for_department":"Acting","name":"Mark Wahlberg","popularity":33.914,"profile_path":"/bTEFpaWd7A6AZVWOqKKBWzKEUe8.jpg"},{"adult":false,"gender":2,"id":18918,"known_for":[{"adult":false,"backdrop_path":"/zJDMuXQDraHjtF53wikmyBQIcYe.jpg","genre_ids":[28,12,35,14],"id":353486,"media_type":"movie","original_language":"en","original_title":"Jumanji: Welcome to the Jungle","overview":"The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.","poster_path":"/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg","release_date":"2017-12-09","title":"Jumanji: Welcome to the Jungle","video":false,"vote_average":6.8,"vote_count":10854},{"adult":false,"backdrop_path":"/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg","genre_ids":[12,35,10751,16],"id":277834,"media_type":"movie","original_language":"en","original_title":"Moana","overview":"In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.","poster_path":"/4JeejGugONWpJkbnvL12hVoYEDa.jpg","release_date":"2016-11-23","title":"Moana","video":false,"vote_average":7.6,"vote_count":9662},{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8786}],"known_for_department":"Acting","name":"Dwayne Johnson","popularity":33.881,"profile_path":"/cgoy7t5Ve075naBPcewZrc08qGw.jpg"},{"adult":false,"gender":1,"id":2472427,"known_for":[{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[53],"id":673407,"media_type":"movie","original_language":"ko","original_title":"불량탐정: 먹이사슬","overview":"Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.","poster_path":"/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg","release_date":"2020-01-22","title":"Bad Detective: Food Chain","video":false,"vote_average":6,"vote_count":1},{"adult":false,"backdrop_path":"/4mFrNiawrfHz2W9yryFcsrahYxA.jpg","genre_ids":[10749],"id":658228,"media_type":"movie","original_language":"ko","original_title":"딸의 애인 3","overview":"Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.","poster_path":"/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg","release_date":"2019-12-05","title":"My Daughter's Lover 3","video":false,"vote_average":0,"vote_count":0}],"known_for_department":"Acting","name":"Tae Joo","popularity":33.302,"profile_path":"/nGpa3za6yxSciko2J8tY8gbsgyT.jpg"},{"adult":false,"gender":2,"id":5009,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8906},{"backdrop_path":"/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg","first_air_date":"2005-09-13","genre_ids":[18,9648,10765],"id":1622,"media_type":"tv","name":"Supernatural","origin_country":["US"],"original_language":"en","original_name":"Supernatural","overview":"When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ","poster_path":"/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg","vote_average":8.2,"vote_count":5269},{"backdrop_path":"/4o0keepwKfyYoziJOmRZS24Omqa.jpg","first_air_date":"2012-10-10","genre_ids":[80,18,9648,10759],"id":1412,"media_type":"tv","name":"Arrow","origin_country":["US"],"original_language":"en","original_name":"Arrow","overview":"Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.","poster_path":"/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg","vote_average":6.7,"vote_count":4642}],"known_for_department":"Acting","name":"Peter Benson","popularity":33.004,"profile_path":"/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg"},{"adult":false,"gender":1,"id":2374721,"known_for":[{"adult":false,"backdrop_path":"/h1BoDAepuEmEMC2qhjBONAYhre7.jpg","genre_ids":[10749],"id":698009,"media_type":"movie","original_language":"en","original_title":"어린 처제 3","overview":"Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...","poster_path":"/swEYylf53k2aGZHjv9PuIxalWQE.jpg","release_date":"2019-05-24","title":"Young Sister-in-law 3 - 2019","video":false,"vote_average":5,"vote_count":2},{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[10749],"id":699173,"media_type":"movie","original_language":"ko","original_title":"유부녀들: 남편 바꾸기","overview":"After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...","poster_path":"/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg","release_date":"2020-01-23","title":"Married Women: Husband Change","video":false,"vote_average":5,"vote_count":1}],"known_for_department":"Acting","name":"Han Seo-ah","popularity":33.002,"profile_path":"/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg"},{"adult":false,"gender":1,"id":1439922,"known_for":[{"backdrop_path":"/n5h1JNlTm3AdWoKZnGcZMgemt8S.jpg","first_air_date":"2018-12-14","genre_ids":[10759],"id":79026,"media_type":"tv","name":"The Protector","origin_country":["TR"],"original_language":"tr","original_name":"Hakan: Muhafız","overview":"The epic adventure of Hakan, a young shopkeeper whose modern world gets turned upside down when he learns he’s connected to a secret, ancient order, tasked with protecting Istanbul.","poster_path":"/xoN4wJRzeaWBfuQDYPngJgN6y9t.jpg","vote_average":7.5,"vote_count":278},{"adult":false,"genre_ids":[10749,35],"id":325134,"media_type":"movie","original_language":"tr","original_title":"Sevimli Tehlikeli","overview":"Directed by Özcan Deniz.","poster_path":"/u1Xg9OyQQqw8SOld06FSSXr2OFF.jpg","release_date":"2015-02-06","title":"Cute and Dangerous","video":false,"vote_average":6.6,"vote_count":22},{"backdrop_path":"/jtM45bTIareE0qNraP5tN13qAZb.jpg","first_air_date":"2013-03-29","genre_ids":[18],"id":50236,"media_type":"tv","name":"Black Rose","origin_country":["TR"],"original_language":"tr","original_name":"Karagül","overview":"A married women has to fight for the things she lost because of the revealed secrets of her husband.","poster_path":"/3MGWHmUR0ezgQS5FQbjydG2nfLC.jpg","vote_average":8.8,"vote_count":5}],"known_for_department":"Acting","name":"Ayça Ayşin Turan","popularity":32.897,"profile_path":"/nahCmyU5UzreRM5aWzSaC92sGHh.jpg"},{"adult":false,"gender":2,"id":10859,"known_for":[{"adult":false,"backdrop_path":"/en971MEXui9diirXlogOrPKmsEn.jpg","genre_ids":[28,12,35],"id":293660,"media_type":"movie","original_language":"en","original_title":"Deadpool","overview":"Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.","poster_path":"/3E53WEZJqP6aM84D8CckXx4pIHw.jpg","release_date":"2016-02-09","title":"Deadpool","video":false,"vote_average":7.6,"vote_count":25222},{"adult":false,"backdrop_path":"/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg","genre_ids":[28,35,12],"id":383498,"media_type":"movie","original_language":"en","original_title":"Deadpool 2","overview":"Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.","poster_path":"/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg","release_date":"2018-05-10","title":"Deadpool 2","video":false,"vote_average":7.5,"vote_count":13488},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9905}],"known_for_department":"Acting","name":"Ryan Reynolds","popularity":32.897,"profile_path":"/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg"},{"adult":false,"gender":1,"id":6161,"known_for":[{"adult":false,"backdrop_path":"/tTlAA0REGPXSZPBfWyTW9ipIv1I.jpg","genre_ids":[28,12,878,18],"id":315635,"media_type":"movie","original_language":"en","original_title":"Spider-Man: Homecoming","overview":"Following the events of Captain America: Civil War, Peter Parker, with the help of his mentor Tony Stark, tries to balance his life as an ordinary high school student in Queens, New York City, with fighting crime as his superhero alter ego Spider-Man as a new threat, the Vulture, emerges.","poster_path":"/c24sv2weTHPsmDa7jEMN0m2P3RT.jpg","release_date":"2017-07-05","title":"Spider-Man: Homecoming","video":false,"vote_average":7.4,"vote_count":16504},{"adult":false,"backdrop_path":"/vVBcIN68kFq681b4lObiNJhEVro.jpg","genre_ids":[18,10749],"id":453,"media_type":"movie","original_language":"en","original_title":"A Beautiful Mind","overview":"John Nash is a brilliant but asocial mathematician fighting schizophrenia. After he accepts secret work in cryptography, his life takes a turn for the nightmarish.","poster_path":"/zwzWCmH72OSC9NA0ipoqw5Zjya8.jpg","release_date":"2001-12-11","title":"A Beautiful Mind","video":false,"vote_average":7.8,"vote_count":7795},{"adult":false,"backdrop_path":"/c5g1Dn1tF22CS2oOvHDNKr1Ve2U.jpg","genre_ids":[80,18,53],"id":641,"media_type":"movie","original_language":"en","original_title":"Requiem for a Dream","overview":"The hopes and dreams of four ambitious people are shattered when their drug addictions begin spiraling out of control. A look into addiction and how it overcomes the mind and body.","poster_path":"/nOd6vjEmzCT0k4VYqsA2hwyi87C.jpg","release_date":"2000-10-06","title":"Requiem for a Dream","video":false,"vote_average":8,"vote_count":7370}],"known_for_department":"Acting","name":"Jennifer Connelly","popularity":31.787,"profile_path":"/p17ymzw1sb9eo2SOp88jnwyryan.jpg"},{"adult":false,"gender":1,"id":10431,"known_for":[{"adult":false,"backdrop_path":"/7gfDVfaw0VaIkUGiEH13o3TIC7A.jpg","genre_ids":[80,18,9648,37],"id":273248,"media_type":"movie","original_language":"en","original_title":"The Hateful Eight","overview":"Bounty hunters seek shelter from a raging blizzard and get caught up in a plot of betrayal and deception.","poster_path":"/k61oZC6IPUhgACGFwxNqdkbrf2M.jpg","release_date":"2015-12-25","title":"The Hateful Eight","video":false,"vote_average":7.7,"vote_count":11232},{"adult":false,"backdrop_path":"/gDbNf0JpmG46fFTHJIPdFga9RRg.jpg","genre_ids":[878,27],"id":300668,"media_type":"movie","original_language":"en","original_title":"Annihilation","overview":"A biologist signs up for a dangerous, secret expedition into a mysterious zone where the laws of nature don't apply.","poster_path":"/4YRplSk6BhH6PRuE9gfyw9byUJ6.jpg","release_date":"2018-02-22","title":"Annihilation","video":false,"vote_average":6.3,"vote_count":6602},{"adult":false,"backdrop_path":"/hi3lxLd93iKwCmVAfhMV9m1k2jr.jpg","genre_ids":[53,18],"id":4553,"media_type":"movie","original_language":"en","original_title":"The Machinist","overview":"The Machinist is the story of Trevor Reznik, a lathe-operator who is suffering from insomnia. In a machine shop, occupational hazards are bad enough under normal circumstances; yet for Trevor the risks are compounded by fatigue. Trevor has lost the ability to sleep. This is no ordinary insomnia...","poster_path":"/diAYqR4xdF9Hnj7qun6DEQhRrT2.jpg","release_date":"2004-02-09","title":"The Machinist","video":false,"vote_average":7.5,"vote_count":3863}],"known_for_department":"Acting","name":"Jennifer Jason Leigh","popularity":31.464,"profile_path":"/esyL4vTOy7nd4S2tCPcnkL8rmxP.jpg"},{"adult":false,"gender":1,"id":58369,"known_for":[{"backdrop_path":"/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg","first_air_date":"2010-10-31","genre_ids":[10759,18,10765],"id":1402,"media_type":"tv","name":"The Walking Dead","origin_country":["US"],"original_language":"en","original_name":"The Walking Dead","overview":"Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.","poster_path":"/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg","vote_average":8.1,"vote_count":11209},{"backdrop_path":"/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg","first_air_date":"2011-10-05","genre_ids":[18,9648,10765],"id":1413,"media_type":"tv","name":"American Horror Story","origin_country":["US"],"original_language":"en","original_name":"American Horror Story","overview":"An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.","poster_path":"/8NMACR0OE5bwC27rE15f8ManNBO.jpg","vote_average":8.1,"vote_count":3770},{"backdrop_path":"/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg","first_air_date":"1999-01-31","genre_ids":[16,35],"id":1434,"media_type":"tv","name":"Family Guy","origin_country":["US"],"original_language":"en","original_name":"Family Guy","overview":"Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.","poster_path":"/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg","vote_average":7,"vote_count":2865}],"known_for_department":"Acting","name":"Alexandra Breckenridge","popularity":30.033,"profile_path":"/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg"}],"total_pages":500,"total_results":10000} \ No newline at end of file From 49a47a1dae16873e3b6392e0c025b3432d0034bc Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Fri, 30 Jul 2021 17:19:22 +0200 Subject: [PATCH 16/36] fix: JSON file structure applied --- src/utils/json/persons.json | 1412 ++++++++++++++++++++++++++++++++++- 1 file changed, 1411 insertions(+), 1 deletion(-) diff --git a/src/utils/json/persons.json b/src/utils/json/persons.json index 7da015d..6327b09 100644 --- a/src/utils/json/persons.json +++ b/src/utils/json/persons.json @@ -1 +1,1411 @@ -{"page":1,"results":[{"adult":false,"gender":1,"id":1245,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25069},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22297},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18682}],"known_for_department":"Acting","name":"Scarlett Johansson","popularity":58.249,"profile_path":"/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg"},{"adult":false,"gender":1,"id":109513,"known_for":[{"adult":false,"backdrop_path":"/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg","genre_ids":[28,18,53],"id":254128,"media_type":"movie","original_language":"en","original_title":"San Andreas","overview":"In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.","poster_path":"/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg","release_date":"2015-05-27","title":"San Andreas","video":false,"vote_average":6.2,"vote_count":6690},{"adult":false,"backdrop_path":"/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg","genre_ids":[35,28,80],"id":339846,"media_type":"movie","original_language":"en","original_title":"Baywatch","overview":"Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.","poster_path":"/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg","release_date":"2017-05-12","title":"Baywatch","video":false,"vote_average":6.1,"vote_count":6486},{"adult":false,"backdrop_path":"/sEyNWq9985lyUrwayWnvicT4FHA.jpg","genre_ids":[12,14,10751],"id":32657,"media_type":"movie","original_language":"en","original_title":"Percy Jackson & the Olympians: The Lightning Thief","overview":"Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.","poster_path":"/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg","release_date":"2010-02-01","title":"Percy Jackson & the Olympians: The Lightning Thief","video":false,"vote_average":6.2,"vote_count":5845}],"known_for_department":"Acting","name":"Alexandra Daddario","popularity":53.167,"profile_path":"/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg"},{"adult":false,"gender":2,"id":12835,"known_for":[{"adult":false,"backdrop_path":"/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg","genre_ids":[28,878,12],"id":118340,"media_type":"movie","original_language":"en","original_title":"Guardians of the Galaxy","overview":"Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.","poster_path":"/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg","release_date":"2014-07-30","title":"Guardians of the Galaxy","video":false,"vote_average":7.9,"vote_count":22817},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22278},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18655}],"known_for_department":"Acting","name":"Vin Diesel","popularity":46.129,"profile_path":"/7rwSXluNWZAluYMOEWBxkPmckES.jpg"},{"adult":false,"gender":1,"id":3967,"known_for":[{"adult":false,"backdrop_path":"/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg","genre_ids":[35,18,14],"id":9339,"media_type":"movie","original_language":"en","original_title":"Click","overview":"A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.","poster_path":"/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg","release_date":"2006-06-23","title":"Click","video":false,"vote_average":6.2,"vote_count":5430},{"adult":false,"backdrop_path":"/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg","genre_ids":[14,28,53],"id":277,"media_type":"movie","original_language":"en","original_title":"Underworld","overview":"Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.","poster_path":"/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg","release_date":"2003-09-19","title":"Underworld","video":false,"vote_average":6.8,"vote_count":4910},{"adult":false,"backdrop_path":"/zv1xOEQzebKyku349qDZ085FZlO.jpg","genre_ids":[10752,36,10749,18],"id":676,"media_type":"movie","original_language":"en","original_title":"Pearl Harbor","overview":"The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.","poster_path":"/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg","release_date":"2001-05-21","title":"Pearl Harbor","video":false,"vote_average":6.9,"vote_count":4849}],"known_for_department":"Acting","name":"Kate Beckinsale","popularity":44.642,"profile_path":"/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg"},{"adult":false,"gender":2,"id":91606,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25069},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22297},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18682}],"known_for_department":"Acting","name":"Tom Hiddleston","popularity":42.089,"profile_path":"/mclHxMm8aPlCPKptP67257F5GPo.jpg"},{"adult":false,"gender":1,"id":1734,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8906},{"backdrop_path":"/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg","first_air_date":"2001-10-16","genre_ids":[10765,10759,18],"id":4604,"media_type":"tv","name":"Smallville","origin_country":["US"],"original_language":"en","original_name":"Smallville","overview":"The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.","poster_path":"/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg","vote_average":8.2,"vote_count":2591},{"backdrop_path":"/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg","first_air_date":"1990-11-18","genre_ids":[18,9648,10765],"id":19614,"media_type":"tv","name":"It","origin_country":["US"],"original_language":"en","original_name":"It","overview":"In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.","poster_path":"/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg","vote_average":6.9,"vote_count":2273}],"known_for_department":"Acting","name":"Annette O'Toole","popularity":41.629,"profile_path":"/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg"},{"adult":false,"gender":2,"id":1991255,"known_for":[{"backdrop_path":"/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg","first_air_date":"2017-03-25","genre_ids":[18],"id":76560,"media_type":"tv","name":"Mrs. Fazilet and Her Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Fazilet Hanım ve Kızları","overview":"The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.","poster_path":"/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg","vote_average":9.4,"vote_count":5},{"backdrop_path":"/lDbRMHVAGdkySaabD7KyyEbouoG.jpg","first_air_date":"2018-07-22","genre_ids":[18],"id":80229,"media_type":"tv","name":"Never Let My Hand Go","origin_country":["TR"],"original_language":"tr","original_name":"Elimi Bırakma","overview":"The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.","poster_path":"/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg","vote_average":10,"vote_count":4},{"backdrop_path":"/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg","first_air_date":"2021-06-15","genre_ids":[10766,18,35],"id":126255,"media_type":"tv","name":"Bir Ada Masali","origin_country":["TR"],"original_language":"tr","original_name":"Ada Masalı","overview":"","poster_path":"/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg","vote_average":10,"vote_count":1}],"known_for_department":"Acting","name":"Alp Navruz","popularity":41.008,"profile_path":"/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg"},{"adult":false,"gender":1,"id":5081,"known_for":[{"adult":false,"backdrop_path":"/auZIuHEUec5tBTns3tCRXfayxZq.jpg","genre_ids":[28,878],"id":137113,"media_type":"movie","original_language":"en","original_title":"Edge of Tomorrow","overview":"Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.","poster_path":"/uUHvlkLavotfGsNtosDy8ShsIYF.jpg","release_date":"2014-05-27","title":"Edge of Tomorrow","video":false,"vote_average":7.6,"vote_count":10803},{"adult":false,"backdrop_path":"/roYyPiQDQKmIKUEhO912693tSja.jpg","genre_ids":[27,18,878],"id":447332,"media_type":"movie","original_language":"en","original_title":"A Quiet Place","overview":"A family is forced to live in silence while hiding from creatures that hunt by sound.","poster_path":"/nAU74GmpUk7t5iklEp3bufwDq4n.jpg","release_date":"2018-04-03","title":"A Quiet Place","video":false,"vote_average":7.4,"vote_count":10428},{"adult":false,"backdrop_path":"/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg","genre_ids":[35,18,10749],"id":350,"media_type":"movie","original_language":"en","original_title":"The Devil Wears Prada","overview":"Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.","poster_path":"/8912AsVuS7Sj915apArUFbv6F9L.jpg","release_date":"2006-06-30","title":"The Devil Wears Prada","video":false,"vote_average":7.4,"vote_count":9379}],"known_for_department":"Acting","name":"Emily Blunt","popularity":37.177,"profile_path":"/nPJXaRMvu1vh3COG16GzmdsBySQ.jpg"},{"adult":false,"gender":2,"id":976,"known_for":[{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8777},{"adult":false,"backdrop_path":"/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg","genre_ids":[28,53,80,18],"id":168259,"media_type":"movie","original_language":"en","original_title":"Furious 7","overview":"Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.","poster_path":"/wurKlC3VKUgcfsn0K51MJYEleS2.jpg","release_date":"2015-04-01","title":"Furious 7","video":false,"vote_average":7.3,"vote_count":8534},{"adult":false,"backdrop_path":"/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg","genre_ids":[28,80,53],"id":337339,"media_type":"movie","original_language":"en","original_title":"The Fate of the Furious","overview":"When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.","poster_path":"/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg","release_date":"2017-04-12","title":"The Fate of the Furious","video":false,"vote_average":6.9,"vote_count":8382}],"known_for_department":"Acting","name":"Jason Statham","popularity":34.531,"profile_path":"/lldeQ91GwIVff43JBrpdbAAeYWj.jpg"},{"adult":false,"gender":1,"id":1373737,"known_for":[{"adult":false,"backdrop_path":"/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg","genre_ids":[18,10749],"id":331482,"media_type":"movie","original_language":"en","original_title":"Little Women","overview":"Four sisters come of age in America in the aftermath of the Civil War.","poster_path":"/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg","release_date":"2019-12-25","title":"Little Women","video":false,"vote_average":7.9,"vote_count":3929},{"adult":false,"backdrop_path":"/g6GtOfXtzDpY73ef7wludoorTti.jpg","genre_ids":[27,18,9648],"id":530385,"media_type":"movie","original_language":"en","original_title":"Midsommar","overview":"Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.","poster_path":"/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg","release_date":"2019-07-03","title":"Midsommar","video":false,"vote_average":7.1,"vote_count":3899},{"adult":false,"backdrop_path":"/clmYuR1t4TtKcakIOvYIPrjyxDc.jpg","genre_ids":[28,53],"id":399035,"media_type":"movie","original_language":"en","original_title":"The Commuter","overview":"A businessman, on his daily commute home, gets unwittingly caught up in a criminal conspiracy that threatens not only his life but the lives of those around him.","poster_path":"/rDeGK6FIUfVcXmuBdEORPAGPMNg.jpg","release_date":"2018-01-11","title":"The Commuter","video":false,"vote_average":6.3,"vote_count":3446}],"known_for_department":"Acting","name":"Florence Pugh","popularity":34.37,"profile_path":"/75PvULemW8BvheSKtPMoBBsvPLh.jpg"},{"adult":false,"gender":2,"id":13240,"known_for":[{"adult":false,"backdrop_path":"/9RuC3UD6mNZ0p1J6RbfJDUkQ03i.jpg","genre_ids":[18,53,80],"id":1422,"media_type":"movie","original_language":"en","original_title":"The Departed","overview":"To take down South Boston's Irish Mafia, the police send in one of their own to infiltrate the underworld, not realizing the syndicate has done likewise. While an undercover cop curries favor with the mob kingpin, a career criminal rises through the police ranks. But both sides soon discover there's a mole among them.","poster_path":"/kWWAt2FMRbqLFFy8o5R4Zr8cMAb.jpg","release_date":"2006-10-05","title":"The Departed","video":false,"vote_average":8.2,"vote_count":11370},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9905},{"adult":false,"backdrop_path":"/alItugxBbjNC10ezLSisplhSKJ.jpg","genre_ids":[878,28,12],"id":91314,"media_type":"movie","original_language":"en","original_title":"Transformers: Age of Extinction","overview":"As humanity picks up the pieces, following the conclusion of \"Transformers: Dark of the Moon,\" Autobots and Decepticons have all but vanished from the face of the planet. However, a group of powerful, ingenious businessman and scientists attempt to learn from past Transformer incursions and push the boundaries of technology beyond what they can control - all while an ancient, powerful Transformer menace sets Earth in his cross-hairs.","poster_path":"/jyzrfx2WaeY60kYZpPYepSjGz4S.jpg","release_date":"2014-06-25","title":"Transformers: Age of Extinction","video":false,"vote_average":5.9,"vote_count":6226}],"known_for_department":"Acting","name":"Mark Wahlberg","popularity":33.914,"profile_path":"/bTEFpaWd7A6AZVWOqKKBWzKEUe8.jpg"},{"adult":false,"gender":2,"id":18918,"known_for":[{"adult":false,"backdrop_path":"/zJDMuXQDraHjtF53wikmyBQIcYe.jpg","genre_ids":[28,12,35,14],"id":353486,"media_type":"movie","original_language":"en","original_title":"Jumanji: Welcome to the Jungle","overview":"The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.","poster_path":"/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg","release_date":"2017-12-09","title":"Jumanji: Welcome to the Jungle","video":false,"vote_average":6.8,"vote_count":10854},{"adult":false,"backdrop_path":"/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg","genre_ids":[12,35,10751,16],"id":277834,"media_type":"movie","original_language":"en","original_title":"Moana","overview":"In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.","poster_path":"/4JeejGugONWpJkbnvL12hVoYEDa.jpg","release_date":"2016-11-23","title":"Moana","video":false,"vote_average":7.6,"vote_count":9662},{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8786}],"known_for_department":"Acting","name":"Dwayne Johnson","popularity":33.881,"profile_path":"/cgoy7t5Ve075naBPcewZrc08qGw.jpg"},{"adult":false,"gender":1,"id":2472427,"known_for":[{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[53],"id":673407,"media_type":"movie","original_language":"ko","original_title":"불량탐정: 먹이사슬","overview":"Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.","poster_path":"/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg","release_date":"2020-01-22","title":"Bad Detective: Food Chain","video":false,"vote_average":6,"vote_count":1},{"adult":false,"backdrop_path":"/4mFrNiawrfHz2W9yryFcsrahYxA.jpg","genre_ids":[10749],"id":658228,"media_type":"movie","original_language":"ko","original_title":"딸의 애인 3","overview":"Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.","poster_path":"/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg","release_date":"2019-12-05","title":"My Daughter's Lover 3","video":false,"vote_average":0,"vote_count":0}],"known_for_department":"Acting","name":"Tae Joo","popularity":33.302,"profile_path":"/nGpa3za6yxSciko2J8tY8gbsgyT.jpg"},{"adult":false,"gender":2,"id":5009,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8906},{"backdrop_path":"/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg","first_air_date":"2005-09-13","genre_ids":[18,9648,10765],"id":1622,"media_type":"tv","name":"Supernatural","origin_country":["US"],"original_language":"en","original_name":"Supernatural","overview":"When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ","poster_path":"/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg","vote_average":8.2,"vote_count":5269},{"backdrop_path":"/4o0keepwKfyYoziJOmRZS24Omqa.jpg","first_air_date":"2012-10-10","genre_ids":[80,18,9648,10759],"id":1412,"media_type":"tv","name":"Arrow","origin_country":["US"],"original_language":"en","original_name":"Arrow","overview":"Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.","poster_path":"/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg","vote_average":6.7,"vote_count":4642}],"known_for_department":"Acting","name":"Peter Benson","popularity":33.004,"profile_path":"/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg"},{"adult":false,"gender":1,"id":2374721,"known_for":[{"adult":false,"backdrop_path":"/h1BoDAepuEmEMC2qhjBONAYhre7.jpg","genre_ids":[10749],"id":698009,"media_type":"movie","original_language":"en","original_title":"어린 처제 3","overview":"Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...","poster_path":"/swEYylf53k2aGZHjv9PuIxalWQE.jpg","release_date":"2019-05-24","title":"Young Sister-in-law 3 - 2019","video":false,"vote_average":5,"vote_count":2},{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[10749],"id":699173,"media_type":"movie","original_language":"ko","original_title":"유부녀들: 남편 바꾸기","overview":"After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...","poster_path":"/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg","release_date":"2020-01-23","title":"Married Women: Husband Change","video":false,"vote_average":5,"vote_count":1}],"known_for_department":"Acting","name":"Han Seo-ah","popularity":33.002,"profile_path":"/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg"},{"adult":false,"gender":1,"id":1439922,"known_for":[{"backdrop_path":"/n5h1JNlTm3AdWoKZnGcZMgemt8S.jpg","first_air_date":"2018-12-14","genre_ids":[10759],"id":79026,"media_type":"tv","name":"The Protector","origin_country":["TR"],"original_language":"tr","original_name":"Hakan: Muhafız","overview":"The epic adventure of Hakan, a young shopkeeper whose modern world gets turned upside down when he learns he’s connected to a secret, ancient order, tasked with protecting Istanbul.","poster_path":"/xoN4wJRzeaWBfuQDYPngJgN6y9t.jpg","vote_average":7.5,"vote_count":278},{"adult":false,"genre_ids":[10749,35],"id":325134,"media_type":"movie","original_language":"tr","original_title":"Sevimli Tehlikeli","overview":"Directed by Özcan Deniz.","poster_path":"/u1Xg9OyQQqw8SOld06FSSXr2OFF.jpg","release_date":"2015-02-06","title":"Cute and Dangerous","video":false,"vote_average":6.6,"vote_count":22},{"backdrop_path":"/jtM45bTIareE0qNraP5tN13qAZb.jpg","first_air_date":"2013-03-29","genre_ids":[18],"id":50236,"media_type":"tv","name":"Black Rose","origin_country":["TR"],"original_language":"tr","original_name":"Karagül","overview":"A married women has to fight for the things she lost because of the revealed secrets of her husband.","poster_path":"/3MGWHmUR0ezgQS5FQbjydG2nfLC.jpg","vote_average":8.8,"vote_count":5}],"known_for_department":"Acting","name":"Ayça Ayşin Turan","popularity":32.897,"profile_path":"/nahCmyU5UzreRM5aWzSaC92sGHh.jpg"},{"adult":false,"gender":2,"id":10859,"known_for":[{"adult":false,"backdrop_path":"/en971MEXui9diirXlogOrPKmsEn.jpg","genre_ids":[28,12,35],"id":293660,"media_type":"movie","original_language":"en","original_title":"Deadpool","overview":"Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.","poster_path":"/3E53WEZJqP6aM84D8CckXx4pIHw.jpg","release_date":"2016-02-09","title":"Deadpool","video":false,"vote_average":7.6,"vote_count":25222},{"adult":false,"backdrop_path":"/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg","genre_ids":[28,35,12],"id":383498,"media_type":"movie","original_language":"en","original_title":"Deadpool 2","overview":"Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.","poster_path":"/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg","release_date":"2018-05-10","title":"Deadpool 2","video":false,"vote_average":7.5,"vote_count":13488},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9905}],"known_for_department":"Acting","name":"Ryan Reynolds","popularity":32.897,"profile_path":"/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg"},{"adult":false,"gender":1,"id":6161,"known_for":[{"adult":false,"backdrop_path":"/tTlAA0REGPXSZPBfWyTW9ipIv1I.jpg","genre_ids":[28,12,878,18],"id":315635,"media_type":"movie","original_language":"en","original_title":"Spider-Man: Homecoming","overview":"Following the events of Captain America: Civil War, Peter Parker, with the help of his mentor Tony Stark, tries to balance his life as an ordinary high school student in Queens, New York City, with fighting crime as his superhero alter ego Spider-Man as a new threat, the Vulture, emerges.","poster_path":"/c24sv2weTHPsmDa7jEMN0m2P3RT.jpg","release_date":"2017-07-05","title":"Spider-Man: Homecoming","video":false,"vote_average":7.4,"vote_count":16504},{"adult":false,"backdrop_path":"/vVBcIN68kFq681b4lObiNJhEVro.jpg","genre_ids":[18,10749],"id":453,"media_type":"movie","original_language":"en","original_title":"A Beautiful Mind","overview":"John Nash is a brilliant but asocial mathematician fighting schizophrenia. After he accepts secret work in cryptography, his life takes a turn for the nightmarish.","poster_path":"/zwzWCmH72OSC9NA0ipoqw5Zjya8.jpg","release_date":"2001-12-11","title":"A Beautiful Mind","video":false,"vote_average":7.8,"vote_count":7795},{"adult":false,"backdrop_path":"/c5g1Dn1tF22CS2oOvHDNKr1Ve2U.jpg","genre_ids":[80,18,53],"id":641,"media_type":"movie","original_language":"en","original_title":"Requiem for a Dream","overview":"The hopes and dreams of four ambitious people are shattered when their drug addictions begin spiraling out of control. A look into addiction and how it overcomes the mind and body.","poster_path":"/nOd6vjEmzCT0k4VYqsA2hwyi87C.jpg","release_date":"2000-10-06","title":"Requiem for a Dream","video":false,"vote_average":8,"vote_count":7370}],"known_for_department":"Acting","name":"Jennifer Connelly","popularity":31.787,"profile_path":"/p17ymzw1sb9eo2SOp88jnwyryan.jpg"},{"adult":false,"gender":1,"id":10431,"known_for":[{"adult":false,"backdrop_path":"/7gfDVfaw0VaIkUGiEH13o3TIC7A.jpg","genre_ids":[80,18,9648,37],"id":273248,"media_type":"movie","original_language":"en","original_title":"The Hateful Eight","overview":"Bounty hunters seek shelter from a raging blizzard and get caught up in a plot of betrayal and deception.","poster_path":"/k61oZC6IPUhgACGFwxNqdkbrf2M.jpg","release_date":"2015-12-25","title":"The Hateful Eight","video":false,"vote_average":7.7,"vote_count":11232},{"adult":false,"backdrop_path":"/gDbNf0JpmG46fFTHJIPdFga9RRg.jpg","genre_ids":[878,27],"id":300668,"media_type":"movie","original_language":"en","original_title":"Annihilation","overview":"A biologist signs up for a dangerous, secret expedition into a mysterious zone where the laws of nature don't apply.","poster_path":"/4YRplSk6BhH6PRuE9gfyw9byUJ6.jpg","release_date":"2018-02-22","title":"Annihilation","video":false,"vote_average":6.3,"vote_count":6602},{"adult":false,"backdrop_path":"/hi3lxLd93iKwCmVAfhMV9m1k2jr.jpg","genre_ids":[53,18],"id":4553,"media_type":"movie","original_language":"en","original_title":"The Machinist","overview":"The Machinist is the story of Trevor Reznik, a lathe-operator who is suffering from insomnia. In a machine shop, occupational hazards are bad enough under normal circumstances; yet for Trevor the risks are compounded by fatigue. Trevor has lost the ability to sleep. This is no ordinary insomnia...","poster_path":"/diAYqR4xdF9Hnj7qun6DEQhRrT2.jpg","release_date":"2004-02-09","title":"The Machinist","video":false,"vote_average":7.5,"vote_count":3863}],"known_for_department":"Acting","name":"Jennifer Jason Leigh","popularity":31.464,"profile_path":"/esyL4vTOy7nd4S2tCPcnkL8rmxP.jpg"},{"adult":false,"gender":1,"id":58369,"known_for":[{"backdrop_path":"/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg","first_air_date":"2010-10-31","genre_ids":[10759,18,10765],"id":1402,"media_type":"tv","name":"The Walking Dead","origin_country":["US"],"original_language":"en","original_name":"The Walking Dead","overview":"Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.","poster_path":"/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg","vote_average":8.1,"vote_count":11209},{"backdrop_path":"/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg","first_air_date":"2011-10-05","genre_ids":[18,9648,10765],"id":1413,"media_type":"tv","name":"American Horror Story","origin_country":["US"],"original_language":"en","original_name":"American Horror Story","overview":"An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.","poster_path":"/8NMACR0OE5bwC27rE15f8ManNBO.jpg","vote_average":8.1,"vote_count":3770},{"backdrop_path":"/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg","first_air_date":"1999-01-31","genre_ids":[16,35],"id":1434,"media_type":"tv","name":"Family Guy","origin_country":["US"],"original_language":"en","original_name":"Family Guy","overview":"Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.","poster_path":"/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg","vote_average":7,"vote_count":2865}],"known_for_department":"Acting","name":"Alexandra Breckenridge","popularity":30.033,"profile_path":"/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg"}],"total_pages":500,"total_results":10000} \ No newline at end of file +{ + "page": 1, + "results": [ + { + "adult": false, + "gender": 1, + "id": 1245, + "known_for": [ + { + "adult": false, + "backdrop_path": "/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg", + "genre_ids": [ + 878, + 28, + 12 + ], + "id": 24428, + "media_type": "movie", + "original_language": "en", + "original_title": "The Avengers", + "overview": "When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!", + "poster_path": "/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg", + "release_date": "2012-04-25", + "title": "The Avengers", + "video": false, + "vote_average": 7.7, + "vote_count": 25069 + }, + { + "adult": false, + "backdrop_path": "/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg", + "genre_ids": [ + 12, + 28, + 878 + ], + "id": 299536, + "media_type": "movie", + "original_language": "en", + "original_title": "Avengers: Infinity War", + "overview": "As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.", + "poster_path": "/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg", + "release_date": "2018-04-25", + "title": "Avengers: Infinity War", + "video": false, + "vote_average": 8.3, + "vote_count": 22297 + }, + { + "adult": false, + "backdrop_path": "/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg", + "genre_ids": [ + 12, + 878, + 28 + ], + "id": 299534, + "media_type": "movie", + "original_language": "en", + "original_title": "Avengers: Endgame", + "overview": "After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.", + "poster_path": "/or06FN3Dka5tukK1e9sl16pB3iy.jpg", + "release_date": "2019-04-24", + "title": "Avengers: Endgame", + "video": false, + "vote_average": 8.3, + "vote_count": 18682 + } + ], + "known_for_department": "Acting", + "name": "Scarlett Johansson", + "popularity": 58.249, + "profile_path": "/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 109513, + "known_for": [ + { + "adult": false, + "backdrop_path": "/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg", + "genre_ids": [ + 28, + 18, + 53 + ], + "id": 254128, + "media_type": "movie", + "original_language": "en", + "original_title": "San Andreas", + "overview": "In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.", + "poster_path": "/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg", + "release_date": "2015-05-27", + "title": "San Andreas", + "video": false, + "vote_average": 6.2, + "vote_count": 6690 + }, + { + "adult": false, + "backdrop_path": "/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg", + "genre_ids": [ + 35, + 28, + 80 + ], + "id": 339846, + "media_type": "movie", + "original_language": "en", + "original_title": "Baywatch", + "overview": "Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.", + "poster_path": "/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg", + "release_date": "2017-05-12", + "title": "Baywatch", + "video": false, + "vote_average": 6.1, + "vote_count": 6486 + }, + { + "adult": false, + "backdrop_path": "/sEyNWq9985lyUrwayWnvicT4FHA.jpg", + "genre_ids": [ + 12, + 14, + 10751 + ], + "id": 32657, + "media_type": "movie", + "original_language": "en", + "original_title": "Percy Jackson & the Olympians: The Lightning Thief", + "overview": "Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.", + "poster_path": "/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg", + "release_date": "2010-02-01", + "title": "Percy Jackson & the Olympians: The Lightning Thief", + "video": false, + "vote_average": 6.2, + "vote_count": 5845 + } + ], + "known_for_department": "Acting", + "name": "Alexandra Daddario", + "popularity": 53.167, + "profile_path": "/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg" + }, + { + "adult": false, + "gender": 2, + "id": 12835, + "known_for": [ + { + "adult": false, + "backdrop_path": "/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg", + "genre_ids": [ + 28, + 878, + 12 + ], + "id": 118340, + "media_type": "movie", + "original_language": "en", + "original_title": "Guardians of the Galaxy", + "overview": "Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.", + "poster_path": "/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg", + "release_date": "2014-07-30", + "title": "Guardians of the Galaxy", + "video": false, + "vote_average": 7.9, + "vote_count": 22817 + }, + { + "adult": false, + "backdrop_path": "/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg", + "genre_ids": [ + 12, + 28, + 878 + ], + "id": 299536, + "media_type": "movie", + "original_language": "en", + "original_title": "Avengers: Infinity War", + "overview": "As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.", + "poster_path": "/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg", + "release_date": "2018-04-25", + "title": "Avengers: Infinity War", + "video": false, + "vote_average": 8.3, + "vote_count": 22278 + }, + { + "adult": false, + "backdrop_path": "/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg", + "genre_ids": [ + 12, + 878, + 28 + ], + "id": 299534, + "media_type": "movie", + "original_language": "en", + "original_title": "Avengers: Endgame", + "overview": "After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.", + "poster_path": "/or06FN3Dka5tukK1e9sl16pB3iy.jpg", + "release_date": "2019-04-24", + "title": "Avengers: Endgame", + "video": false, + "vote_average": 8.3, + "vote_count": 18655 + } + ], + "known_for_department": "Acting", + "name": "Vin Diesel", + "popularity": 46.129, + "profile_path": "/7rwSXluNWZAluYMOEWBxkPmckES.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 3967, + "known_for": [ + { + "adult": false, + "backdrop_path": "/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg", + "genre_ids": [ + 35, + 18, + 14 + ], + "id": 9339, + "media_type": "movie", + "original_language": "en", + "original_title": "Click", + "overview": "A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.", + "poster_path": "/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg", + "release_date": "2006-06-23", + "title": "Click", + "video": false, + "vote_average": 6.2, + "vote_count": 5430 + }, + { + "adult": false, + "backdrop_path": "/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg", + "genre_ids": [ + 14, + 28, + 53 + ], + "id": 277, + "media_type": "movie", + "original_language": "en", + "original_title": "Underworld", + "overview": "Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.", + "poster_path": "/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg", + "release_date": "2003-09-19", + "title": "Underworld", + "video": false, + "vote_average": 6.8, + "vote_count": 4910 + }, + { + "adult": false, + "backdrop_path": "/zv1xOEQzebKyku349qDZ085FZlO.jpg", + "genre_ids": [ + 10752, + 36, + 10749, + 18 + ], + "id": 676, + "media_type": "movie", + "original_language": "en", + "original_title": "Pearl Harbor", + "overview": "The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.", + "poster_path": "/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg", + "release_date": "2001-05-21", + "title": "Pearl Harbor", + "video": false, + "vote_average": 6.9, + "vote_count": 4849 + } + ], + "known_for_department": "Acting", + "name": "Kate Beckinsale", + "popularity": 44.642, + "profile_path": "/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg" + }, + { + "adult": false, + "gender": 2, + "id": 91606, + "known_for": [ + { + "adult": false, + "backdrop_path": "/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg", + "genre_ids": [ + 878, + 28, + 12 + ], + "id": 24428, + "media_type": "movie", + "original_language": "en", + "original_title": "The Avengers", + "overview": "When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!", + "poster_path": "/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg", + "release_date": "2012-04-25", + "title": "The Avengers", + "video": false, + "vote_average": 7.7, + "vote_count": 25069 + }, + { + "adult": false, + "backdrop_path": "/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg", + "genre_ids": [ + 12, + 28, + 878 + ], + "id": 299536, + "media_type": "movie", + "original_language": "en", + "original_title": "Avengers: Infinity War", + "overview": "As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.", + "poster_path": "/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg", + "release_date": "2018-04-25", + "title": "Avengers: Infinity War", + "video": false, + "vote_average": 8.3, + "vote_count": 22297 + }, + { + "adult": false, + "backdrop_path": "/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg", + "genre_ids": [ + 12, + 878, + 28 + ], + "id": 299534, + "media_type": "movie", + "original_language": "en", + "original_title": "Avengers: Endgame", + "overview": "After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.", + "poster_path": "/or06FN3Dka5tukK1e9sl16pB3iy.jpg", + "release_date": "2019-04-24", + "title": "Avengers: Endgame", + "video": false, + "vote_average": 8.3, + "vote_count": 18682 + } + ], + "known_for_department": "Acting", + "name": "Tom Hiddleston", + "popularity": 42.089, + "profile_path": "/mclHxMm8aPlCPKptP67257F5GPo.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 1734, + "known_for": [ + { + "backdrop_path": "/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg", + "first_air_date": "2017-09-25", + "genre_ids": [ + 18 + ], + "id": 71712, + "media_type": "tv", + "name": "The Good Doctor", + "origin_country": [ + "US" + ], + "original_language": "en", + "original_name": "The Good Doctor", + "overview": "A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives", + "poster_path": "/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg", + "vote_average": 8.6, + "vote_count": 8906 + }, + { + "backdrop_path": "/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg", + "first_air_date": "2001-10-16", + "genre_ids": [ + 10765, + 10759, + 18 + ], + "id": 4604, + "media_type": "tv", + "name": "Smallville", + "origin_country": [ + "US" + ], + "original_language": "en", + "original_name": "Smallville", + "overview": "The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.", + "poster_path": "/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg", + "vote_average": 8.2, + "vote_count": 2591 + }, + { + "backdrop_path": "/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg", + "first_air_date": "1990-11-18", + "genre_ids": [ + 18, + 9648, + 10765 + ], + "id": 19614, + "media_type": "tv", + "name": "It", + "origin_country": [ + "US" + ], + "original_language": "en", + "original_name": "It", + "overview": "In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.", + "poster_path": "/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg", + "vote_average": 6.9, + "vote_count": 2273 + } + ], + "known_for_department": "Acting", + "name": "Annette O'Toole", + "popularity": 41.629, + "profile_path": "/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg" + }, + { + "adult": false, + "gender": 2, + "id": 1991255, + "known_for": [ + { + "backdrop_path": "/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg", + "first_air_date": "2017-03-25", + "genre_ids": [ + 18 + ], + "id": 76560, + "media_type": "tv", + "name": "Mrs. Fazilet and Her Daughters", + "origin_country": [ + "TR" + ], + "original_language": "tr", + "original_name": "Fazilet Hanım ve Kızları", + "overview": "The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.", + "poster_path": "/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg", + "vote_average": 9.4, + "vote_count": 5 + }, + { + "backdrop_path": "/lDbRMHVAGdkySaabD7KyyEbouoG.jpg", + "first_air_date": "2018-07-22", + "genre_ids": [ + 18 + ], + "id": 80229, + "media_type": "tv", + "name": "Never Let My Hand Go", + "origin_country": [ + "TR" + ], + "original_language": "tr", + "original_name": "Elimi Bırakma", + "overview": "The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.", + "poster_path": "/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg", + "vote_average": 10, + "vote_count": 4 + }, + { + "backdrop_path": "/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg", + "first_air_date": "2021-06-15", + "genre_ids": [ + 10766, + 18, + 35 + ], + "id": 126255, + "media_type": "tv", + "name": "Bir Ada Masali", + "origin_country": [ + "TR" + ], + "original_language": "tr", + "original_name": "Ada Masalı", + "overview": "", + "poster_path": "/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg", + "vote_average": 10, + "vote_count": 1 + } + ], + "known_for_department": "Acting", + "name": "Alp Navruz", + "popularity": 41.008, + "profile_path": "/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 5081, + "known_for": [ + { + "adult": false, + "backdrop_path": "/auZIuHEUec5tBTns3tCRXfayxZq.jpg", + "genre_ids": [ + 28, + 878 + ], + "id": 137113, + "media_type": "movie", + "original_language": "en", + "original_title": "Edge of Tomorrow", + "overview": "Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.", + "poster_path": "/uUHvlkLavotfGsNtosDy8ShsIYF.jpg", + "release_date": "2014-05-27", + "title": "Edge of Tomorrow", + "video": false, + "vote_average": 7.6, + "vote_count": 10803 + }, + { + "adult": false, + "backdrop_path": "/roYyPiQDQKmIKUEhO912693tSja.jpg", + "genre_ids": [ + 27, + 18, + 878 + ], + "id": 447332, + "media_type": "movie", + "original_language": "en", + "original_title": "A Quiet Place", + "overview": "A family is forced to live in silence while hiding from creatures that hunt by sound.", + "poster_path": "/nAU74GmpUk7t5iklEp3bufwDq4n.jpg", + "release_date": "2018-04-03", + "title": "A Quiet Place", + "video": false, + "vote_average": 7.4, + "vote_count": 10428 + }, + { + "adult": false, + "backdrop_path": "/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg", + "genre_ids": [ + 35, + 18, + 10749 + ], + "id": 350, + "media_type": "movie", + "original_language": "en", + "original_title": "The Devil Wears Prada", + "overview": "Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.", + "poster_path": "/8912AsVuS7Sj915apArUFbv6F9L.jpg", + "release_date": "2006-06-30", + "title": "The Devil Wears Prada", + "video": false, + "vote_average": 7.4, + "vote_count": 9379 + } + ], + "known_for_department": "Acting", + "name": "Emily Blunt", + "popularity": 37.177, + "profile_path": "/nPJXaRMvu1vh3COG16GzmdsBySQ.jpg" + }, + { + "adult": false, + "gender": 2, + "id": 976, + "known_for": [ + { + "adult": false, + "backdrop_path": "/mRfI3y2oAd7ejur2di09xC9niqp.jpg", + "genre_ids": [ + 28, + 53, + 80 + ], + "id": 82992, + "media_type": "movie", + "original_language": "en", + "original_title": "Fast & Furious 6", + "overview": "Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.", + "poster_path": "/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg", + "release_date": "2013-05-21", + "title": "Fast & Furious 6", + "video": false, + "vote_average": 6.8, + "vote_count": 8777 + }, + { + "adult": false, + "backdrop_path": "/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg", + "genre_ids": [ + 28, + 53, + 80, + 18 + ], + "id": 168259, + "media_type": "movie", + "original_language": "en", + "original_title": "Furious 7", + "overview": "Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.", + "poster_path": "/wurKlC3VKUgcfsn0K51MJYEleS2.jpg", + "release_date": "2015-04-01", + "title": "Furious 7", + "video": false, + "vote_average": 7.3, + "vote_count": 8534 + }, + { + "adult": false, + "backdrop_path": "/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg", + "genre_ids": [ + 28, + 80, + 53 + ], + "id": 337339, + "media_type": "movie", + "original_language": "en", + "original_title": "The Fate of the Furious", + "overview": "When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.", + "poster_path": "/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg", + "release_date": "2017-04-12", + "title": "The Fate of the Furious", + "video": false, + "vote_average": 6.9, + "vote_count": 8382 + } + ], + "known_for_department": "Acting", + "name": "Jason Statham", + "popularity": 34.531, + "profile_path": "/lldeQ91GwIVff43JBrpdbAAeYWj.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 1373737, + "known_for": [ + { + "adult": false, + "backdrop_path": "/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg", + "genre_ids": [ + 18, + 10749 + ], + "id": 331482, + "media_type": "movie", + "original_language": "en", + "original_title": "Little Women", + "overview": "Four sisters come of age in America in the aftermath of the Civil War.", + "poster_path": "/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg", + "release_date": "2019-12-25", + "title": "Little Women", + "video": false, + "vote_average": 7.9, + "vote_count": 3929 + }, + { + "adult": false, + "backdrop_path": "/g6GtOfXtzDpY73ef7wludoorTti.jpg", + "genre_ids": [ + 27, + 18, + 9648 + ], + "id": 530385, + "media_type": "movie", + "original_language": "en", + "original_title": "Midsommar", + "overview": "Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.", + "poster_path": "/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg", + "release_date": "2019-07-03", + "title": "Midsommar", + "video": false, + "vote_average": 7.1, + "vote_count": 3899 + }, + { + "adult": false, + "backdrop_path": "/clmYuR1t4TtKcakIOvYIPrjyxDc.jpg", + "genre_ids": [ + 28, + 53 + ], + "id": 399035, + "media_type": "movie", + "original_language": "en", + "original_title": "The Commuter", + "overview": "A businessman, on his daily commute home, gets unwittingly caught up in a criminal conspiracy that threatens not only his life but the lives of those around him.", + "poster_path": "/rDeGK6FIUfVcXmuBdEORPAGPMNg.jpg", + "release_date": "2018-01-11", + "title": "The Commuter", + "video": false, + "vote_average": 6.3, + "vote_count": 3446 + } + ], + "known_for_department": "Acting", + "name": "Florence Pugh", + "popularity": 34.37, + "profile_path": "/75PvULemW8BvheSKtPMoBBsvPLh.jpg" + }, + { + "adult": false, + "gender": 2, + "id": 13240, + "known_for": [ + { + "adult": false, + "backdrop_path": "/9RuC3UD6mNZ0p1J6RbfJDUkQ03i.jpg", + "genre_ids": [ + 18, + 53, + 80 + ], + "id": 1422, + "media_type": "movie", + "original_language": "en", + "original_title": "The Departed", + "overview": "To take down South Boston's Irish Mafia, the police send in one of their own to infiltrate the underworld, not realizing the syndicate has done likewise. While an undercover cop curries favor with the mob kingpin, a career criminal rises through the police ranks. But both sides soon discover there's a mole among them.", + "poster_path": "/kWWAt2FMRbqLFFy8o5R4Zr8cMAb.jpg", + "release_date": "2006-10-05", + "title": "The Departed", + "video": false, + "vote_average": 8.2, + "vote_count": 11370 + }, + { + "adult": false, + "backdrop_path": "/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg", + "genre_ids": [ + 35, + 14 + ], + "id": 72105, + "media_type": "movie", + "original_language": "en", + "original_title": "Ted", + "overview": "John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.", + "poster_path": "/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg", + "release_date": "2012-06-29", + "title": "Ted", + "video": false, + "vote_average": 6.4, + "vote_count": 9905 + }, + { + "adult": false, + "backdrop_path": "/alItugxBbjNC10ezLSisplhSKJ.jpg", + "genre_ids": [ + 878, + 28, + 12 + ], + "id": 91314, + "media_type": "movie", + "original_language": "en", + "original_title": "Transformers: Age of Extinction", + "overview": "As humanity picks up the pieces, following the conclusion of \"Transformers: Dark of the Moon,\" Autobots and Decepticons have all but vanished from the face of the planet. However, a group of powerful, ingenious businessman and scientists attempt to learn from past Transformer incursions and push the boundaries of technology beyond what they can control - all while an ancient, powerful Transformer menace sets Earth in his cross-hairs.", + "poster_path": "/jyzrfx2WaeY60kYZpPYepSjGz4S.jpg", + "release_date": "2014-06-25", + "title": "Transformers: Age of Extinction", + "video": false, + "vote_average": 5.9, + "vote_count": 6226 + } + ], + "known_for_department": "Acting", + "name": "Mark Wahlberg", + "popularity": 33.914, + "profile_path": "/bTEFpaWd7A6AZVWOqKKBWzKEUe8.jpg" + }, + { + "adult": false, + "gender": 2, + "id": 18918, + "known_for": [ + { + "adult": false, + "backdrop_path": "/zJDMuXQDraHjtF53wikmyBQIcYe.jpg", + "genre_ids": [ + 28, + 12, + 35, + 14 + ], + "id": 353486, + "media_type": "movie", + "original_language": "en", + "original_title": "Jumanji: Welcome to the Jungle", + "overview": "The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.", + "poster_path": "/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg", + "release_date": "2017-12-09", + "title": "Jumanji: Welcome to the Jungle", + "video": false, + "vote_average": 6.8, + "vote_count": 10854 + }, + { + "adult": false, + "backdrop_path": "/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg", + "genre_ids": [ + 12, + 35, + 10751, + 16 + ], + "id": 277834, + "media_type": "movie", + "original_language": "en", + "original_title": "Moana", + "overview": "In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.", + "poster_path": "/4JeejGugONWpJkbnvL12hVoYEDa.jpg", + "release_date": "2016-11-23", + "title": "Moana", + "video": false, + "vote_average": 7.6, + "vote_count": 9662 + }, + { + "adult": false, + "backdrop_path": "/mRfI3y2oAd7ejur2di09xC9niqp.jpg", + "genre_ids": [ + 28, + 53, + 80 + ], + "id": 82992, + "media_type": "movie", + "original_language": "en", + "original_title": "Fast & Furious 6", + "overview": "Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.", + "poster_path": "/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg", + "release_date": "2013-05-21", + "title": "Fast & Furious 6", + "video": false, + "vote_average": 6.8, + "vote_count": 8786 + } + ], + "known_for_department": "Acting", + "name": "Dwayne Johnson", + "popularity": 33.881, + "profile_path": "/cgoy7t5Ve075naBPcewZrc08qGw.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 2472427, + "known_for": [ + { + "adult": false, + "backdrop_path": "/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg", + "genre_ids": [ + 10749 + ], + "id": 656273, + "media_type": "movie", + "original_language": "ko", + "original_title": "막내 형수 2", + "overview": "Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.", + "poster_path": "/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg", + "release_date": "2019-11-27", + "title": "Youngest Sister-in-law 2", + "video": false, + "vote_average": 6, + "vote_count": 1 + }, + { + "adult": false, + "genre_ids": [ + 53 + ], + "id": 673407, + "media_type": "movie", + "original_language": "ko", + "original_title": "불량탐정: 먹이사슬", + "overview": "Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.", + "poster_path": "/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg", + "release_date": "2020-01-22", + "title": "Bad Detective: Food Chain", + "video": false, + "vote_average": 6, + "vote_count": 1 + }, + { + "adult": false, + "backdrop_path": "/4mFrNiawrfHz2W9yryFcsrahYxA.jpg", + "genre_ids": [ + 10749 + ], + "id": 658228, + "media_type": "movie", + "original_language": "ko", + "original_title": "딸의 애인 3", + "overview": "Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.", + "poster_path": "/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg", + "release_date": "2019-12-05", + "title": "My Daughter's Lover 3", + "video": false, + "vote_average": 0, + "vote_count": 0 + } + ], + "known_for_department": "Acting", + "name": "Tae Joo", + "popularity": 33.302, + "profile_path": "/nGpa3za6yxSciko2J8tY8gbsgyT.jpg" + }, + { + "adult": false, + "gender": 2, + "id": 5009, + "known_for": [ + { + "backdrop_path": "/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg", + "first_air_date": "2017-09-25", + "genre_ids": [ + 18 + ], + "id": 71712, + "media_type": "tv", + "name": "The Good Doctor", + "origin_country": [ + "US" + ], + "original_language": "en", + "original_name": "The Good Doctor", + "overview": "A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives", + "poster_path": "/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg", + "vote_average": 8.6, + "vote_count": 8906 + }, + { + "backdrop_path": "/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg", + "first_air_date": "2005-09-13", + "genre_ids": [ + 18, + 9648, + 10765 + ], + "id": 1622, + "media_type": "tv", + "name": "Supernatural", + "origin_country": [ + "US" + ], + "original_language": "en", + "original_name": "Supernatural", + "overview": "When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ", + "poster_path": "/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg", + "vote_average": 8.2, + "vote_count": 5269 + }, + { + "backdrop_path": "/4o0keepwKfyYoziJOmRZS24Omqa.jpg", + "first_air_date": "2012-10-10", + "genre_ids": [ + 80, + 18, + 9648, + 10759 + ], + "id": 1412, + "media_type": "tv", + "name": "Arrow", + "origin_country": [ + "US" + ], + "original_language": "en", + "original_name": "Arrow", + "overview": "Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.", + "poster_path": "/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg", + "vote_average": 6.7, + "vote_count": 4642 + } + ], + "known_for_department": "Acting", + "name": "Peter Benson", + "popularity": 33.004, + "profile_path": "/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 2374721, + "known_for": [ + { + "adult": false, + "backdrop_path": "/h1BoDAepuEmEMC2qhjBONAYhre7.jpg", + "genre_ids": [ + 10749 + ], + "id": 698009, + "media_type": "movie", + "original_language": "en", + "original_title": "어린 처제 3", + "overview": "Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...", + "poster_path": "/swEYylf53k2aGZHjv9PuIxalWQE.jpg", + "release_date": "2019-05-24", + "title": "Young Sister-in-law 3 - 2019", + "video": false, + "vote_average": 5, + "vote_count": 2 + }, + { + "adult": false, + "backdrop_path": "/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg", + "genre_ids": [ + 10749 + ], + "id": 656273, + "media_type": "movie", + "original_language": "ko", + "original_title": "막내 형수 2", + "overview": "Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.", + "poster_path": "/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg", + "release_date": "2019-11-27", + "title": "Youngest Sister-in-law 2", + "video": false, + "vote_average": 6, + "vote_count": 1 + }, + { + "adult": false, + "genre_ids": [ + 10749 + ], + "id": 699173, + "media_type": "movie", + "original_language": "ko", + "original_title": "유부녀들: 남편 바꾸기", + "overview": "After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...", + "poster_path": "/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg", + "release_date": "2020-01-23", + "title": "Married Women: Husband Change", + "video": false, + "vote_average": 5, + "vote_count": 1 + } + ], + "known_for_department": "Acting", + "name": "Han Seo-ah", + "popularity": 33.002, + "profile_path": "/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 1439922, + "known_for": [ + { + "backdrop_path": "/n5h1JNlTm3AdWoKZnGcZMgemt8S.jpg", + "first_air_date": "2018-12-14", + "genre_ids": [ + 10759 + ], + "id": 79026, + "media_type": "tv", + "name": "The Protector", + "origin_country": [ + "TR" + ], + "original_language": "tr", + "original_name": "Hakan: Muhafız", + "overview": "The epic adventure of Hakan, a young shopkeeper whose modern world gets turned upside down when he learns he’s connected to a secret, ancient order, tasked with protecting Istanbul.", + "poster_path": "/xoN4wJRzeaWBfuQDYPngJgN6y9t.jpg", + "vote_average": 7.5, + "vote_count": 278 + }, + { + "adult": false, + "genre_ids": [ + 10749, + 35 + ], + "id": 325134, + "media_type": "movie", + "original_language": "tr", + "original_title": "Sevimli Tehlikeli", + "overview": "Directed by Özcan Deniz.", + "poster_path": "/u1Xg9OyQQqw8SOld06FSSXr2OFF.jpg", + "release_date": "2015-02-06", + "title": "Cute and Dangerous", + "video": false, + "vote_average": 6.6, + "vote_count": 22 + }, + { + "backdrop_path": "/jtM45bTIareE0qNraP5tN13qAZb.jpg", + "first_air_date": "2013-03-29", + "genre_ids": [ + 18 + ], + "id": 50236, + "media_type": "tv", + "name": "Black Rose", + "origin_country": [ + "TR" + ], + "original_language": "tr", + "original_name": "Karagül", + "overview": "A married women has to fight for the things she lost because of the revealed secrets of her husband.", + "poster_path": "/3MGWHmUR0ezgQS5FQbjydG2nfLC.jpg", + "vote_average": 8.8, + "vote_count": 5 + } + ], + "known_for_department": "Acting", + "name": "Ayça Ayşin Turan", + "popularity": 32.897, + "profile_path": "/nahCmyU5UzreRM5aWzSaC92sGHh.jpg" + }, + { + "adult": false, + "gender": 2, + "id": 10859, + "known_for": [ + { + "adult": false, + "backdrop_path": "/en971MEXui9diirXlogOrPKmsEn.jpg", + "genre_ids": [ + 28, + 12, + 35 + ], + "id": 293660, + "media_type": "movie", + "original_language": "en", + "original_title": "Deadpool", + "overview": "Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.", + "poster_path": "/3E53WEZJqP6aM84D8CckXx4pIHw.jpg", + "release_date": "2016-02-09", + "title": "Deadpool", + "video": false, + "vote_average": 7.6, + "vote_count": 25222 + }, + { + "adult": false, + "backdrop_path": "/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg", + "genre_ids": [ + 28, + 35, + 12 + ], + "id": 383498, + "media_type": "movie", + "original_language": "en", + "original_title": "Deadpool 2", + "overview": "Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.", + "poster_path": "/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg", + "release_date": "2018-05-10", + "title": "Deadpool 2", + "video": false, + "vote_average": 7.5, + "vote_count": 13488 + }, + { + "adult": false, + "backdrop_path": "/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg", + "genre_ids": [ + 35, + 14 + ], + "id": 72105, + "media_type": "movie", + "original_language": "en", + "original_title": "Ted", + "overview": "John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.", + "poster_path": "/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg", + "release_date": "2012-06-29", + "title": "Ted", + "video": false, + "vote_average": 6.4, + "vote_count": 9905 + } + ], + "known_for_department": "Acting", + "name": "Ryan Reynolds", + "popularity": 32.897, + "profile_path": "/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 6161, + "known_for": [ + { + "adult": false, + "backdrop_path": "/tTlAA0REGPXSZPBfWyTW9ipIv1I.jpg", + "genre_ids": [ + 28, + 12, + 878, + 18 + ], + "id": 315635, + "media_type": "movie", + "original_language": "en", + "original_title": "Spider-Man: Homecoming", + "overview": "Following the events of Captain America: Civil War, Peter Parker, with the help of his mentor Tony Stark, tries to balance his life as an ordinary high school student in Queens, New York City, with fighting crime as his superhero alter ego Spider-Man as a new threat, the Vulture, emerges.", + "poster_path": "/c24sv2weTHPsmDa7jEMN0m2P3RT.jpg", + "release_date": "2017-07-05", + "title": "Spider-Man: Homecoming", + "video": false, + "vote_average": 7.4, + "vote_count": 16504 + }, + { + "adult": false, + "backdrop_path": "/vVBcIN68kFq681b4lObiNJhEVro.jpg", + "genre_ids": [ + 18, + 10749 + ], + "id": 453, + "media_type": "movie", + "original_language": "en", + "original_title": "A Beautiful Mind", + "overview": "John Nash is a brilliant but asocial mathematician fighting schizophrenia. After he accepts secret work in cryptography, his life takes a turn for the nightmarish.", + "poster_path": "/zwzWCmH72OSC9NA0ipoqw5Zjya8.jpg", + "release_date": "2001-12-11", + "title": "A Beautiful Mind", + "video": false, + "vote_average": 7.8, + "vote_count": 7795 + }, + { + "adult": false, + "backdrop_path": "/c5g1Dn1tF22CS2oOvHDNKr1Ve2U.jpg", + "genre_ids": [ + 80, + 18, + 53 + ], + "id": 641, + "media_type": "movie", + "original_language": "en", + "original_title": "Requiem for a Dream", + "overview": "The hopes and dreams of four ambitious people are shattered when their drug addictions begin spiraling out of control. A look into addiction and how it overcomes the mind and body.", + "poster_path": "/nOd6vjEmzCT0k4VYqsA2hwyi87C.jpg", + "release_date": "2000-10-06", + "title": "Requiem for a Dream", + "video": false, + "vote_average": 8, + "vote_count": 7370 + } + ], + "known_for_department": "Acting", + "name": "Jennifer Connelly", + "popularity": 31.787, + "profile_path": "/p17ymzw1sb9eo2SOp88jnwyryan.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 10431, + "known_for": [ + { + "adult": false, + "backdrop_path": "/7gfDVfaw0VaIkUGiEH13o3TIC7A.jpg", + "genre_ids": [ + 80, + 18, + 9648, + 37 + ], + "id": 273248, + "media_type": "movie", + "original_language": "en", + "original_title": "The Hateful Eight", + "overview": "Bounty hunters seek shelter from a raging blizzard and get caught up in a plot of betrayal and deception.", + "poster_path": "/k61oZC6IPUhgACGFwxNqdkbrf2M.jpg", + "release_date": "2015-12-25", + "title": "The Hateful Eight", + "video": false, + "vote_average": 7.7, + "vote_count": 11232 + }, + { + "adult": false, + "backdrop_path": "/gDbNf0JpmG46fFTHJIPdFga9RRg.jpg", + "genre_ids": [ + 878, + 27 + ], + "id": 300668, + "media_type": "movie", + "original_language": "en", + "original_title": "Annihilation", + "overview": "A biologist signs up for a dangerous, secret expedition into a mysterious zone where the laws of nature don't apply.", + "poster_path": "/4YRplSk6BhH6PRuE9gfyw9byUJ6.jpg", + "release_date": "2018-02-22", + "title": "Annihilation", + "video": false, + "vote_average": 6.3, + "vote_count": 6602 + }, + { + "adult": false, + "backdrop_path": "/hi3lxLd93iKwCmVAfhMV9m1k2jr.jpg", + "genre_ids": [ + 53, + 18 + ], + "id": 4553, + "media_type": "movie", + "original_language": "en", + "original_title": "The Machinist", + "overview": "The Machinist is the story of Trevor Reznik, a lathe-operator who is suffering from insomnia. In a machine shop, occupational hazards are bad enough under normal circumstances; yet for Trevor the risks are compounded by fatigue. Trevor has lost the ability to sleep. This is no ordinary insomnia...", + "poster_path": "/diAYqR4xdF9Hnj7qun6DEQhRrT2.jpg", + "release_date": "2004-02-09", + "title": "The Machinist", + "video": false, + "vote_average": 7.5, + "vote_count": 3863 + } + ], + "known_for_department": "Acting", + "name": "Jennifer Jason Leigh", + "popularity": 31.464, + "profile_path": "/esyL4vTOy7nd4S2tCPcnkL8rmxP.jpg" + }, + { + "adult": false, + "gender": 1, + "id": 58369, + "known_for": [ + { + "backdrop_path": "/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg", + "first_air_date": "2010-10-31", + "genre_ids": [ + 10759, + 18, + 10765 + ], + "id": 1402, + "media_type": "tv", + "name": "The Walking Dead", + "origin_country": [ + "US" + ], + "original_language": "en", + "original_name": "The Walking Dead", + "overview": "Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.", + "poster_path": "/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg", + "vote_average": 8.1, + "vote_count": 11209 + }, + { + "backdrop_path": "/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg", + "first_air_date": "2011-10-05", + "genre_ids": [ + 18, + 9648, + 10765 + ], + "id": 1413, + "media_type": "tv", + "name": "American Horror Story", + "origin_country": [ + "US" + ], + "original_language": "en", + "original_name": "American Horror Story", + "overview": "An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.", + "poster_path": "/8NMACR0OE5bwC27rE15f8ManNBO.jpg", + "vote_average": 8.1, + "vote_count": 3770 + }, + { + "backdrop_path": "/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg", + "first_air_date": "1999-01-31", + "genre_ids": [ + 16, + 35 + ], + "id": 1434, + "media_type": "tv", + "name": "Family Guy", + "origin_country": [ + "US" + ], + "original_language": "en", + "original_name": "Family Guy", + "overview": "Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.", + "poster_path": "/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg", + "vote_average": 7, + "vote_count": 2865 + } + ], + "known_for_department": "Acting", + "name": "Alexandra Breckenridge", + "popularity": 30.033, + "profile_path": "/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg" + } + ], + "total_pages": 500, + "total_results": 10000 +} \ No newline at end of file From 5494939bf49755a52883a5cb76e02895f2830a1a Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Fri, 30 Jul 2021 17:21:43 +0200 Subject: [PATCH 17/36] fix: JSON toString fixed --- src/utils/getMethods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index baffc50..2040733 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -47,7 +47,7 @@ function JsonPersonByPage(page = 1) { if (fs.existsSync(path)) { fs.readFile(path, 'utf-8', (err, data) => { - const user = JSON.parse(data.toString()); + const user = JSON.parse(data.toString(),null, 4); chalkPeople(user, spinner); }); From 434da613740fd4638f3a7c22b7e54437339d026e Mon Sep 17 00:00:00 2001 From: imalovelyghost Date: Fri, 30 Jul 2021 17:38:54 +0200 Subject: [PATCH 18/36] feat get-popular-movies done --- src/moviedb.js | 7 +------ src/utils/chalks.js | 13 +++++++++++-- src/utils/entities/Movie.js | 12 ------------ src/utils/getMethods.js | 33 ++++++++++----------------------- 4 files changed, 22 insertions(+), 43 deletions(-) diff --git a/src/moviedb.js b/src/moviedb.js index ccaad2f..8534cda 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -26,8 +26,6 @@ program if (option.id) get.PersonById(option.id); }); -//./moviedb.js get-movies --popular --page 2 -//./moviedb.js get-movies --now-playing --page 2 program .command("get-movies") .description("Make a network request to fetch movies") @@ -35,10 +33,7 @@ program .option("-p, --popular", "Fetch the popular movies") .option("-n, --now-playing", "Fetch the movies that are playing now") .action(function handleAction(opt) { - // if (opt.page && opt.popular && opt.nowPlaying) get.MoviesByPage(opt.page); - // if ((opt.page && opt.popular) || opt.nowPlaying) get.MoviesByPage(opt.page); - //get.MoviesByPage(opt.page, opt.nowPlaying); - console.log(opt.nowPlaying); // if nP is true, ... + get.MoviesByPage(opt.page, opt.nowPlaying); }); program diff --git a/src/utils/chalks.js b/src/utils/chalks.js index 7291175..49bda79 100644 --- a/src/utils/chalks.js +++ b/src/utils/chalks.js @@ -30,6 +30,7 @@ function chalkPeople(page, spinner) { }); spinner.succeed("Popular Persons data loaded"); + log("\n"); }, 1000); } catch (error) { @@ -51,7 +52,12 @@ function chalkPersonId(person, spinner) { } } -function chalkMovie(page, spinner) { +/** + * Render Movie in command line + * @param page : Response object of type movie + * @param spinner : a Spinner to render + */ +function chalkMovie(page, spinner, nowPlaying) { try { setTimeout(() => { page.results.forEach((movie, index, array) => { @@ -68,7 +74,10 @@ function chalkMovie(page, spinner) { log(chalk.white("----------------------")); }); - spinner.succeed("Popular Movie data loaded"); + if (nowPlaying) spinner.succeed("Movies playing now data loaded"); + else { + spinner.succeed("Popular Movies data loaded"); + } log("\n"); }, 1000); } catch (error) { diff --git a/src/utils/entities/Movie.js b/src/utils/entities/Movie.js index 1f4081a..7690cf2 100644 --- a/src/utils/entities/Movie.js +++ b/src/utils/entities/Movie.js @@ -17,18 +17,6 @@ class Movie { log(`Title: ${chalk.blue.bold(this.title)}`); log(`Release Date: ${chalk.white.bold(this.release_date)}`); - // this.known_for.forEach((movie) => { - // if (movie.title !== "undefined") { - // log("\n"); - // log(`\tMovie:`); - // log(`\tRelease date: ${chalk.white(movie.release_date)}`); - // log(`\tTitle: ${chalk.white(movie.title)}`); - // log("\n"); - // } else { - // log(`\t${chalk.white(this.name)} doesn’t appear in any movie\n:`); - // } - // }); - log("\n"); } } diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index beb9419..bd0d4e6 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -31,40 +31,27 @@ function PersonsByPage(page = 1) { /** * Movies functions - Movies Pagination - */ -//https://api.themoviedb.org/3/movie/popular?page=1&api_key=b103cea4e07be4e6b9e24670e40350a5 -function MoviesByPage(page = 1) { - const options = { - ...httpConstants, - path: `/3/movie/popular?page=${page}&api_key=${process.env.API_KEY}`, - }; - - const spinner = ora("Loading popular movie").start(); - - const req = https.request(options, (res) => { - let body = ""; - - res.on("data", (chunk) => (body += chunk)); - res.on("end", () => chalkMovie(JSON.parse(body), spinner)); - }); + * @param page: number of page to render + * @param nowPlaying: bool, manage change of path + * */ +function MoviesByPage(page = 1, nowPlaying) { + let path = `/3/movie/popular?page=${page}&api_key=${process.env.API_KEY}`; - req.on("error", (e) => spinner.fail(e.message)); - req.end(); -} + if (nowPlaying) { + path = `/3/movie/now_playing?page=${page}&api_key=${process.env.API_KEY}`; + } -function MoviesByPage(page = 1) { const options = { ...httpConstants, - path: `/3/movie/popular?page=${page}&api_key=${process.env.API_KEY}`, + path: path, }; - const spinner = ora("Loading popular movie").start(); const req = https.request(options, (res) => { let body = ""; res.on("data", (chunk) => (body += chunk)); - res.on("end", () => chalkMovie(JSON.parse(body), spinner)); + res.on("end", () => chalkMovie(JSON.parse(body), spinner, nowPlaying)); }); req.on("error", (e) => spinner.fail(e.message)); From ad3a6b8bb1e65a59376ba77e7599f9260da24ab6 Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Mon, 2 Aug 2021 11:38:58 +0200 Subject: [PATCH 19/36] feat: added funcionality for movies flags save and local --- src/moviedb.js | 6 +- src/utils/fileReader.js | 17 +- src/utils/getMethods.js | 40 +- src/utils/json/movies.json | 1 - src/utils/json/persons.json | 1411 -------------------------------- src/utils/movies/movies.json | 1 + src/utils/persons/persons.json | 1 + 7 files changed, 55 insertions(+), 1422 deletions(-) delete mode 100644 src/utils/json/movies.json delete mode 100644 src/utils/json/persons.json create mode 100644 src/utils/movies/movies.json create mode 100644 src/utils/persons/persons.json diff --git a/src/moviedb.js b/src/moviedb.js index 68c898e..7afda98 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -36,8 +36,12 @@ program .requiredOption("--page ", "The page of movies data results to fetch") .option("-p, --popular", "Fetch the popular movies") .option("-n, --now-playing", "Fetch the movies that are playing now") + .option("-s, --save", "The page of data to JSON file") + .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { - get.MoviesByPage(opt.page, opt.nowPlaying); + if (opt.page) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); + if (opt.save) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); + if (opt.local) get.JsonMoviesByPage(opt.page, opt.nowPlaying); }); program diff --git a/src/utils/fileReader.js b/src/utils/fileReader.js index a90def1..be156e2 100644 --- a/src/utils/fileReader.js +++ b/src/utils/fileReader.js @@ -1,7 +1,20 @@ const fs = require('fs'); function savePeople(page) { - fs.writeFileSync('./src/utils/json/persons.json', JSON.stringify(page) , 'utf-8'); + const dir = './src/utils/persons'; + if (!fs.existsSync(dir)) { + fs.mkdirSync(dir, {recursive: true}); + } + fs.writeFileSync('./src/utils/persons/persons.json', JSON.stringify(page) , 'utf-8'); + +} + +function saveMovies(page, flag) { + const dir = './src/utils/movies'; + if (!fs.existsSync(dir)) { + fs.mkdirSync(dir, {recursive: true}); + } + fs.writeFileSync('./src/utils/movies/movies.json', JSON.stringify(page) , 'utf-8'); } -module.exports = { savePeople }; \ No newline at end of file +module.exports = { savePeople, saveMovies }; \ No newline at end of file diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 64b2ffd..41b89ad 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -45,7 +45,7 @@ function PersonsByPage(page = 1, option) { * @param page: number of page to render * @param nowPlaying: bool, manage change of path * */ -function MoviesByPage(page = 1, nowPlaying) { +function MoviesByPage(page = 1, nowPlaying, option) { let path = `/3/movie/popular?page=${page}&api_key=${process.env.API_KEY}`; if (nowPlaying) { @@ -56,13 +56,22 @@ function MoviesByPage(page = 1, nowPlaying) { ...httpConstants, path: path, }; - const spinner = ora("Loading popular movie").start(); + const spinner = ora("Loading popular movies").start(); const req = https.request(options, (res) => { let body = ""; res.on("data", (chunk) => (body += chunk)); - res.on("end", () => chalkMovie(JSON.parse(body), spinner, nowPlaying)); + res.on("end", () => { + if (option) { + //console.log("JSON"); + file.saveMovies(JSON.parse(body), nowPlaying); + spinner.succeed("Now playing movies data loaded"); + } else { + //console.log("REQUEST"); + chalkMovie(JSON.parse(body), spinner, nowPlaying) + } + }); }); req.on("error", (e) => spinner.fail(e.message)); @@ -83,9 +92,7 @@ function PersonById(id) { const req = https.request(options, (res) => { let body = ""; - res.on("data", (chunk) => { - body += chunk; - }); + res.on("data", (chunk) => { body += chunk; }); res.on("end", () => chalkPersonId(JSON.parse(body), spinner)); }); @@ -115,4 +122,23 @@ function JsonPersonByPage(page = 1) { } } -module.exports = { PersonById, PersonsByPage, MoviesByPage, JsonPersonByPage }; +function JsonMoviesByPage(page = 1, nowPlaying) { + const spinner = ora("Loading popular movies").start(); + const path = "./src/utils/movies/movies.json"; + + try { + if (fs.existsSync(path)) { + fs.readFile(path, "utf-8", (err, data) => { + const user = JSON.parse(data.toString(), null, 4); + chalkMovie(user, spinner, nowPlaying); + spinner.succeed("Now playing movies data loaded"); + }); + } else { + spinner.fail("File dosn't exist"); + } + } catch (err) { + console.log(err.message); + } +} + +module.exports = { PersonById, PersonsByPage, MoviesByPage, JsonPersonByPage, JsonMoviesByPage }; diff --git a/src/utils/json/movies.json b/src/utils/json/movies.json deleted file mode 100644 index 8b13789..0000000 --- a/src/utils/json/movies.json +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/utils/json/persons.json b/src/utils/json/persons.json deleted file mode 100644 index 6327b09..0000000 --- a/src/utils/json/persons.json +++ /dev/null @@ -1,1411 +0,0 @@ -{ - "page": 1, - "results": [ - { - "adult": false, - "gender": 1, - "id": 1245, - "known_for": [ - { - "adult": false, - "backdrop_path": "/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg", - "genre_ids": [ - 878, - 28, - 12 - ], - "id": 24428, - "media_type": "movie", - "original_language": "en", - "original_title": "The Avengers", - "overview": "When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!", - "poster_path": "/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg", - "release_date": "2012-04-25", - "title": "The Avengers", - "video": false, - "vote_average": 7.7, - "vote_count": 25069 - }, - { - "adult": false, - "backdrop_path": "/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg", - "genre_ids": [ - 12, - 28, - 878 - ], - "id": 299536, - "media_type": "movie", - "original_language": "en", - "original_title": "Avengers: Infinity War", - "overview": "As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.", - "poster_path": "/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg", - "release_date": "2018-04-25", - "title": "Avengers: Infinity War", - "video": false, - "vote_average": 8.3, - "vote_count": 22297 - }, - { - "adult": false, - "backdrop_path": "/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg", - "genre_ids": [ - 12, - 878, - 28 - ], - "id": 299534, - "media_type": "movie", - "original_language": "en", - "original_title": "Avengers: Endgame", - "overview": "After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.", - "poster_path": "/or06FN3Dka5tukK1e9sl16pB3iy.jpg", - "release_date": "2019-04-24", - "title": "Avengers: Endgame", - "video": false, - "vote_average": 8.3, - "vote_count": 18682 - } - ], - "known_for_department": "Acting", - "name": "Scarlett Johansson", - "popularity": 58.249, - "profile_path": "/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 109513, - "known_for": [ - { - "adult": false, - "backdrop_path": "/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg", - "genre_ids": [ - 28, - 18, - 53 - ], - "id": 254128, - "media_type": "movie", - "original_language": "en", - "original_title": "San Andreas", - "overview": "In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.", - "poster_path": "/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg", - "release_date": "2015-05-27", - "title": "San Andreas", - "video": false, - "vote_average": 6.2, - "vote_count": 6690 - }, - { - "adult": false, - "backdrop_path": "/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg", - "genre_ids": [ - 35, - 28, - 80 - ], - "id": 339846, - "media_type": "movie", - "original_language": "en", - "original_title": "Baywatch", - "overview": "Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.", - "poster_path": "/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg", - "release_date": "2017-05-12", - "title": "Baywatch", - "video": false, - "vote_average": 6.1, - "vote_count": 6486 - }, - { - "adult": false, - "backdrop_path": "/sEyNWq9985lyUrwayWnvicT4FHA.jpg", - "genre_ids": [ - 12, - 14, - 10751 - ], - "id": 32657, - "media_type": "movie", - "original_language": "en", - "original_title": "Percy Jackson & the Olympians: The Lightning Thief", - "overview": "Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.", - "poster_path": "/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg", - "release_date": "2010-02-01", - "title": "Percy Jackson & the Olympians: The Lightning Thief", - "video": false, - "vote_average": 6.2, - "vote_count": 5845 - } - ], - "known_for_department": "Acting", - "name": "Alexandra Daddario", - "popularity": 53.167, - "profile_path": "/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg" - }, - { - "adult": false, - "gender": 2, - "id": 12835, - "known_for": [ - { - "adult": false, - "backdrop_path": "/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg", - "genre_ids": [ - 28, - 878, - 12 - ], - "id": 118340, - "media_type": "movie", - "original_language": "en", - "original_title": "Guardians of the Galaxy", - "overview": "Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.", - "poster_path": "/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg", - "release_date": "2014-07-30", - "title": "Guardians of the Galaxy", - "video": false, - "vote_average": 7.9, - "vote_count": 22817 - }, - { - "adult": false, - "backdrop_path": "/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg", - "genre_ids": [ - 12, - 28, - 878 - ], - "id": 299536, - "media_type": "movie", - "original_language": "en", - "original_title": "Avengers: Infinity War", - "overview": "As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.", - "poster_path": "/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg", - "release_date": "2018-04-25", - "title": "Avengers: Infinity War", - "video": false, - "vote_average": 8.3, - "vote_count": 22278 - }, - { - "adult": false, - "backdrop_path": "/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg", - "genre_ids": [ - 12, - 878, - 28 - ], - "id": 299534, - "media_type": "movie", - "original_language": "en", - "original_title": "Avengers: Endgame", - "overview": "After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.", - "poster_path": "/or06FN3Dka5tukK1e9sl16pB3iy.jpg", - "release_date": "2019-04-24", - "title": "Avengers: Endgame", - "video": false, - "vote_average": 8.3, - "vote_count": 18655 - } - ], - "known_for_department": "Acting", - "name": "Vin Diesel", - "popularity": 46.129, - "profile_path": "/7rwSXluNWZAluYMOEWBxkPmckES.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 3967, - "known_for": [ - { - "adult": false, - "backdrop_path": "/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg", - "genre_ids": [ - 35, - 18, - 14 - ], - "id": 9339, - "media_type": "movie", - "original_language": "en", - "original_title": "Click", - "overview": "A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.", - "poster_path": "/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg", - "release_date": "2006-06-23", - "title": "Click", - "video": false, - "vote_average": 6.2, - "vote_count": 5430 - }, - { - "adult": false, - "backdrop_path": "/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg", - "genre_ids": [ - 14, - 28, - 53 - ], - "id": 277, - "media_type": "movie", - "original_language": "en", - "original_title": "Underworld", - "overview": "Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.", - "poster_path": "/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg", - "release_date": "2003-09-19", - "title": "Underworld", - "video": false, - "vote_average": 6.8, - "vote_count": 4910 - }, - { - "adult": false, - "backdrop_path": "/zv1xOEQzebKyku349qDZ085FZlO.jpg", - "genre_ids": [ - 10752, - 36, - 10749, - 18 - ], - "id": 676, - "media_type": "movie", - "original_language": "en", - "original_title": "Pearl Harbor", - "overview": "The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.", - "poster_path": "/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg", - "release_date": "2001-05-21", - "title": "Pearl Harbor", - "video": false, - "vote_average": 6.9, - "vote_count": 4849 - } - ], - "known_for_department": "Acting", - "name": "Kate Beckinsale", - "popularity": 44.642, - "profile_path": "/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg" - }, - { - "adult": false, - "gender": 2, - "id": 91606, - "known_for": [ - { - "adult": false, - "backdrop_path": "/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg", - "genre_ids": [ - 878, - 28, - 12 - ], - "id": 24428, - "media_type": "movie", - "original_language": "en", - "original_title": "The Avengers", - "overview": "When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!", - "poster_path": "/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg", - "release_date": "2012-04-25", - "title": "The Avengers", - "video": false, - "vote_average": 7.7, - "vote_count": 25069 - }, - { - "adult": false, - "backdrop_path": "/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg", - "genre_ids": [ - 12, - 28, - 878 - ], - "id": 299536, - "media_type": "movie", - "original_language": "en", - "original_title": "Avengers: Infinity War", - "overview": "As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.", - "poster_path": "/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg", - "release_date": "2018-04-25", - "title": "Avengers: Infinity War", - "video": false, - "vote_average": 8.3, - "vote_count": 22297 - }, - { - "adult": false, - "backdrop_path": "/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg", - "genre_ids": [ - 12, - 878, - 28 - ], - "id": 299534, - "media_type": "movie", - "original_language": "en", - "original_title": "Avengers: Endgame", - "overview": "After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.", - "poster_path": "/or06FN3Dka5tukK1e9sl16pB3iy.jpg", - "release_date": "2019-04-24", - "title": "Avengers: Endgame", - "video": false, - "vote_average": 8.3, - "vote_count": 18682 - } - ], - "known_for_department": "Acting", - "name": "Tom Hiddleston", - "popularity": 42.089, - "profile_path": "/mclHxMm8aPlCPKptP67257F5GPo.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 1734, - "known_for": [ - { - "backdrop_path": "/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg", - "first_air_date": "2017-09-25", - "genre_ids": [ - 18 - ], - "id": 71712, - "media_type": "tv", - "name": "The Good Doctor", - "origin_country": [ - "US" - ], - "original_language": "en", - "original_name": "The Good Doctor", - "overview": "A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives", - "poster_path": "/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg", - "vote_average": 8.6, - "vote_count": 8906 - }, - { - "backdrop_path": "/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg", - "first_air_date": "2001-10-16", - "genre_ids": [ - 10765, - 10759, - 18 - ], - "id": 4604, - "media_type": "tv", - "name": "Smallville", - "origin_country": [ - "US" - ], - "original_language": "en", - "original_name": "Smallville", - "overview": "The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.", - "poster_path": "/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg", - "vote_average": 8.2, - "vote_count": 2591 - }, - { - "backdrop_path": "/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg", - "first_air_date": "1990-11-18", - "genre_ids": [ - 18, - 9648, - 10765 - ], - "id": 19614, - "media_type": "tv", - "name": "It", - "origin_country": [ - "US" - ], - "original_language": "en", - "original_name": "It", - "overview": "In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.", - "poster_path": "/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg", - "vote_average": 6.9, - "vote_count": 2273 - } - ], - "known_for_department": "Acting", - "name": "Annette O'Toole", - "popularity": 41.629, - "profile_path": "/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg" - }, - { - "adult": false, - "gender": 2, - "id": 1991255, - "known_for": [ - { - "backdrop_path": "/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg", - "first_air_date": "2017-03-25", - "genre_ids": [ - 18 - ], - "id": 76560, - "media_type": "tv", - "name": "Mrs. Fazilet and Her Daughters", - "origin_country": [ - "TR" - ], - "original_language": "tr", - "original_name": "Fazilet Hanım ve Kızları", - "overview": "The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.", - "poster_path": "/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg", - "vote_average": 9.4, - "vote_count": 5 - }, - { - "backdrop_path": "/lDbRMHVAGdkySaabD7KyyEbouoG.jpg", - "first_air_date": "2018-07-22", - "genre_ids": [ - 18 - ], - "id": 80229, - "media_type": "tv", - "name": "Never Let My Hand Go", - "origin_country": [ - "TR" - ], - "original_language": "tr", - "original_name": "Elimi Bırakma", - "overview": "The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.", - "poster_path": "/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg", - "vote_average": 10, - "vote_count": 4 - }, - { - "backdrop_path": "/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg", - "first_air_date": "2021-06-15", - "genre_ids": [ - 10766, - 18, - 35 - ], - "id": 126255, - "media_type": "tv", - "name": "Bir Ada Masali", - "origin_country": [ - "TR" - ], - "original_language": "tr", - "original_name": "Ada Masalı", - "overview": "", - "poster_path": "/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg", - "vote_average": 10, - "vote_count": 1 - } - ], - "known_for_department": "Acting", - "name": "Alp Navruz", - "popularity": 41.008, - "profile_path": "/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 5081, - "known_for": [ - { - "adult": false, - "backdrop_path": "/auZIuHEUec5tBTns3tCRXfayxZq.jpg", - "genre_ids": [ - 28, - 878 - ], - "id": 137113, - "media_type": "movie", - "original_language": "en", - "original_title": "Edge of Tomorrow", - "overview": "Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.", - "poster_path": "/uUHvlkLavotfGsNtosDy8ShsIYF.jpg", - "release_date": "2014-05-27", - "title": "Edge of Tomorrow", - "video": false, - "vote_average": 7.6, - "vote_count": 10803 - }, - { - "adult": false, - "backdrop_path": "/roYyPiQDQKmIKUEhO912693tSja.jpg", - "genre_ids": [ - 27, - 18, - 878 - ], - "id": 447332, - "media_type": "movie", - "original_language": "en", - "original_title": "A Quiet Place", - "overview": "A family is forced to live in silence while hiding from creatures that hunt by sound.", - "poster_path": "/nAU74GmpUk7t5iklEp3bufwDq4n.jpg", - "release_date": "2018-04-03", - "title": "A Quiet Place", - "video": false, - "vote_average": 7.4, - "vote_count": 10428 - }, - { - "adult": false, - "backdrop_path": "/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg", - "genre_ids": [ - 35, - 18, - 10749 - ], - "id": 350, - "media_type": "movie", - "original_language": "en", - "original_title": "The Devil Wears Prada", - "overview": "Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.", - "poster_path": "/8912AsVuS7Sj915apArUFbv6F9L.jpg", - "release_date": "2006-06-30", - "title": "The Devil Wears Prada", - "video": false, - "vote_average": 7.4, - "vote_count": 9379 - } - ], - "known_for_department": "Acting", - "name": "Emily Blunt", - "popularity": 37.177, - "profile_path": "/nPJXaRMvu1vh3COG16GzmdsBySQ.jpg" - }, - { - "adult": false, - "gender": 2, - "id": 976, - "known_for": [ - { - "adult": false, - "backdrop_path": "/mRfI3y2oAd7ejur2di09xC9niqp.jpg", - "genre_ids": [ - 28, - 53, - 80 - ], - "id": 82992, - "media_type": "movie", - "original_language": "en", - "original_title": "Fast & Furious 6", - "overview": "Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.", - "poster_path": "/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg", - "release_date": "2013-05-21", - "title": "Fast & Furious 6", - "video": false, - "vote_average": 6.8, - "vote_count": 8777 - }, - { - "adult": false, - "backdrop_path": "/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg", - "genre_ids": [ - 28, - 53, - 80, - 18 - ], - "id": 168259, - "media_type": "movie", - "original_language": "en", - "original_title": "Furious 7", - "overview": "Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.", - "poster_path": "/wurKlC3VKUgcfsn0K51MJYEleS2.jpg", - "release_date": "2015-04-01", - "title": "Furious 7", - "video": false, - "vote_average": 7.3, - "vote_count": 8534 - }, - { - "adult": false, - "backdrop_path": "/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg", - "genre_ids": [ - 28, - 80, - 53 - ], - "id": 337339, - "media_type": "movie", - "original_language": "en", - "original_title": "The Fate of the Furious", - "overview": "When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.", - "poster_path": "/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg", - "release_date": "2017-04-12", - "title": "The Fate of the Furious", - "video": false, - "vote_average": 6.9, - "vote_count": 8382 - } - ], - "known_for_department": "Acting", - "name": "Jason Statham", - "popularity": 34.531, - "profile_path": "/lldeQ91GwIVff43JBrpdbAAeYWj.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 1373737, - "known_for": [ - { - "adult": false, - "backdrop_path": "/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg", - "genre_ids": [ - 18, - 10749 - ], - "id": 331482, - "media_type": "movie", - "original_language": "en", - "original_title": "Little Women", - "overview": "Four sisters come of age in America in the aftermath of the Civil War.", - "poster_path": "/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg", - "release_date": "2019-12-25", - "title": "Little Women", - "video": false, - "vote_average": 7.9, - "vote_count": 3929 - }, - { - "adult": false, - "backdrop_path": "/g6GtOfXtzDpY73ef7wludoorTti.jpg", - "genre_ids": [ - 27, - 18, - 9648 - ], - "id": 530385, - "media_type": "movie", - "original_language": "en", - "original_title": "Midsommar", - "overview": "Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.", - "poster_path": "/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg", - "release_date": "2019-07-03", - "title": "Midsommar", - "video": false, - "vote_average": 7.1, - "vote_count": 3899 - }, - { - "adult": false, - "backdrop_path": "/clmYuR1t4TtKcakIOvYIPrjyxDc.jpg", - "genre_ids": [ - 28, - 53 - ], - "id": 399035, - "media_type": "movie", - "original_language": "en", - "original_title": "The Commuter", - "overview": "A businessman, on his daily commute home, gets unwittingly caught up in a criminal conspiracy that threatens not only his life but the lives of those around him.", - "poster_path": "/rDeGK6FIUfVcXmuBdEORPAGPMNg.jpg", - "release_date": "2018-01-11", - "title": "The Commuter", - "video": false, - "vote_average": 6.3, - "vote_count": 3446 - } - ], - "known_for_department": "Acting", - "name": "Florence Pugh", - "popularity": 34.37, - "profile_path": "/75PvULemW8BvheSKtPMoBBsvPLh.jpg" - }, - { - "adult": false, - "gender": 2, - "id": 13240, - "known_for": [ - { - "adult": false, - "backdrop_path": "/9RuC3UD6mNZ0p1J6RbfJDUkQ03i.jpg", - "genre_ids": [ - 18, - 53, - 80 - ], - "id": 1422, - "media_type": "movie", - "original_language": "en", - "original_title": "The Departed", - "overview": "To take down South Boston's Irish Mafia, the police send in one of their own to infiltrate the underworld, not realizing the syndicate has done likewise. While an undercover cop curries favor with the mob kingpin, a career criminal rises through the police ranks. But both sides soon discover there's a mole among them.", - "poster_path": "/kWWAt2FMRbqLFFy8o5R4Zr8cMAb.jpg", - "release_date": "2006-10-05", - "title": "The Departed", - "video": false, - "vote_average": 8.2, - "vote_count": 11370 - }, - { - "adult": false, - "backdrop_path": "/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg", - "genre_ids": [ - 35, - 14 - ], - "id": 72105, - "media_type": "movie", - "original_language": "en", - "original_title": "Ted", - "overview": "John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.", - "poster_path": "/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg", - "release_date": "2012-06-29", - "title": "Ted", - "video": false, - "vote_average": 6.4, - "vote_count": 9905 - }, - { - "adult": false, - "backdrop_path": "/alItugxBbjNC10ezLSisplhSKJ.jpg", - "genre_ids": [ - 878, - 28, - 12 - ], - "id": 91314, - "media_type": "movie", - "original_language": "en", - "original_title": "Transformers: Age of Extinction", - "overview": "As humanity picks up the pieces, following the conclusion of \"Transformers: Dark of the Moon,\" Autobots and Decepticons have all but vanished from the face of the planet. However, a group of powerful, ingenious businessman and scientists attempt to learn from past Transformer incursions and push the boundaries of technology beyond what they can control - all while an ancient, powerful Transformer menace sets Earth in his cross-hairs.", - "poster_path": "/jyzrfx2WaeY60kYZpPYepSjGz4S.jpg", - "release_date": "2014-06-25", - "title": "Transformers: Age of Extinction", - "video": false, - "vote_average": 5.9, - "vote_count": 6226 - } - ], - "known_for_department": "Acting", - "name": "Mark Wahlberg", - "popularity": 33.914, - "profile_path": "/bTEFpaWd7A6AZVWOqKKBWzKEUe8.jpg" - }, - { - "adult": false, - "gender": 2, - "id": 18918, - "known_for": [ - { - "adult": false, - "backdrop_path": "/zJDMuXQDraHjtF53wikmyBQIcYe.jpg", - "genre_ids": [ - 28, - 12, - 35, - 14 - ], - "id": 353486, - "media_type": "movie", - "original_language": "en", - "original_title": "Jumanji: Welcome to the Jungle", - "overview": "The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.", - "poster_path": "/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg", - "release_date": "2017-12-09", - "title": "Jumanji: Welcome to the Jungle", - "video": false, - "vote_average": 6.8, - "vote_count": 10854 - }, - { - "adult": false, - "backdrop_path": "/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg", - "genre_ids": [ - 12, - 35, - 10751, - 16 - ], - "id": 277834, - "media_type": "movie", - "original_language": "en", - "original_title": "Moana", - "overview": "In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.", - "poster_path": "/4JeejGugONWpJkbnvL12hVoYEDa.jpg", - "release_date": "2016-11-23", - "title": "Moana", - "video": false, - "vote_average": 7.6, - "vote_count": 9662 - }, - { - "adult": false, - "backdrop_path": "/mRfI3y2oAd7ejur2di09xC9niqp.jpg", - "genre_ids": [ - 28, - 53, - 80 - ], - "id": 82992, - "media_type": "movie", - "original_language": "en", - "original_title": "Fast & Furious 6", - "overview": "Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.", - "poster_path": "/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg", - "release_date": "2013-05-21", - "title": "Fast & Furious 6", - "video": false, - "vote_average": 6.8, - "vote_count": 8786 - } - ], - "known_for_department": "Acting", - "name": "Dwayne Johnson", - "popularity": 33.881, - "profile_path": "/cgoy7t5Ve075naBPcewZrc08qGw.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 2472427, - "known_for": [ - { - "adult": false, - "backdrop_path": "/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg", - "genre_ids": [ - 10749 - ], - "id": 656273, - "media_type": "movie", - "original_language": "ko", - "original_title": "막내 형수 2", - "overview": "Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.", - "poster_path": "/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg", - "release_date": "2019-11-27", - "title": "Youngest Sister-in-law 2", - "video": false, - "vote_average": 6, - "vote_count": 1 - }, - { - "adult": false, - "genre_ids": [ - 53 - ], - "id": 673407, - "media_type": "movie", - "original_language": "ko", - "original_title": "불량탐정: 먹이사슬", - "overview": "Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.", - "poster_path": "/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg", - "release_date": "2020-01-22", - "title": "Bad Detective: Food Chain", - "video": false, - "vote_average": 6, - "vote_count": 1 - }, - { - "adult": false, - "backdrop_path": "/4mFrNiawrfHz2W9yryFcsrahYxA.jpg", - "genre_ids": [ - 10749 - ], - "id": 658228, - "media_type": "movie", - "original_language": "ko", - "original_title": "딸의 애인 3", - "overview": "Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.", - "poster_path": "/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg", - "release_date": "2019-12-05", - "title": "My Daughter's Lover 3", - "video": false, - "vote_average": 0, - "vote_count": 0 - } - ], - "known_for_department": "Acting", - "name": "Tae Joo", - "popularity": 33.302, - "profile_path": "/nGpa3za6yxSciko2J8tY8gbsgyT.jpg" - }, - { - "adult": false, - "gender": 2, - "id": 5009, - "known_for": [ - { - "backdrop_path": "/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg", - "first_air_date": "2017-09-25", - "genre_ids": [ - 18 - ], - "id": 71712, - "media_type": "tv", - "name": "The Good Doctor", - "origin_country": [ - "US" - ], - "original_language": "en", - "original_name": "The Good Doctor", - "overview": "A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives", - "poster_path": "/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg", - "vote_average": 8.6, - "vote_count": 8906 - }, - { - "backdrop_path": "/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg", - "first_air_date": "2005-09-13", - "genre_ids": [ - 18, - 9648, - 10765 - ], - "id": 1622, - "media_type": "tv", - "name": "Supernatural", - "origin_country": [ - "US" - ], - "original_language": "en", - "original_name": "Supernatural", - "overview": "When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ", - "poster_path": "/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg", - "vote_average": 8.2, - "vote_count": 5269 - }, - { - "backdrop_path": "/4o0keepwKfyYoziJOmRZS24Omqa.jpg", - "first_air_date": "2012-10-10", - "genre_ids": [ - 80, - 18, - 9648, - 10759 - ], - "id": 1412, - "media_type": "tv", - "name": "Arrow", - "origin_country": [ - "US" - ], - "original_language": "en", - "original_name": "Arrow", - "overview": "Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.", - "poster_path": "/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg", - "vote_average": 6.7, - "vote_count": 4642 - } - ], - "known_for_department": "Acting", - "name": "Peter Benson", - "popularity": 33.004, - "profile_path": "/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 2374721, - "known_for": [ - { - "adult": false, - "backdrop_path": "/h1BoDAepuEmEMC2qhjBONAYhre7.jpg", - "genre_ids": [ - 10749 - ], - "id": 698009, - "media_type": "movie", - "original_language": "en", - "original_title": "어린 처제 3", - "overview": "Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...", - "poster_path": "/swEYylf53k2aGZHjv9PuIxalWQE.jpg", - "release_date": "2019-05-24", - "title": "Young Sister-in-law 3 - 2019", - "video": false, - "vote_average": 5, - "vote_count": 2 - }, - { - "adult": false, - "backdrop_path": "/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg", - "genre_ids": [ - 10749 - ], - "id": 656273, - "media_type": "movie", - "original_language": "ko", - "original_title": "막내 형수 2", - "overview": "Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.", - "poster_path": "/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg", - "release_date": "2019-11-27", - "title": "Youngest Sister-in-law 2", - "video": false, - "vote_average": 6, - "vote_count": 1 - }, - { - "adult": false, - "genre_ids": [ - 10749 - ], - "id": 699173, - "media_type": "movie", - "original_language": "ko", - "original_title": "유부녀들: 남편 바꾸기", - "overview": "After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...", - "poster_path": "/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg", - "release_date": "2020-01-23", - "title": "Married Women: Husband Change", - "video": false, - "vote_average": 5, - "vote_count": 1 - } - ], - "known_for_department": "Acting", - "name": "Han Seo-ah", - "popularity": 33.002, - "profile_path": "/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 1439922, - "known_for": [ - { - "backdrop_path": "/n5h1JNlTm3AdWoKZnGcZMgemt8S.jpg", - "first_air_date": "2018-12-14", - "genre_ids": [ - 10759 - ], - "id": 79026, - "media_type": "tv", - "name": "The Protector", - "origin_country": [ - "TR" - ], - "original_language": "tr", - "original_name": "Hakan: Muhafız", - "overview": "The epic adventure of Hakan, a young shopkeeper whose modern world gets turned upside down when he learns he’s connected to a secret, ancient order, tasked with protecting Istanbul.", - "poster_path": "/xoN4wJRzeaWBfuQDYPngJgN6y9t.jpg", - "vote_average": 7.5, - "vote_count": 278 - }, - { - "adult": false, - "genre_ids": [ - 10749, - 35 - ], - "id": 325134, - "media_type": "movie", - "original_language": "tr", - "original_title": "Sevimli Tehlikeli", - "overview": "Directed by Özcan Deniz.", - "poster_path": "/u1Xg9OyQQqw8SOld06FSSXr2OFF.jpg", - "release_date": "2015-02-06", - "title": "Cute and Dangerous", - "video": false, - "vote_average": 6.6, - "vote_count": 22 - }, - { - "backdrop_path": "/jtM45bTIareE0qNraP5tN13qAZb.jpg", - "first_air_date": "2013-03-29", - "genre_ids": [ - 18 - ], - "id": 50236, - "media_type": "tv", - "name": "Black Rose", - "origin_country": [ - "TR" - ], - "original_language": "tr", - "original_name": "Karagül", - "overview": "A married women has to fight for the things she lost because of the revealed secrets of her husband.", - "poster_path": "/3MGWHmUR0ezgQS5FQbjydG2nfLC.jpg", - "vote_average": 8.8, - "vote_count": 5 - } - ], - "known_for_department": "Acting", - "name": "Ayça Ayşin Turan", - "popularity": 32.897, - "profile_path": "/nahCmyU5UzreRM5aWzSaC92sGHh.jpg" - }, - { - "adult": false, - "gender": 2, - "id": 10859, - "known_for": [ - { - "adult": false, - "backdrop_path": "/en971MEXui9diirXlogOrPKmsEn.jpg", - "genre_ids": [ - 28, - 12, - 35 - ], - "id": 293660, - "media_type": "movie", - "original_language": "en", - "original_title": "Deadpool", - "overview": "Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.", - "poster_path": "/3E53WEZJqP6aM84D8CckXx4pIHw.jpg", - "release_date": "2016-02-09", - "title": "Deadpool", - "video": false, - "vote_average": 7.6, - "vote_count": 25222 - }, - { - "adult": false, - "backdrop_path": "/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg", - "genre_ids": [ - 28, - 35, - 12 - ], - "id": 383498, - "media_type": "movie", - "original_language": "en", - "original_title": "Deadpool 2", - "overview": "Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.", - "poster_path": "/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg", - "release_date": "2018-05-10", - "title": "Deadpool 2", - "video": false, - "vote_average": 7.5, - "vote_count": 13488 - }, - { - "adult": false, - "backdrop_path": "/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg", - "genre_ids": [ - 35, - 14 - ], - "id": 72105, - "media_type": "movie", - "original_language": "en", - "original_title": "Ted", - "overview": "John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.", - "poster_path": "/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg", - "release_date": "2012-06-29", - "title": "Ted", - "video": false, - "vote_average": 6.4, - "vote_count": 9905 - } - ], - "known_for_department": "Acting", - "name": "Ryan Reynolds", - "popularity": 32.897, - "profile_path": "/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 6161, - "known_for": [ - { - "adult": false, - "backdrop_path": "/tTlAA0REGPXSZPBfWyTW9ipIv1I.jpg", - "genre_ids": [ - 28, - 12, - 878, - 18 - ], - "id": 315635, - "media_type": "movie", - "original_language": "en", - "original_title": "Spider-Man: Homecoming", - "overview": "Following the events of Captain America: Civil War, Peter Parker, with the help of his mentor Tony Stark, tries to balance his life as an ordinary high school student in Queens, New York City, with fighting crime as his superhero alter ego Spider-Man as a new threat, the Vulture, emerges.", - "poster_path": "/c24sv2weTHPsmDa7jEMN0m2P3RT.jpg", - "release_date": "2017-07-05", - "title": "Spider-Man: Homecoming", - "video": false, - "vote_average": 7.4, - "vote_count": 16504 - }, - { - "adult": false, - "backdrop_path": "/vVBcIN68kFq681b4lObiNJhEVro.jpg", - "genre_ids": [ - 18, - 10749 - ], - "id": 453, - "media_type": "movie", - "original_language": "en", - "original_title": "A Beautiful Mind", - "overview": "John Nash is a brilliant but asocial mathematician fighting schizophrenia. After he accepts secret work in cryptography, his life takes a turn for the nightmarish.", - "poster_path": "/zwzWCmH72OSC9NA0ipoqw5Zjya8.jpg", - "release_date": "2001-12-11", - "title": "A Beautiful Mind", - "video": false, - "vote_average": 7.8, - "vote_count": 7795 - }, - { - "adult": false, - "backdrop_path": "/c5g1Dn1tF22CS2oOvHDNKr1Ve2U.jpg", - "genre_ids": [ - 80, - 18, - 53 - ], - "id": 641, - "media_type": "movie", - "original_language": "en", - "original_title": "Requiem for a Dream", - "overview": "The hopes and dreams of four ambitious people are shattered when their drug addictions begin spiraling out of control. A look into addiction and how it overcomes the mind and body.", - "poster_path": "/nOd6vjEmzCT0k4VYqsA2hwyi87C.jpg", - "release_date": "2000-10-06", - "title": "Requiem for a Dream", - "video": false, - "vote_average": 8, - "vote_count": 7370 - } - ], - "known_for_department": "Acting", - "name": "Jennifer Connelly", - "popularity": 31.787, - "profile_path": "/p17ymzw1sb9eo2SOp88jnwyryan.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 10431, - "known_for": [ - { - "adult": false, - "backdrop_path": "/7gfDVfaw0VaIkUGiEH13o3TIC7A.jpg", - "genre_ids": [ - 80, - 18, - 9648, - 37 - ], - "id": 273248, - "media_type": "movie", - "original_language": "en", - "original_title": "The Hateful Eight", - "overview": "Bounty hunters seek shelter from a raging blizzard and get caught up in a plot of betrayal and deception.", - "poster_path": "/k61oZC6IPUhgACGFwxNqdkbrf2M.jpg", - "release_date": "2015-12-25", - "title": "The Hateful Eight", - "video": false, - "vote_average": 7.7, - "vote_count": 11232 - }, - { - "adult": false, - "backdrop_path": "/gDbNf0JpmG46fFTHJIPdFga9RRg.jpg", - "genre_ids": [ - 878, - 27 - ], - "id": 300668, - "media_type": "movie", - "original_language": "en", - "original_title": "Annihilation", - "overview": "A biologist signs up for a dangerous, secret expedition into a mysterious zone where the laws of nature don't apply.", - "poster_path": "/4YRplSk6BhH6PRuE9gfyw9byUJ6.jpg", - "release_date": "2018-02-22", - "title": "Annihilation", - "video": false, - "vote_average": 6.3, - "vote_count": 6602 - }, - { - "adult": false, - "backdrop_path": "/hi3lxLd93iKwCmVAfhMV9m1k2jr.jpg", - "genre_ids": [ - 53, - 18 - ], - "id": 4553, - "media_type": "movie", - "original_language": "en", - "original_title": "The Machinist", - "overview": "The Machinist is the story of Trevor Reznik, a lathe-operator who is suffering from insomnia. In a machine shop, occupational hazards are bad enough under normal circumstances; yet for Trevor the risks are compounded by fatigue. Trevor has lost the ability to sleep. This is no ordinary insomnia...", - "poster_path": "/diAYqR4xdF9Hnj7qun6DEQhRrT2.jpg", - "release_date": "2004-02-09", - "title": "The Machinist", - "video": false, - "vote_average": 7.5, - "vote_count": 3863 - } - ], - "known_for_department": "Acting", - "name": "Jennifer Jason Leigh", - "popularity": 31.464, - "profile_path": "/esyL4vTOy7nd4S2tCPcnkL8rmxP.jpg" - }, - { - "adult": false, - "gender": 1, - "id": 58369, - "known_for": [ - { - "backdrop_path": "/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg", - "first_air_date": "2010-10-31", - "genre_ids": [ - 10759, - 18, - 10765 - ], - "id": 1402, - "media_type": "tv", - "name": "The Walking Dead", - "origin_country": [ - "US" - ], - "original_language": "en", - "original_name": "The Walking Dead", - "overview": "Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.", - "poster_path": "/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg", - "vote_average": 8.1, - "vote_count": 11209 - }, - { - "backdrop_path": "/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg", - "first_air_date": "2011-10-05", - "genre_ids": [ - 18, - 9648, - 10765 - ], - "id": 1413, - "media_type": "tv", - "name": "American Horror Story", - "origin_country": [ - "US" - ], - "original_language": "en", - "original_name": "American Horror Story", - "overview": "An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.", - "poster_path": "/8NMACR0OE5bwC27rE15f8ManNBO.jpg", - "vote_average": 8.1, - "vote_count": 3770 - }, - { - "backdrop_path": "/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg", - "first_air_date": "1999-01-31", - "genre_ids": [ - 16, - 35 - ], - "id": 1434, - "media_type": "tv", - "name": "Family Guy", - "origin_country": [ - "US" - ], - "original_language": "en", - "original_name": "Family Guy", - "overview": "Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.", - "poster_path": "/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg", - "vote_average": 7, - "vote_count": 2865 - } - ], - "known_for_department": "Acting", - "name": "Alexandra Breckenridge", - "popularity": 30.033, - "profile_path": "/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg" - } - ], - "total_pages": 500, - "total_results": 10000 -} \ No newline at end of file diff --git a/src/utils/movies/movies.json b/src/utils/movies/movies.json new file mode 100644 index 0000000..121893f --- /dev/null +++ b/src/utils/movies/movies.json @@ -0,0 +1 @@ +{"page":1,"results":[{"adult":false,"backdrop_path":"/4epzcO9HGbfc8BUJT0oNkL3rmCO.jpg","genre_ids":[28,80,53],"id":385128,"original_language":"en","original_title":"F9","overview":"Dominic Toretto and his crew battle the most skilled assassin and high-performance driver they've ever encountered: his forsaken brother.","popularity":5860.581,"poster_path":"/bOFaAXmWWXC3Rbv4u4uM9ZSzRXP.jpg","release_date":"2021-05-19","title":"F9","video":false,"vote_average":7.8,"vote_count":1728},{"adult":false,"backdrop_path":"/8s4h9friP6Ci3adRGahHARVd76E.jpg","genre_ids":[16,35,10751,878],"id":379686,"original_language":"en","original_title":"Space Jam: A New Legacy","overview":"When LeBron and his young son Dom are trapped in a digital space by a rogue A.I., LeBron must get them home safe by leading Bugs, Lola Bunny and the whole gang of notoriously undisciplined Looney Tunes to victory over the A.I.'s digitized champions on the court. It's Tunes versus Goons in the highest-stakes challenge of his life.","popularity":4781.639,"poster_path":"/5bFK5d3mVTAvBCXi5NPWH0tYjKl.jpg","release_date":"2021-07-08","title":"Space Jam: A New Legacy","video":false,"vote_average":7.7,"vote_count":1419},{"adult":false,"backdrop_path":"/keIxh0wPr2Ymj0Btjh4gW7JJ89e.jpg","genre_ids":[28,12,53,878],"id":497698,"original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","popularity":4627.772,"poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662},{"adult":false,"backdrop_path":"/gX5UrH1TLVVBwI7WxplW43BD6Z1.jpg","genre_ids":[16,35,12,10751],"id":459151,"original_language":"en","original_title":"The Boss Baby: Family Business","overview":"The Templeton brothers — Tim and his Boss Baby little bro Ted — have become adults and drifted away from each other. But a new boss baby with a cutting-edge approach and a can-do attitude is about to bring them together again … and inspire a new family business.","popularity":3444.216,"poster_path":"/5dExO5G2iaaTxYnLIFKLWofDzyI.jpg","release_date":"2021-07-01","title":"The Boss Baby: Family Business","video":false,"vote_average":7.9,"vote_count":992},{"adult":false,"backdrop_path":"/tehpKMsls621GT9WUQie2Ft6LmP.jpg","genre_ids":[12,53,28,27,37],"id":602223,"original_language":"en","original_title":"The Forever Purge","overview":"All the rules are broken as a sect of lawless marauders decides that the annual Purge does not stop at daybreak and instead should never end as they chase a group of immigrants who they want to punish because of their harsh historical past.","popularity":3702.294,"poster_path":"/uHA5COgDzcxjpYSHHulrKVl6ByL.jpg","release_date":"2021-06-30","title":"The Forever Purge","video":false,"vote_average":7.8,"vote_count":726},{"adult":false,"backdrop_path":"/620hnMVLu6RSZW6a5rwO8gqpt0t.jpg","genre_ids":[16,35,10751,14],"id":508943,"original_language":"en","original_title":"Luca","overview":"Luca and his best friend Alberto experience an unforgettable summer on the Italian Riviera. But all the fun is threatened by a deeply-held secret: they are sea monsters from another world just below the water’s surface.","popularity":3019.966,"poster_path":"/jTswp6KyDYKtvC52GbHagrZbGvD.jpg","release_date":"2021-06-17","title":"Luca","video":false,"vote_average":8.1,"vote_count":3426},{"adult":false,"backdrop_path":"/yizL4cEKsVvl17Wc1mGEIrQtM2F.jpg","genre_ids":[28,878],"id":588228,"original_language":"en","original_title":"The Tomorrow War","overview":"The world is stunned when a group of time travelers arrive from the year 2051 to deliver an urgent message: Thirty years in the future, mankind is losing a global war against a deadly alien species. The only hope for survival is for soldiers and civilians from the present to be transported to the future and join the fight. Among those recruited is high school teacher and family man Dan Forester. Determined to save the world for his young daughter, Dan teams up with a brilliant scientist and his estranged father in a desperate quest to rewrite the fate of the planet.","popularity":2876.135,"poster_path":"/34nDCQZwaEvsy4CFO5hkGRFDCVU.jpg","release_date":"2021-06-30","title":"The Tomorrow War","video":false,"vote_average":8.2,"vote_count":3077},{"adult":false,"backdrop_path":"/zm2kMjiz0u6qdn2XKbEbQkDiltN.jpg","genre_ids":[27],"id":675024,"original_language":"es","original_title":"El exorcismo de Carmen Farías","overview":"Carmen, a brave journalist, discovers soon after her mother's death that she has inherited her grandma's house. She decides to move there without knowing it hides dark secrets.","popularity":2581.669,"poster_path":"/uoTPjx07dxTrC1g3dYeaS2WNVGL.jpg","release_date":"2021-07-05","title":"The Exorcism of Carmen Farias","video":false,"vote_average":6.6,"vote_count":36},{"adult":false,"backdrop_path":"/wjQXZTlFM3PVEUmKf1sUajjygqT.jpg","genre_ids":[878,28,53],"id":581726,"original_language":"en","original_title":"Infinite","overview":"Evan McCauley has skills he never learned and memories of places he has never visited. Self-medicated and on the brink of a mental breakdown, a secret group that call themselves “Infinites” come to his rescue, revealing that his memories are real.","popularity":2045.089,"poster_path":"/niw2AKHz6XmwiRMLWaoyAOAti0G.jpg","release_date":"2021-06-10","title":"Infinite","video":false,"vote_average":7.2,"vote_count":564},{"adult":false,"backdrop_path":"/3OwaKVZf3A2NdnarqKbwzFEhKir.jpg","genre_ids":[16,14,10751,28,12,878],"id":730840,"original_language":"en","original_title":"Trollhunters: Rise of the Titans","overview":"Arcadia may look like an ordinary town, but it lies at the center of magical and mystical lines that makes it a nexus for many battles among otherworldly creatures, including trolls, aliens, and wizards. Now, various heroes will team-up in an epic adventure where they must fight the Arcane Order for control over the magic that binds them all together.","popularity":1837.168,"poster_path":"/zvUNFeTz0Sssb210wSiIiHRjA4W.jpg","release_date":"2021-07-21","title":"Trollhunters: Rise of the Titans","video":false,"vote_average":7.9,"vote_count":108},{"adult":false,"backdrop_path":"/iJ2HVOZT9Kjayrhy21pbGIJs9ey.jpg","genre_ids":[28,12,14],"id":525660,"original_language":"cn","original_title":"真·三国无双","overview":"Warlords, warriors and statesmen wage a battle for supremacy in this fantasy tale based on the hit video games and the \"Romance of the Three Kingdoms.\"","popularity":1915.982,"poster_path":"/7BCTdek5LFHglcgl7shsm7igJAH.jpg","release_date":"2021-04-29","title":"Dynasty Warriors","video":false,"vote_average":6.6,"vote_count":46},{"adult":false,"backdrop_path":"/7WJjFviFBffEJvkAms4uWwbcVUk.jpg","genre_ids":[12,14,35,28],"id":451048,"original_language":"en","original_title":"Jungle Cruise","overview":"Dr. Lily Houghton enlists the aid of wisecracking skipper Frank Wolff to take her down the Amazon in his dilapidated boat. Together, they search for an ancient tree that holds the power to heal – a discovery that will change the future of medicine.","popularity":1946.942,"poster_path":"/9dKCd55IuTT5QRs989m9Qlb7d2B.jpg","release_date":"2021-07-28","title":"Jungle Cruise","video":false,"vote_average":8.2,"vote_count":645},{"adult":false,"backdrop_path":"/6MKr3KgOLmzOP6MSuZERO41Lpkt.jpg","genre_ids":[35,80],"id":337404,"original_language":"en","original_title":"Cruella","overview":"In 1970s London amidst the punk rock revolution, a young grifter named Estella is determined to make a name for herself with her designs. She befriends a pair of young thieves who appreciate her appetite for mischief, and together they are able to build a life for themselves on the London streets. One day, Estella’s flair for fashion catches the eye of the Baroness von Hellman, a fashion legend who is devastatingly chic and terrifyingly haute. But their relationship sets in motion a course of events and revelations that will cause Estella to embrace her wicked side and become the raucous, fashionable and revenge-bent Cruella.","popularity":1635.546,"poster_path":"/rTh4K5uw9HypmpGslcKd4QfHl93.jpg","release_date":"2021-05-26","title":"Cruella","video":false,"vote_average":8.4,"vote_count":4478},{"adult":false,"backdrop_path":"/5HjzYTihkH7EvOWSE7KcsF6pBMM.jpg","genre_ids":[10751,35,12,16,14],"id":522478,"original_language":"en","original_title":"Peter Rabbit 2: The Runaway","overview":"Bea, Thomas, and the rabbits have created a makeshift family, but despite his best efforts, Peter can’t seem to shake his mischievous reputation. Adventuring out of the garden, Peter finds himself in a world where his mischief is appreciated, but when his family risks everything to come looking for him, Peter must figure out what kind of bunny he wants to be.","popularity":1481.849,"poster_path":"/cycDz68DtTjJrDJ1fV8EBq2Xdpb.jpg","release_date":"2021-03-25","title":"Peter Rabbit 2: The Runaway","video":false,"vote_average":7.4,"vote_count":223},{"adult":false,"backdrop_path":"/zsH3iW60T1t2HBTtrSKzzxJ406J.jpg","genre_ids":[16,35,10751],"id":846214,"original_language":"en","original_title":"The Simpsons: The Good, the Bart, and the Loki","overview":"Loki is banished from Asgard once again and must face his toughest opponents yet: the Simpsons and Springfield’s mightiest heroes. The God of Mischief teams up with Bart Simpson in the ultimate crossover event paying tribute to the Marvel Cinematic Universe of superheroes and villains.","popularity":1278.673,"poster_path":"/rtMdtzywcAGOrF6t8fbxJBqpdcq.jpg","release_date":"2021-07-07","title":"The Simpsons: The Good, the Bart, and the Loki","video":false,"vote_average":7.9,"vote_count":316},{"adult":false,"backdrop_path":"/x9p2syPxeK2OYCpz35fsg0EFjlG.jpg","genre_ids":[16,28,12,35,10751,14,878],"id":834404,"original_language":"en","original_title":"Teen Titans Go! See Space Jam","overview":"The Teen Titans are visited by the Nerdlucks, the Space Jam villains who tried to capture Michael Jordan and the Looney Tunes. Astonished to discover his fellow Titans have never seen Space Jam, Cyborg organizes an exclusive watch party. Of course, if the Titans are watching a movie, don't expect silence to be golden. Raven and Starfire provide the commentary, Cyborg presents the fun facts, Beast Boy points out the butt shots, and Robin, but Robin doesn't trust their new alien friends. Are the Nerdlucks here to attend an innocent watch party, or do they have more sinister motives up their sleeves?","popularity":1326.877,"poster_path":"/rMoVOCw6DF3zC6hS76ZhQMWiXNX.jpg","release_date":"2021-06-20","title":"Teen Titans Go! See Space Jam","video":false,"vote_average":7.2,"vote_count":76},{"adult":false,"backdrop_path":"/70AV2Xx5FQYj20labp0EGdbjI6E.jpg","genre_ids":[80,28,53],"id":637649,"original_language":"en","original_title":"Wrath of Man","overview":"A cold and mysterious new security guard for a Los Angeles cash truck company surprises his co-workers when he unleashes precision skills during a heist. The crew is left wondering who he is and where he came from. Soon, the marksman's ultimate motive becomes clear as he takes dramatic and irrevocable steps to settle a score.","popularity":1558.624,"poster_path":"/M7SUK85sKjaStg4TKhlAVyGlz3.jpg","release_date":"2021-04-22","title":"Wrath of Man","video":false,"vote_average":7.9,"vote_count":1672},{"adult":false,"backdrop_path":null,"genre_ids":[28,80],"id":385687,"original_language":"en","original_title":"Fast & Furious 10","overview":"The tenth installment in the Fast Saga.","popularity":1168.467,"poster_path":"/2DyEk84XnbJEdPlGF43crxfdtHH.jpg","title":"Fast & Furious 10","video":false,"vote_average":0,"vote_count":0},{"adult":false,"backdrop_path":"/AsqUSUqXrK8JfH8WEQnCXVbIAv6.jpg","genre_ids":[878,53,27],"id":520763,"original_language":"en","original_title":"A Quiet Place Part II","overview":"Following the events at home, the Abbott family now face the terrors of the outside world. Forced to venture into the unknown, they realize that the creatures that hunt by sound are not the only threats that lurk beyond the sand path.","popularity":1436.462,"poster_path":"/4q2hz2m8hubgvijz8Ez0T2Os2Yv.jpg","release_date":"2021-05-21","title":"A Quiet Place Part II","video":false,"vote_average":7.7,"vote_count":2303},{"adult":false,"backdrop_path":"/6FzuNrApEc71aJ3CwwkpadbNled.jpg","genre_ids":[28,35,80],"id":581644,"original_language":"en","original_title":"The Misfits","overview":"After being recruited by a group of unconventional thieves, renowned criminal Richard Pace finds himself caught up in an elaborate gold heist that promises to have far-reaching implications on his life and the lives of countless others.","popularity":1460.728,"poster_path":"/dPOyYnCkRbWAEem85N3VFpQODf5.jpg","release_date":"2021-06-10","title":"The Misfits","video":false,"vote_average":5.4,"vote_count":85}],"total_pages":500,"total_results":10000} \ No newline at end of file diff --git a/src/utils/persons/persons.json b/src/utils/persons/persons.json new file mode 100644 index 0000000..42e0381 --- /dev/null +++ b/src/utils/persons/persons.json @@ -0,0 +1 @@ +{"page":1,"results":[{"adult":false,"gender":1,"id":2472427,"known_for":[{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[53],"id":673407,"media_type":"movie","original_language":"ko","original_title":"불량탐정: 먹이사슬","overview":"Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.","poster_path":"/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg","release_date":"2020-01-22","title":"Bad Detective: Food Chain","video":false,"vote_average":6,"vote_count":1},{"adult":false,"backdrop_path":"/4mFrNiawrfHz2W9yryFcsrahYxA.jpg","genre_ids":[10749],"id":658228,"media_type":"movie","original_language":"ko","original_title":"딸의 애인 3","overview":"Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.","poster_path":"/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg","release_date":"2019-12-05","title":"My Daughter's Lover 3","video":false,"vote_average":0,"vote_count":0}],"known_for_department":"Acting","name":"Tae Joo","popularity":91.381,"profile_path":"/nGpa3za6yxSciko2J8tY8gbsgyT.jpg"},{"adult":false,"gender":1,"id":5081,"known_for":[{"adult":false,"backdrop_path":"/auZIuHEUec5tBTns3tCRXfayxZq.jpg","genre_ids":[28,878],"id":137113,"media_type":"movie","original_language":"en","original_title":"Edge of Tomorrow","overview":"Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.","poster_path":"/uUHvlkLavotfGsNtosDy8ShsIYF.jpg","release_date":"2014-05-27","title":"Edge of Tomorrow","video":false,"vote_average":7.6,"vote_count":10808},{"adult":false,"backdrop_path":"/roYyPiQDQKmIKUEhO912693tSja.jpg","genre_ids":[27,18,878],"id":447332,"media_type":"movie","original_language":"en","original_title":"A Quiet Place","overview":"A family is forced to live in silence while hiding from creatures that hunt by sound.","poster_path":"/nAU74GmpUk7t5iklEp3bufwDq4n.jpg","release_date":"2018-04-03","title":"A Quiet Place","video":false,"vote_average":7.4,"vote_count":10440},{"adult":false,"backdrop_path":"/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg","genre_ids":[35,18,10749],"id":350,"media_type":"movie","original_language":"en","original_title":"The Devil Wears Prada","overview":"Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.","poster_path":"/8912AsVuS7Sj915apArUFbv6F9L.jpg","release_date":"2006-06-30","title":"The Devil Wears Prada","video":false,"vote_average":7.4,"vote_count":9384}],"known_for_department":"Acting","name":"Emily Blunt","popularity":78.564,"profile_path":"/jqlqq3knztTnty5rcMg5evqZRCa.jpg"},{"adult":false,"gender":2,"id":5009,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8945},{"backdrop_path":"/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg","first_air_date":"2005-09-13","genre_ids":[18,9648,10765],"id":1622,"media_type":"tv","name":"Supernatural","origin_country":["US"],"original_language":"en","original_name":"Supernatural","overview":"When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ","poster_path":"/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg","vote_average":8.2,"vote_count":5284},{"backdrop_path":"/xSM3Ba3Nabs2p0wW8vTJP0yx3Zv.jpg","first_air_date":"2012-10-10","genre_ids":[80,18,9648,10759],"id":1412,"media_type":"tv","name":"Arrow","origin_country":["US"],"original_language":"en","original_name":"Arrow","overview":"Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.","poster_path":"/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg","vote_average":6.7,"vote_count":4651}],"known_for_department":"Acting","name":"Peter Benson","popularity":72.87,"profile_path":"/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg"},{"adult":false,"gender":2,"id":18918,"known_for":[{"adult":false,"backdrop_path":"/zJDMuXQDraHjtF53wikmyBQIcYe.jpg","genre_ids":[28,12,35,14],"id":353486,"media_type":"movie","original_language":"en","original_title":"Jumanji: Welcome to the Jungle","overview":"The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.","poster_path":"/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg","release_date":"2017-12-09","title":"Jumanji: Welcome to the Jungle","video":false,"vote_average":6.8,"vote_count":10861},{"adult":false,"backdrop_path":"/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg","genre_ids":[12,35,10751,16],"id":277834,"media_type":"movie","original_language":"en","original_title":"Moana","overview":"In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.","poster_path":"/4JeejGugONWpJkbnvL12hVoYEDa.jpg","release_date":"2016-11-23","title":"Moana","video":false,"vote_average":7.6,"vote_count":9669},{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8789}],"known_for_department":"Acting","name":"Dwayne Johnson","popularity":66.067,"profile_path":"/cgoy7t5Ve075naBPcewZrc08qGw.jpg"},{"adult":false,"gender":2,"id":12835,"known_for":[{"adult":false,"backdrop_path":"/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg","genre_ids":[28,878,12],"id":118340,"media_type":"movie","original_language":"en","original_title":"Guardians of the Galaxy","overview":"Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.","poster_path":"/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg","release_date":"2014-07-30","title":"Guardians of the Galaxy","video":false,"vote_average":7.9,"vote_count":22837},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22307},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18696}],"known_for_department":"Acting","name":"Vin Diesel","popularity":52.966,"profile_path":"/7rwSXluNWZAluYMOEWBxkPmckES.jpg"},{"adult":false,"gender":1,"id":1245,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25080},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22307},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18696}],"known_for_department":"Acting","name":"Scarlett Johansson","popularity":52.473,"profile_path":"/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg"},{"adult":false,"gender":1,"id":1039305,"known_for":[{"adult":false,"backdrop_path":"/sbtqmaprl6fzhPLaOrFWYJ8ZDli.jpg","genre_ids":[16,18],"id":242828,"media_type":"movie","original_language":"ja","original_title":"思い出のマーニー","overview":"Upon being sent to live with relatives in the countryside due to an illness, an emotionally distant adolescent girl becomes obsessed with an abandoned mansion and infatuated with a girl who lives there - a girl who may or may not be real.","poster_path":"/vug1dvDI1tSa60Z8qjCuUE7ntkO.jpg","release_date":"2014-07-19","title":"When Marnie Was There","video":false,"vote_average":8,"vote_count":1208},{"adult":false,"backdrop_path":"/hnVxxTK1IC9VVivyqf1v74P0Ent.jpg","genre_ids":[28,878,14,27],"id":276624,"media_type":"movie","original_language":"ja","original_title":"アイアムアヒーロー","overview":"Hideo Suzuki is a 35-year-old mangaka assistant, whose life seem to be stuck around his exhausting but low-paying job, unfulfilled dreams, strange hallucinations and unsatisfying relationships. He sees himself as a supporting character in his own life, has low self-esteem, resulting in frustration. One day, the world as Hideo knows it is shattered by the presence of a disease that turns people into homicidal maniacs, whose first instinct is to attack and devour the nearest human.","poster_path":"/4RnmHtCLtbBHD9jagVlcSzJTWX6.jpg","release_date":"2016-04-23","title":"I Am a Hero","video":false,"vote_average":7.3,"vote_count":214},{"adult":false,"backdrop_path":"/nR6tcBslmfpC6tHW6GPs7fcHV8g.jpg","genre_ids":[28,12,18],"id":602063,"media_type":"movie","original_language":"ja","original_title":"るろうに剣心 最終章 The Final","overview":"In 1879, Kenshin and his allies face their strongest enemy yet: his former brother-in-law Enishi Yukishiro and his minions, who've vowed their revenge.","poster_path":"/7bbEASVf9XWtfxWiuWUMY3uyhTb.jpg","release_date":"2021-04-23","title":"Rurouni Kenshin: The Final","video":false,"vote_average":7.9,"vote_count":197}],"known_for_department":"Acting","name":"Kasumi Arimura","popularity":45.913,"profile_path":"/irMWWtJQu3kWEOB9JUflKBuhh8H.jpg"},{"adult":false,"gender":2,"id":976,"known_for":[{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8794},{"adult":false,"backdrop_path":"/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg","genre_ids":[28,53,80,18],"id":168259,"media_type":"movie","original_language":"en","original_title":"Furious 7","overview":"Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.","poster_path":"/wurKlC3VKUgcfsn0K51MJYEleS2.jpg","release_date":"2015-04-01","title":"Furious 7","video":false,"vote_average":7.3,"vote_count":8555},{"adult":false,"backdrop_path":"/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg","genre_ids":[28,80,53],"id":337339,"media_type":"movie","original_language":"en","original_title":"The Fate of the Furious","overview":"When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.","poster_path":"/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg","release_date":"2017-04-12","title":"The Fate of the Furious","video":false,"vote_average":6.9,"vote_count":8407}],"known_for_department":"Acting","name":"Jason Statham","popularity":43.232,"profile_path":"/lldeQ91GwIVff43JBrpdbAAeYWj.jpg"},{"adult":false,"gender":1,"id":3967,"known_for":[{"adult":false,"backdrop_path":"/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg","genre_ids":[35,18,14],"id":9339,"media_type":"movie","original_language":"en","original_title":"Click","overview":"A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.","poster_path":"/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg","release_date":"2006-06-23","title":"Click","video":false,"vote_average":6.2,"vote_count":5434},{"adult":false,"backdrop_path":"/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg","genre_ids":[14,28,53],"id":277,"media_type":"movie","original_language":"en","original_title":"Underworld","overview":"Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.","poster_path":"/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg","release_date":"2003-09-19","title":"Underworld","video":false,"vote_average":6.8,"vote_count":4912},{"adult":false,"backdrop_path":"/zv1xOEQzebKyku349qDZ085FZlO.jpg","genre_ids":[10752,36,10749,18],"id":676,"media_type":"movie","original_language":"en","original_title":"Pearl Harbor","overview":"The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.","poster_path":"/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg","release_date":"2001-05-21","title":"Pearl Harbor","video":false,"vote_average":6.9,"vote_count":4853}],"known_for_department":"Acting","name":"Kate Beckinsale","popularity":37.205,"profile_path":"/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg"},{"adult":false,"gender":1,"id":58369,"known_for":[{"backdrop_path":"/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg","first_air_date":"2010-10-31","genre_ids":[10759,18,10765],"id":1402,"media_type":"tv","name":"The Walking Dead","origin_country":["US"],"original_language":"en","original_name":"The Walking Dead","overview":"Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.","poster_path":"/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg","vote_average":8.1,"vote_count":11220},{"backdrop_path":"/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg","first_air_date":"2011-10-05","genre_ids":[18,9648,10765],"id":1413,"media_type":"tv","name":"American Horror Story","origin_country":["US"],"original_language":"en","original_name":"American Horror Story","overview":"An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.","poster_path":"/8NMACR0OE5bwC27rE15f8ManNBO.jpg","vote_average":8.1,"vote_count":3779},{"backdrop_path":"/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg","first_air_date":"1999-01-31","genre_ids":[16,35],"id":1434,"media_type":"tv","name":"Family Guy","origin_country":["US"],"original_language":"en","original_name":"Family Guy","overview":"Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.","poster_path":"/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg","vote_average":7,"vote_count":2866}],"known_for_department":"Acting","name":"Alexandra Breckenridge","popularity":36.376,"profile_path":"/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg"},{"adult":false,"gender":1,"id":1522703,"known_for":[{"backdrop_path":"/sVmEr2z1kD2H5lhi4G9qQoVLLsD.jpg","first_air_date":"2020-07-08","genre_ids":[18,35],"id":104877,"media_type":"tv","name":"Love Is In The Air","origin_country":["TR"],"original_language":"tr","original_name":"Sen Çal Kapımı","overview":"Eda, who ties all her hopes to her education, confronts Serkan Bolat, who cuts off her international education scholarship and leaves her with high school diploma. Serkan Bolat offers Eda to give her scholarship back if she pretends to be his fiance for two months. Although Eda rejects the offer of this man as she hates him, she has to accept it when the conditions change. While pretending to be engaged, Serkan and Eda begin to experience a passionate, challenging relationship that will make them forget all they know right. Because love is difficult. And that's why it's amazing.","poster_path":"/nzBenFJ2D2MCWTwTt2uc4BGWLtA.jpg","vote_average":8.2,"vote_count":976},{"backdrop_path":"/vKV0XxFTWJDdzL39Dddp4uLri0A.jpg","first_air_date":"2015-06-18","genre_ids":[18],"id":64164,"media_type":"tv","name":"Sun's Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Güneşin Kızları","overview":"A teacher and a mother of three teenage daughters , gunes agrees to move from her home city Izmir to Istanbul to be with mysterious wealthy man who has fallen for her. Gunesin kizlari follows the never ending drama of Güneş and her daughters they face the events of their newly transformed lives.","poster_path":"/kVJbUlcWGyLp0H1xXLo1OicmU8x.jpg","vote_average":7.7,"vote_count":53},{"backdrop_path":"/eOLGKXZZrjJ8bvZvC5eGzQPlyGU.jpg","first_air_date":"2016-06-15","genre_ids":[35,18],"id":67570,"media_type":"tv","name":"Ask Laftan Anlamaz","origin_country":["TR"],"original_language":"tr","original_name":"Ask Laftan Anlamaz","overview":"Hayat is a country girl with strict parents. She is in a love hate relationship with her boss Murat. Hayat is full of secrets that can ruin her career and relationship.","poster_path":"/tnyM86EpqVRTHZKQenaUrbsTAGG.jpg","vote_average":8.8,"vote_count":8}],"known_for_department":"Acting","name":"Hande Erçel","popularity":36.07,"profile_path":"/heZOn03SAJkwbmTAdk7IXA5yMTV.jpg"},{"adult":false,"gender":1,"id":109513,"known_for":[{"adult":false,"backdrop_path":"/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg","genre_ids":[28,18,53],"id":254128,"media_type":"movie","original_language":"en","original_title":"San Andreas","overview":"In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.","poster_path":"/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg","release_date":"2015-05-27","title":"San Andreas","video":false,"vote_average":6.2,"vote_count":6703},{"adult":false,"backdrop_path":"/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg","genre_ids":[35,28,80],"id":339846,"media_type":"movie","original_language":"en","original_title":"Baywatch","overview":"Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.","poster_path":"/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg","release_date":"2017-05-12","title":"Baywatch","video":false,"vote_average":6.1,"vote_count":6508},{"adult":false,"backdrop_path":"/sEyNWq9985lyUrwayWnvicT4FHA.jpg","genre_ids":[12,14,10751],"id":32657,"media_type":"movie","original_language":"en","original_title":"Percy Jackson & the Olympians: The Lightning Thief","overview":"Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.","poster_path":"/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg","release_date":"2010-02-01","title":"Percy Jackson & the Olympians: The Lightning Thief","video":false,"vote_average":6.2,"vote_count":5857}],"known_for_department":"Acting","name":"Alexandra Daddario","popularity":35.572,"profile_path":"/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg"},{"adult":false,"gender":2,"id":1991255,"known_for":[{"backdrop_path":"/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg","first_air_date":"2017-03-25","genre_ids":[18],"id":76560,"media_type":"tv","name":"Mrs. Fazilet and Her Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Fazilet Hanım ve Kızları","overview":"The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.","poster_path":"/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg","vote_average":9.4,"vote_count":5},{"backdrop_path":"/lDbRMHVAGdkySaabD7KyyEbouoG.jpg","first_air_date":"2018-07-22","genre_ids":[18],"id":80229,"media_type":"tv","name":"Never Let My Hand Go","origin_country":["TR"],"original_language":"tr","original_name":"Elimi Bırakma","overview":"The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.","poster_path":"/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg","vote_average":10,"vote_count":4},{"backdrop_path":"/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg","first_air_date":"2021-06-15","genre_ids":[10766,18,35],"id":126255,"media_type":"tv","name":"Bir Ada Masali","origin_country":["TR"],"original_language":"tr","original_name":"Ada Masalı","overview":"","poster_path":"/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg","vote_average":10,"vote_count":1}],"known_for_department":"Acting","name":"Alp Navruz","popularity":35.135,"profile_path":"/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg"},{"adult":false,"gender":1,"id":98591,"known_for":[{"backdrop_path":"/7ggAjuO3g4AMt3p1ZsGeBNqLMsb.jpg","first_air_date":"1999-04-03","genre_ids":[10759],"id":896,"media_type":"tv","name":"The Lost World","origin_country":["AU"],"original_language":"en","original_name":"The Lost World","overview":"Early 20th-century adventurers find themselves fighting for survival after their hot-air balloon crashes into a remote part of the Amazon, stranding them on a prehistoric plateau.","poster_path":"/whA1PLf8nslT3R7kSvCssTCCUba.jpg","vote_average":7,"vote_count":50},{"adult":false,"genre_ids":[28,35,18,27],"id":48314,"media_type":"movie","original_language":"en","original_title":"Scarecrow","overview":"A high school outcast who lives in a trailer with his mother finally meets a friend. He wants to ask her if they can go the next step, but then sees her kissing another boy at a party. He runs home only to find his mother having sex with a drunk. He starts yelling, but is countered by the drunk when he suffocates him and makes him look like he hung himself. The scarecrow comes in when the boy's soul is pushed into it. He goes out for revenge.","poster_path":"/7K0SAUgDlcP2iymUypBeU0A7c0v.jpg","release_date":"2002-12-30","title":"Scarecrow","video":false,"vote_average":4.9,"vote_count":31},{"adult":false,"genre_ids":[27,53],"id":74807,"media_type":"movie","original_language":"en","original_title":"Cubbyhouse","overview":"Following a messy divorce, Lynn Graham moves back home to Australia with her three American-born children in tow. Buying an old house on the same street as her sister seems like a good idea, but its low price reflects a unpleasant history of murder and satanic ritual. Before long, her two youngest kids have fallen under the spell of an evil force emanating from a sinister cubbyhouse in the back garden, and bloody past events look set to repeat themselves.","poster_path":"/cBXOXhC315cyqZZkUvZV7mLoDDu.jpg","release_date":"2001-12-10","title":"Cubbyhouse","video":false,"vote_average":3.2,"vote_count":13}],"known_for_department":"Acting","name":"Belinda Gavin","popularity":34.416,"profile_path":"/mKaV0ClUBBl6oJtPPEGW5BK48ej.jpg"},{"adult":false,"gender":1,"id":142115,"known_for":[{"backdrop_path":"/eyG9srihv68ScRdEbJZj66WT4O0.jpg","first_air_date":"2014-10-07","genre_ids":[18,10765],"id":60735,"media_type":"tv","name":"The Flash","origin_country":["US"],"original_language":"en","original_name":"The Flash","overview":"After a particle accelerator causes a freak storm, CSI Investigator Barry Allen is struck by lightning and falls into a coma. Months later he awakens with the power of super speed, granting him the ability to move through Central City like an unseen guardian angel. Though initially excited by his newfound powers, Barry is shocked to discover he is not the only \"meta-human\" who was created in the wake of the accelerator explosion -- and not everyone is using their new powers for good. Barry partners with S.T.A.R. Labs and dedicates his life to protect the innocent. For now, only a few close friends and associates know that Barry is literally the fastest man alive, but it won't be long before the world learns what Barry Allen has become...The Flash.","poster_path":"/lJA2RCMfsWoskqlQhXPSLFQGXEJ.jpg","vote_average":7.7,"vote_count":8173},{"adult":false,"backdrop_path":"/5C8bfwglg91uZhc2fbfpSjNGamV.jpg","genre_ids":[27,9648],"id":591273,"media_type":"movie","original_language":"en","original_title":"Fear Street: 1994","overview":"In 1994, a group of teenagers discovers that the terrifying events which have haunted their town for generations ​are all connected — and that they may be the next targets.","poster_path":"/9J9Wy39ZjrVmfk7yMkulpcI5sy0.jpg","release_date":"2021-06-28","title":"Fear Street: 1994","video":false,"vote_average":6.8,"vote_count":845},{"adult":false,"backdrop_path":"/7jpj6ek9dftr3IXm7Pnq2pkhir3.jpg","genre_ids":[27,9648],"id":591274,"media_type":"movie","original_language":"en","original_title":"Fear Street: 1978","overview":"In 1978, two rival groups at Camp Nightwing must band together to solve a terrifying mystery when horrors from their towns' history come alive.","poster_path":"/5dNTxhoGDTHHGqUTdxcr4H1dqlU.jpg","release_date":"2021-07-08","title":"Fear Street: 1978","video":false,"vote_average":7.4,"vote_count":668}],"known_for_department":"Acting","name":"Kiana Madeira","popularity":34.048,"profile_path":"/mTXIwrrek6mDt8ODLmoV32fe7IO.jpg"},{"adult":false,"gender":1,"id":1734,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8941},{"backdrop_path":"/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg","first_air_date":"2001-10-16","genre_ids":[10765,10759,18],"id":4604,"media_type":"tv","name":"Smallville","origin_country":["US"],"original_language":"en","original_name":"Smallville","overview":"The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.","poster_path":"/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg","vote_average":8.2,"vote_count":2601},{"backdrop_path":"/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg","first_air_date":"1990-11-18","genre_ids":[10765,18,9648],"id":19614,"media_type":"tv","name":"It","origin_country":["US"],"original_language":"en","original_name":"It","overview":"In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.","poster_path":"/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg","vote_average":6.9,"vote_count":2275}],"known_for_department":"Acting","name":"Annette O'Toole","popularity":33.58,"profile_path":"/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg"},{"adult":false,"gender":1,"id":2374721,"known_for":[{"adult":false,"backdrop_path":"/h1BoDAepuEmEMC2qhjBONAYhre7.jpg","genre_ids":[10749],"id":698009,"media_type":"movie","original_language":"en","original_title":"어린 처제 3","overview":"Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...","poster_path":"/swEYylf53k2aGZHjv9PuIxalWQE.jpg","release_date":"2019-05-24","title":"Young Sister-in-law 3 - 2019","video":false,"vote_average":5,"vote_count":2},{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[10749],"id":699173,"media_type":"movie","original_language":"ko","original_title":"유부녀들: 남편 바꾸기","overview":"After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...","poster_path":"/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg","release_date":"2020-01-23","title":"Married Women: Husband Change","video":false,"vote_average":5,"vote_count":1}],"known_for_department":"Acting","name":"Han Seo-ah","popularity":32.855,"profile_path":"/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg"},{"adult":false,"gender":2,"id":10859,"known_for":[{"adult":false,"backdrop_path":"/en971MEXui9diirXlogOrPKmsEn.jpg","genre_ids":[28,12,35],"id":293660,"media_type":"movie","original_language":"en","original_title":"Deadpool","overview":"Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.","poster_path":"/3E53WEZJqP6aM84D8CckXx4pIHw.jpg","release_date":"2016-02-09","title":"Deadpool","video":false,"vote_average":7.6,"vote_count":25249},{"adult":false,"backdrop_path":"/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg","genre_ids":[28,35,12],"id":383498,"media_type":"movie","original_language":"en","original_title":"Deadpool 2","overview":"Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.","poster_path":"/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg","release_date":"2018-05-10","title":"Deadpool 2","video":false,"vote_average":7.5,"vote_count":13505},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9915}],"known_for_department":"Acting","name":"Ryan Reynolds","popularity":32.364,"profile_path":"/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg"},{"adult":false,"gender":2,"id":91606,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25087},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22311},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18703}],"known_for_department":"Acting","name":"Tom Hiddleston","popularity":32.1,"profile_path":"/mclHxMm8aPlCPKptP67257F5GPo.jpg"},{"adult":false,"gender":1,"id":1373737,"known_for":[{"adult":false,"backdrop_path":"/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg","genre_ids":[18,10749],"id":331482,"media_type":"movie","original_language":"en","original_title":"Little Women","overview":"Four sisters come of age in America in the aftermath of the Civil War.","poster_path":"/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg","release_date":"2019-12-25","title":"Little Women","video":false,"vote_average":7.9,"vote_count":3939},{"adult":false,"backdrop_path":"/g6GtOfXtzDpY73ef7wludoorTti.jpg","genre_ids":[27,18,9648],"id":530385,"media_type":"movie","original_language":"en","original_title":"Midsommar","overview":"Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.","poster_path":"/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg","release_date":"2019-07-03","title":"Midsommar","video":false,"vote_average":7.1,"vote_count":3907},{"adult":false,"backdrop_path":"/keIxh0wPr2Ymj0Btjh4gW7JJ89e.jpg","genre_ids":[28,12,53,878],"id":497698,"media_type":"movie","original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662}],"known_for_department":"Acting","name":"Florence Pugh","popularity":31.988,"profile_path":"/75PvULemW8BvheSKtPMoBBsvPLh.jpg"}],"total_pages":500,"total_results":10000} \ No newline at end of file From 8889a80a9d420e9df35c1e8b9f62bb07c58ac2f7 Mon Sep 17 00:00:00 2001 From: Brahim Date: Mon, 2 Aug 2021 12:02:56 +0200 Subject: [PATCH 20/36] feat: get single movie by id --- src/moviedb.js | 9 +++-- src/utils/chalks.js | 34 ++++++++++++++-- src/utils/entities/Movie.js | 47 +++++++++++++++++++++- src/utils/entities/Review.js | 31 +++++++++++++++ src/utils/getMethods.js | 76 ++++++++++++++++++++++++++---------- 5 files changed, 167 insertions(+), 30 deletions(-) create mode 100644 src/utils/entities/Review.js diff --git a/src/moviedb.js b/src/moviedb.js index 68c898e..c0bcbce 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -27,7 +27,7 @@ program .description("Make a network request to fetch the data of a single person") .requiredOption("-i, --id ", "The id of the person") .action(function handleAction(option) { - if (option.id) get.PersonById(option.id); + get.PersonById(option.id); }); program @@ -43,10 +43,11 @@ program program .command("get-movie") .description("Make a network request to fetch the data of a single person") - .action(function handleAction() { - console.log("hello-world"); + .requiredOption("-i,--id ", "The id of the movie") + .option("-r, --reviews", "Fetch the reviews of the movie") + .action(function handleAction(opt) { + get.SingleMovie(opt.id, opt.reviews); }); // error on unknown commands - program.parse(process.argv); diff --git a/src/utils/chalks.js b/src/utils/chalks.js index 0f40821..b7de4a6 100644 --- a/src/utils/chalks.js +++ b/src/utils/chalks.js @@ -4,6 +4,7 @@ const chalk = require("chalk"); const Person = require("./entities/Person.js"); const Movie = require("./entities/Movie.js"); +const Review = require("./entities/Review.js"); const log = console.log; @@ -65,13 +66,13 @@ function chalkMovie(page, spinner, nowPlaying) { chalkMovie.renderPopular(); if (index == array.length - 1) { - log(chalk.white("---------------------------------------------")); + log(chalk.white("________________________________________________")); log(chalk.white(`Page: ${page.page} of: ${page.total_pages}`)); log("\n"); return; } - log(chalk.white("----------------------")); + log(chalk.white("_________________________")); }); if (nowPlaying) spinner.succeed("Movies playing now data loaded"); @@ -85,4 +86,31 @@ function chalkMovie(page, spinner, nowPlaying) { } } -module.exports = { chalkPeople, chalkMovie, chalkPersonId }; +/** + * Render Movie in command line + * @param movie : Response object of type movie or reviews + * @param spinner : a Spinner to render + * @param reviews : reviews of the movie + */ +function chalkSingleMovie(body, spinner, reviews) { + try { + setTimeout(() => { + if (reviews) { + const chalkReviews = new Review(body); + chalkReviews.renderMovieReviews(); + + spinner.succeed("Movie reviews data loaded"); + } else { + const chalkMovie = new Movie(body); + chalkMovie.renderSingleMovie(); + + spinner.succeed("Movie data loaded"); + } + log("\n"); + }, 1000); + } catch (error) { + spinner.fail(error.message); + } +} + +module.exports = { chalkPeople, chalkMovie, chalkPersonId, chalkSingleMovie }; diff --git a/src/utils/entities/Movie.js b/src/utils/entities/Movie.js index 7690cf2..edae033 100644 --- a/src/utils/entities/Movie.js +++ b/src/utils/entities/Movie.js @@ -1,5 +1,3 @@ -/** @format */ - const chalk = require("chalk"); const log = console.log; @@ -8,6 +6,12 @@ class Movie { this.id = movie.id; this.title = movie.title; this.release_date = movie.release_date; + this.release_date = movie.release_date; + this.runtime = movie.runtime; + this.vote_count = movie.vote_count; + this.overview = movie.overview; + this.genres = movie.genres; + this.spoken_languages = movie.spoken_languages; } renderPopular() { @@ -19,6 +23,45 @@ class Movie { log("\n"); } + + renderSingleMovie() { + log(chalk.white("\n_________________________")); + log("\n"); + + log("Movie: \n"); + log(`ID: ${chalk.white(this.id)}`); + log(`Title: ${chalk.blue.bold(this.title)}`); + log(`Release Date: ${chalk.white(this.release_date)}`); + + log(`Runtime: ${chalk.white(this.runtime)}`); + log(`Vote Count: ${chalk.white(this.vote_count)}`); + log(`Overview: ${chalk.white(this.overview)}`); + log("\n"); + + log(`Genres:\n`); + if (this.genres.length) + this.genres.map((genre) => log(chalk.white(`\t${genre.name}`))); + else log("The movie doesn’t have a declared genre"); + log("\n"); + + log(`Spoken languages:\n`); + if (this.spoken_languages.length) + this.spoken_languages.map((lang) => log(chalk.white(`\t${lang.name}`))); + else log(`The movie: ${movie.id} doesn’t have any declared languages`); + log("\n"); + } + + renderMovieReviews() { + log(chalk.white("\n_________________________")); + log("\n"); + + if (this.spoken_languages.length) + this.spoken_languages.map((lang) => log(chalk.white(`\t${lang.name}`))); + else log(`The movie: ${movie.id} doesn’t have any declared languages`); + + log(`Author: ${chalk.blue.bold(this.author)}`); + log(`content: ${chalk.white(this.content)}`); + } } module.exports = Movie; diff --git a/src/utils/entities/Review.js b/src/utils/entities/Review.js new file mode 100644 index 0000000..b0876dd --- /dev/null +++ b/src/utils/entities/Review.js @@ -0,0 +1,31 @@ +const chalk = require("chalk"); +const log = console.log; + +class Review { + constructor(movie) { + this.id = movie.id; + this.reviews = movie.results; + } + + renderMovieReviews() { + log(chalk.white("\n_________________________")); + log("\n"); + + if (this.reviews.length) + this.reviews.map((review) => { + log(`Author: ${chalk.blue.bold(review.author)}`); + log(`content: ${chalk.white(this.sliceString(review.content))}`); + }); + else log(`The movie: ${this.id} doesn’t have any reviews`); + + log("\n"); + } + + sliceString(text = "", max = 400) { + if (text.length > max) { + return text.slice(0, max) + "..."; + } + } +} + +module.exports = Review; diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 64b2ffd..c777086 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -6,7 +6,12 @@ const fs = require("fs"); const file = require("./fileReader.js"); const httpConstants = require("./httpConstants.js"); -const { chalkMovie, chalkPeople, chalkPersonId } = require("./chalks.js"); +const { + chalkMovie, + chalkPeople, + chalkPersonId, + chalkSingleMovie, +} = require("./chalks.js"); /** * get People by Pages @@ -19,18 +24,15 @@ function PersonsByPage(page = 1, option) { }; const spinner = ora("Loading popular people").start(); - const req = https.request(options, (res) => { let body = ""; res.on("data", (chunk) => (body += chunk)); res.on("end", () => { if (option) { - //console.log("JSON"); file.savePeople(JSON.parse(body)); spinner.succeed("Popular Persons data loaded"); } else { - //console.log("REQUEST"); chalkPeople(JSON.parse(body), spinner); } }); @@ -40,6 +42,28 @@ function PersonsByPage(page = 1, option) { req.end(); } +/** + * Person by ID functions + * @param id: id of the person + */ +function PersonById(id) { + const options = { + ...httpConstants, + path: `/3/person/${id}?&api_key=${process.env.API_KEY}`, + }; + + const spinner = ora("Fetching the person data...\n").start(); + const req = https.request(options, (res) => { + let body = ""; + + res.on("data", (chunk) => (body += chunk)); + res.on("end", () => chalkPersonId(JSON.parse(body), spinner)); + }); + + req.on("error", (e) => spinner.fail(e.message)); + req.end(); +} + /** * Movies functions - Movies Pagination * @param page: number of page to render @@ -57,7 +81,6 @@ function MoviesByPage(page = 1, nowPlaying) { path: path, }; const spinner = ora("Loading popular movie").start(); - const req = https.request(options, (res) => { let body = ""; @@ -70,33 +93,38 @@ function MoviesByPage(page = 1, nowPlaying) { } /** - * Person by ID functions - */ -function PersonById(id) { + * Movies functions - Movies Pagination + * @param id: id of movie + * @param reviews: user reviews for a movie. + * */ +function SingleMovie(id, reviews) { + let path = `/3/movie/${id}?api_key=${process.env.API_KEY}`; + + if (reviews) { + path = `/3/movie/${id}/reviews?api_key=${process.env.API_KEY}`; + } + const options = { ...httpConstants, - path: `/3/person/${id}?&api_key=${process.env.API_KEY}`, + path: path, }; - const spinner = ora("Fetching the person data...\n").start(); - + const spinner = ora("Fetching the movie data...").start(); const req = https.request(options, (res) => { let body = ""; - res.on("data", (chunk) => { - body += chunk; - }); - res.on("end", () => chalkPersonId(JSON.parse(body), spinner)); + res.on("data", (chunk) => (body += chunk)); + res.on("end", () => chalkSingleMovie(JSON.parse(body), spinner, reviews)); }); req.on("error", (e) => spinner.fail(e.message)); req.end(); } -// * get People by Pages from JSON -// * @param page: number of page to render -// */ - +/** + * get People by Pages from JSON + * @param page: number of page to render + */ function JsonPersonByPage(page = 1) { const spinner = ora("Loading popular people").start(); const path = "./src/utils/json/persons.json"; @@ -108,11 +136,17 @@ function JsonPersonByPage(page = 1) { chalkPeople(user, spinner); }); } else { - spinner.fail("File dosn't exist"); + spinner.fail("File doesn't exist"); } } catch (err) { console.log(err.message); } } -module.exports = { PersonById, PersonsByPage, MoviesByPage, JsonPersonByPage }; +module.exports = { + PersonById, + PersonsByPage, + MoviesByPage, + SingleMovie, + JsonPersonByPage, +}; From f333f7bc26b30a7f382f64ac40d6f4d341305feb Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Mon, 2 Aug 2021 12:08:17 +0200 Subject: [PATCH 21/36] feat: added conditional statment on now playing movies file writer --- src/moviedb.js | 8 +++----- src/utils/fileReader.js | 9 +++++++-- src/utils/getMethods.js | 2 +- src/utils/movies/movies.json | 1 - src/utils/movies/popular-movies.json | 1 + src/utils/persons/{persons.json => popular-persons.json} | 0 6 files changed, 12 insertions(+), 9 deletions(-) delete mode 100644 src/utils/movies/movies.json create mode 100644 src/utils/movies/popular-movies.json rename src/utils/persons/{persons.json => popular-persons.json} (100%) diff --git a/src/moviedb.js b/src/moviedb.js index 7afda98..ae02fcb 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -12,13 +12,12 @@ program.version("0.0.1"); program .command("get-persons") .description("Make a network request to fetch most popular persons") - .option("-p, --popular", "Fetch the popular persons") .requiredOption("--page ", "The page of data results to fetch") + .option("-p, --popular", "Fetch the popular persons") .option("-s, --save", "The page of data to JSON file") .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { - if (opt.page && opt.popular) get.PersonsByPage(opt.page); - if (opt.save) get.PersonsByPage(opt.page, opt.save); + get.PersonsByPage(opt.page, opt.save); if (opt.local) get.JsonPersonByPage(opt.page); }); @@ -39,8 +38,7 @@ program .option("-s, --save", "The page of data to JSON file") .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { - if (opt.page) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); - if (opt.save) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); + get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); if (opt.local) get.JsonMoviesByPage(opt.page, opt.nowPlaying); }); diff --git a/src/utils/fileReader.js b/src/utils/fileReader.js index be156e2..c17d8dd 100644 --- a/src/utils/fileReader.js +++ b/src/utils/fileReader.js @@ -1,20 +1,25 @@ const fs = require('fs'); function savePeople(page) { + const path = './src/utils/persons/popular-persons.json'; const dir = './src/utils/persons'; if (!fs.existsSync(dir)) { fs.mkdirSync(dir, {recursive: true}); } - fs.writeFileSync('./src/utils/persons/persons.json', JSON.stringify(page) , 'utf-8'); + fs.writeFileSync(path, JSON.stringify(page) , 'utf-8'); } function saveMovies(page, flag) { + const path = './src/utils/movies/popular-movies.json'; + const now_path = './src/utils/movies/now-popular-movies.json'; const dir = './src/utils/movies'; + if (!fs.existsSync(dir)) { fs.mkdirSync(dir, {recursive: true}); } - fs.writeFileSync('./src/utils/movies/movies.json', JSON.stringify(page) , 'utf-8'); + if (flag) fs.writeFileSync(path, JSON.stringify(page) , 'utf-8'); + else fs.writeFileSync(now_path, JSON.stringify(page) , 'utf-8'); } module.exports = { savePeople, saveMovies }; \ No newline at end of file diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 41b89ad..73925b8 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -106,7 +106,7 @@ function PersonById(id) { function JsonPersonByPage(page = 1) { const spinner = ora("Loading popular people").start(); - const path = "./src/utils/json/persons.json"; + const path = "./src/utils/persons/persons.json"; try { if (fs.existsSync(path)) { diff --git a/src/utils/movies/movies.json b/src/utils/movies/movies.json deleted file mode 100644 index 121893f..0000000 --- a/src/utils/movies/movies.json +++ /dev/null @@ -1 +0,0 @@ -{"page":1,"results":[{"adult":false,"backdrop_path":"/4epzcO9HGbfc8BUJT0oNkL3rmCO.jpg","genre_ids":[28,80,53],"id":385128,"original_language":"en","original_title":"F9","overview":"Dominic Toretto and his crew battle the most skilled assassin and high-performance driver they've ever encountered: his forsaken brother.","popularity":5860.581,"poster_path":"/bOFaAXmWWXC3Rbv4u4uM9ZSzRXP.jpg","release_date":"2021-05-19","title":"F9","video":false,"vote_average":7.8,"vote_count":1728},{"adult":false,"backdrop_path":"/8s4h9friP6Ci3adRGahHARVd76E.jpg","genre_ids":[16,35,10751,878],"id":379686,"original_language":"en","original_title":"Space Jam: A New Legacy","overview":"When LeBron and his young son Dom are trapped in a digital space by a rogue A.I., LeBron must get them home safe by leading Bugs, Lola Bunny and the whole gang of notoriously undisciplined Looney Tunes to victory over the A.I.'s digitized champions on the court. It's Tunes versus Goons in the highest-stakes challenge of his life.","popularity":4781.639,"poster_path":"/5bFK5d3mVTAvBCXi5NPWH0tYjKl.jpg","release_date":"2021-07-08","title":"Space Jam: A New Legacy","video":false,"vote_average":7.7,"vote_count":1419},{"adult":false,"backdrop_path":"/keIxh0wPr2Ymj0Btjh4gW7JJ89e.jpg","genre_ids":[28,12,53,878],"id":497698,"original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","popularity":4627.772,"poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662},{"adult":false,"backdrop_path":"/gX5UrH1TLVVBwI7WxplW43BD6Z1.jpg","genre_ids":[16,35,12,10751],"id":459151,"original_language":"en","original_title":"The Boss Baby: Family Business","overview":"The Templeton brothers — Tim and his Boss Baby little bro Ted — have become adults and drifted away from each other. But a new boss baby with a cutting-edge approach and a can-do attitude is about to bring them together again … and inspire a new family business.","popularity":3444.216,"poster_path":"/5dExO5G2iaaTxYnLIFKLWofDzyI.jpg","release_date":"2021-07-01","title":"The Boss Baby: Family Business","video":false,"vote_average":7.9,"vote_count":992},{"adult":false,"backdrop_path":"/tehpKMsls621GT9WUQie2Ft6LmP.jpg","genre_ids":[12,53,28,27,37],"id":602223,"original_language":"en","original_title":"The Forever Purge","overview":"All the rules are broken as a sect of lawless marauders decides that the annual Purge does not stop at daybreak and instead should never end as they chase a group of immigrants who they want to punish because of their harsh historical past.","popularity":3702.294,"poster_path":"/uHA5COgDzcxjpYSHHulrKVl6ByL.jpg","release_date":"2021-06-30","title":"The Forever Purge","video":false,"vote_average":7.8,"vote_count":726},{"adult":false,"backdrop_path":"/620hnMVLu6RSZW6a5rwO8gqpt0t.jpg","genre_ids":[16,35,10751,14],"id":508943,"original_language":"en","original_title":"Luca","overview":"Luca and his best friend Alberto experience an unforgettable summer on the Italian Riviera. But all the fun is threatened by a deeply-held secret: they are sea monsters from another world just below the water’s surface.","popularity":3019.966,"poster_path":"/jTswp6KyDYKtvC52GbHagrZbGvD.jpg","release_date":"2021-06-17","title":"Luca","video":false,"vote_average":8.1,"vote_count":3426},{"adult":false,"backdrop_path":"/yizL4cEKsVvl17Wc1mGEIrQtM2F.jpg","genre_ids":[28,878],"id":588228,"original_language":"en","original_title":"The Tomorrow War","overview":"The world is stunned when a group of time travelers arrive from the year 2051 to deliver an urgent message: Thirty years in the future, mankind is losing a global war against a deadly alien species. The only hope for survival is for soldiers and civilians from the present to be transported to the future and join the fight. Among those recruited is high school teacher and family man Dan Forester. Determined to save the world for his young daughter, Dan teams up with a brilliant scientist and his estranged father in a desperate quest to rewrite the fate of the planet.","popularity":2876.135,"poster_path":"/34nDCQZwaEvsy4CFO5hkGRFDCVU.jpg","release_date":"2021-06-30","title":"The Tomorrow War","video":false,"vote_average":8.2,"vote_count":3077},{"adult":false,"backdrop_path":"/zm2kMjiz0u6qdn2XKbEbQkDiltN.jpg","genre_ids":[27],"id":675024,"original_language":"es","original_title":"El exorcismo de Carmen Farías","overview":"Carmen, a brave journalist, discovers soon after her mother's death that she has inherited her grandma's house. She decides to move there without knowing it hides dark secrets.","popularity":2581.669,"poster_path":"/uoTPjx07dxTrC1g3dYeaS2WNVGL.jpg","release_date":"2021-07-05","title":"The Exorcism of Carmen Farias","video":false,"vote_average":6.6,"vote_count":36},{"adult":false,"backdrop_path":"/wjQXZTlFM3PVEUmKf1sUajjygqT.jpg","genre_ids":[878,28,53],"id":581726,"original_language":"en","original_title":"Infinite","overview":"Evan McCauley has skills he never learned and memories of places he has never visited. Self-medicated and on the brink of a mental breakdown, a secret group that call themselves “Infinites” come to his rescue, revealing that his memories are real.","popularity":2045.089,"poster_path":"/niw2AKHz6XmwiRMLWaoyAOAti0G.jpg","release_date":"2021-06-10","title":"Infinite","video":false,"vote_average":7.2,"vote_count":564},{"adult":false,"backdrop_path":"/3OwaKVZf3A2NdnarqKbwzFEhKir.jpg","genre_ids":[16,14,10751,28,12,878],"id":730840,"original_language":"en","original_title":"Trollhunters: Rise of the Titans","overview":"Arcadia may look like an ordinary town, but it lies at the center of magical and mystical lines that makes it a nexus for many battles among otherworldly creatures, including trolls, aliens, and wizards. Now, various heroes will team-up in an epic adventure where they must fight the Arcane Order for control over the magic that binds them all together.","popularity":1837.168,"poster_path":"/zvUNFeTz0Sssb210wSiIiHRjA4W.jpg","release_date":"2021-07-21","title":"Trollhunters: Rise of the Titans","video":false,"vote_average":7.9,"vote_count":108},{"adult":false,"backdrop_path":"/iJ2HVOZT9Kjayrhy21pbGIJs9ey.jpg","genre_ids":[28,12,14],"id":525660,"original_language":"cn","original_title":"真·三国无双","overview":"Warlords, warriors and statesmen wage a battle for supremacy in this fantasy tale based on the hit video games and the \"Romance of the Three Kingdoms.\"","popularity":1915.982,"poster_path":"/7BCTdek5LFHglcgl7shsm7igJAH.jpg","release_date":"2021-04-29","title":"Dynasty Warriors","video":false,"vote_average":6.6,"vote_count":46},{"adult":false,"backdrop_path":"/7WJjFviFBffEJvkAms4uWwbcVUk.jpg","genre_ids":[12,14,35,28],"id":451048,"original_language":"en","original_title":"Jungle Cruise","overview":"Dr. Lily Houghton enlists the aid of wisecracking skipper Frank Wolff to take her down the Amazon in his dilapidated boat. Together, they search for an ancient tree that holds the power to heal – a discovery that will change the future of medicine.","popularity":1946.942,"poster_path":"/9dKCd55IuTT5QRs989m9Qlb7d2B.jpg","release_date":"2021-07-28","title":"Jungle Cruise","video":false,"vote_average":8.2,"vote_count":645},{"adult":false,"backdrop_path":"/6MKr3KgOLmzOP6MSuZERO41Lpkt.jpg","genre_ids":[35,80],"id":337404,"original_language":"en","original_title":"Cruella","overview":"In 1970s London amidst the punk rock revolution, a young grifter named Estella is determined to make a name for herself with her designs. She befriends a pair of young thieves who appreciate her appetite for mischief, and together they are able to build a life for themselves on the London streets. One day, Estella’s flair for fashion catches the eye of the Baroness von Hellman, a fashion legend who is devastatingly chic and terrifyingly haute. But their relationship sets in motion a course of events and revelations that will cause Estella to embrace her wicked side and become the raucous, fashionable and revenge-bent Cruella.","popularity":1635.546,"poster_path":"/rTh4K5uw9HypmpGslcKd4QfHl93.jpg","release_date":"2021-05-26","title":"Cruella","video":false,"vote_average":8.4,"vote_count":4478},{"adult":false,"backdrop_path":"/5HjzYTihkH7EvOWSE7KcsF6pBMM.jpg","genre_ids":[10751,35,12,16,14],"id":522478,"original_language":"en","original_title":"Peter Rabbit 2: The Runaway","overview":"Bea, Thomas, and the rabbits have created a makeshift family, but despite his best efforts, Peter can’t seem to shake his mischievous reputation. Adventuring out of the garden, Peter finds himself in a world where his mischief is appreciated, but when his family risks everything to come looking for him, Peter must figure out what kind of bunny he wants to be.","popularity":1481.849,"poster_path":"/cycDz68DtTjJrDJ1fV8EBq2Xdpb.jpg","release_date":"2021-03-25","title":"Peter Rabbit 2: The Runaway","video":false,"vote_average":7.4,"vote_count":223},{"adult":false,"backdrop_path":"/zsH3iW60T1t2HBTtrSKzzxJ406J.jpg","genre_ids":[16,35,10751],"id":846214,"original_language":"en","original_title":"The Simpsons: The Good, the Bart, and the Loki","overview":"Loki is banished from Asgard once again and must face his toughest opponents yet: the Simpsons and Springfield’s mightiest heroes. The God of Mischief teams up with Bart Simpson in the ultimate crossover event paying tribute to the Marvel Cinematic Universe of superheroes and villains.","popularity":1278.673,"poster_path":"/rtMdtzywcAGOrF6t8fbxJBqpdcq.jpg","release_date":"2021-07-07","title":"The Simpsons: The Good, the Bart, and the Loki","video":false,"vote_average":7.9,"vote_count":316},{"adult":false,"backdrop_path":"/x9p2syPxeK2OYCpz35fsg0EFjlG.jpg","genre_ids":[16,28,12,35,10751,14,878],"id":834404,"original_language":"en","original_title":"Teen Titans Go! See Space Jam","overview":"The Teen Titans are visited by the Nerdlucks, the Space Jam villains who tried to capture Michael Jordan and the Looney Tunes. Astonished to discover his fellow Titans have never seen Space Jam, Cyborg organizes an exclusive watch party. Of course, if the Titans are watching a movie, don't expect silence to be golden. Raven and Starfire provide the commentary, Cyborg presents the fun facts, Beast Boy points out the butt shots, and Robin, but Robin doesn't trust their new alien friends. Are the Nerdlucks here to attend an innocent watch party, or do they have more sinister motives up their sleeves?","popularity":1326.877,"poster_path":"/rMoVOCw6DF3zC6hS76ZhQMWiXNX.jpg","release_date":"2021-06-20","title":"Teen Titans Go! See Space Jam","video":false,"vote_average":7.2,"vote_count":76},{"adult":false,"backdrop_path":"/70AV2Xx5FQYj20labp0EGdbjI6E.jpg","genre_ids":[80,28,53],"id":637649,"original_language":"en","original_title":"Wrath of Man","overview":"A cold and mysterious new security guard for a Los Angeles cash truck company surprises his co-workers when he unleashes precision skills during a heist. The crew is left wondering who he is and where he came from. Soon, the marksman's ultimate motive becomes clear as he takes dramatic and irrevocable steps to settle a score.","popularity":1558.624,"poster_path":"/M7SUK85sKjaStg4TKhlAVyGlz3.jpg","release_date":"2021-04-22","title":"Wrath of Man","video":false,"vote_average":7.9,"vote_count":1672},{"adult":false,"backdrop_path":null,"genre_ids":[28,80],"id":385687,"original_language":"en","original_title":"Fast & Furious 10","overview":"The tenth installment in the Fast Saga.","popularity":1168.467,"poster_path":"/2DyEk84XnbJEdPlGF43crxfdtHH.jpg","title":"Fast & Furious 10","video":false,"vote_average":0,"vote_count":0},{"adult":false,"backdrop_path":"/AsqUSUqXrK8JfH8WEQnCXVbIAv6.jpg","genre_ids":[878,53,27],"id":520763,"original_language":"en","original_title":"A Quiet Place Part II","overview":"Following the events at home, the Abbott family now face the terrors of the outside world. Forced to venture into the unknown, they realize that the creatures that hunt by sound are not the only threats that lurk beyond the sand path.","popularity":1436.462,"poster_path":"/4q2hz2m8hubgvijz8Ez0T2Os2Yv.jpg","release_date":"2021-05-21","title":"A Quiet Place Part II","video":false,"vote_average":7.7,"vote_count":2303},{"adult":false,"backdrop_path":"/6FzuNrApEc71aJ3CwwkpadbNled.jpg","genre_ids":[28,35,80],"id":581644,"original_language":"en","original_title":"The Misfits","overview":"After being recruited by a group of unconventional thieves, renowned criminal Richard Pace finds himself caught up in an elaborate gold heist that promises to have far-reaching implications on his life and the lives of countless others.","popularity":1460.728,"poster_path":"/dPOyYnCkRbWAEem85N3VFpQODf5.jpg","release_date":"2021-06-10","title":"The Misfits","video":false,"vote_average":5.4,"vote_count":85}],"total_pages":500,"total_results":10000} \ No newline at end of file diff --git a/src/utils/movies/popular-movies.json b/src/utils/movies/popular-movies.json new file mode 100644 index 0000000..8e4b726 --- /dev/null +++ b/src/utils/movies/popular-movies.json @@ -0,0 +1 @@ +{"dates":{"maximum":"2021-07-31","minimum":"2021-06-13"},"page":1,"results":[{"adult":false,"backdrop_path":"/4epzcO9HGbfc8BUJT0oNkL3rmCO.jpg","genre_ids":[28,80,53],"id":385128,"original_language":"en","original_title":"F9","overview":"Dominic Toretto and his crew battle the most skilled assassin and high-performance driver they've ever encountered: his forsaken brother.","popularity":5860.581,"poster_path":"/bOFaAXmWWXC3Rbv4u4uM9ZSzRXP.jpg","release_date":"2021-05-19","title":"F9","video":false,"vote_average":7.8,"vote_count":1728},{"adult":false,"backdrop_path":"/8s4h9friP6Ci3adRGahHARVd76E.jpg","genre_ids":[16,35,10751,878],"id":379686,"original_language":"en","original_title":"Space Jam: A New Legacy","overview":"When LeBron and his young son Dom are trapped in a digital space by a rogue A.I., LeBron must get them home safe by leading Bugs, Lola Bunny and the whole gang of notoriously undisciplined Looney Tunes to victory over the A.I.'s digitized champions on the court. It's Tunes versus Goons in the highest-stakes challenge of his life.","popularity":4781.639,"poster_path":"/5bFK5d3mVTAvBCXi5NPWH0tYjKl.jpg","release_date":"2021-07-08","title":"Space Jam: A New Legacy","video":false,"vote_average":7.7,"vote_count":1419},{"adult":false,"backdrop_path":"/keIxh0wPr2Ymj0Btjh4gW7JJ89e.jpg","genre_ids":[28,12,53,878],"id":497698,"original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","popularity":4627.772,"poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662},{"adult":false,"backdrop_path":"/gX5UrH1TLVVBwI7WxplW43BD6Z1.jpg","genre_ids":[16,35,12,10751],"id":459151,"original_language":"en","original_title":"The Boss Baby: Family Business","overview":"The Templeton brothers — Tim and his Boss Baby little bro Ted — have become adults and drifted away from each other. But a new boss baby with a cutting-edge approach and a can-do attitude is about to bring them together again … and inspire a new family business.","popularity":3444.216,"poster_path":"/5dExO5G2iaaTxYnLIFKLWofDzyI.jpg","release_date":"2021-07-01","title":"The Boss Baby: Family Business","video":false,"vote_average":7.9,"vote_count":992},{"adult":false,"backdrop_path":"/tehpKMsls621GT9WUQie2Ft6LmP.jpg","genre_ids":[12,53,28,27,37],"id":602223,"original_language":"en","original_title":"The Forever Purge","overview":"All the rules are broken as a sect of lawless marauders decides that the annual Purge does not stop at daybreak and instead should never end as they chase a group of immigrants who they want to punish because of their harsh historical past.","popularity":3702.294,"poster_path":"/uHA5COgDzcxjpYSHHulrKVl6ByL.jpg","release_date":"2021-06-30","title":"The Forever Purge","video":false,"vote_average":7.8,"vote_count":726},{"adult":false,"backdrop_path":"/620hnMVLu6RSZW6a5rwO8gqpt0t.jpg","genre_ids":[16,35,10751,14],"id":508943,"original_language":"en","original_title":"Luca","overview":"Luca and his best friend Alberto experience an unforgettable summer on the Italian Riviera. But all the fun is threatened by a deeply-held secret: they are sea monsters from another world just below the water’s surface.","popularity":3019.966,"poster_path":"/jTswp6KyDYKtvC52GbHagrZbGvD.jpg","release_date":"2021-06-17","title":"Luca","video":false,"vote_average":8.1,"vote_count":3426},{"adult":false,"backdrop_path":"/zm2kMjiz0u6qdn2XKbEbQkDiltN.jpg","genre_ids":[27],"id":675024,"original_language":"es","original_title":"El exorcismo de Carmen Farías","overview":"Carmen, a brave journalist, discovers soon after her mother's death that she has inherited her grandma's house. She decides to move there without knowing it hides dark secrets.","popularity":2581.669,"poster_path":"/uoTPjx07dxTrC1g3dYeaS2WNVGL.jpg","release_date":"2021-07-05","title":"The Exorcism of Carmen Farias","video":false,"vote_average":6.6,"vote_count":36},{"adult":false,"backdrop_path":"/7WJjFviFBffEJvkAms4uWwbcVUk.jpg","genre_ids":[12,14,35,28],"id":451048,"original_language":"en","original_title":"Jungle Cruise","overview":"Dr. Lily Houghton enlists the aid of wisecracking skipper Frank Wolff to take her down the Amazon in his dilapidated boat. Together, they search for an ancient tree that holds the power to heal – a discovery that will change the future of medicine.","popularity":1946.942,"poster_path":"/9dKCd55IuTT5QRs989m9Qlb7d2B.jpg","release_date":"2021-07-28","title":"Jungle Cruise","video":false,"vote_average":8.2,"vote_count":645},{"adult":false,"backdrop_path":"/6MKr3KgOLmzOP6MSuZERO41Lpkt.jpg","genre_ids":[35,80],"id":337404,"original_language":"en","original_title":"Cruella","overview":"In 1970s London amidst the punk rock revolution, a young grifter named Estella is determined to make a name for herself with her designs. She befriends a pair of young thieves who appreciate her appetite for mischief, and together they are able to build a life for themselves on the London streets. One day, Estella’s flair for fashion catches the eye of the Baroness von Hellman, a fashion legend who is devastatingly chic and terrifyingly haute. But their relationship sets in motion a course of events and revelations that will cause Estella to embrace her wicked side and become the raucous, fashionable and revenge-bent Cruella.","popularity":1635.546,"poster_path":"/rTh4K5uw9HypmpGslcKd4QfHl93.jpg","release_date":"2021-05-26","title":"Cruella","video":false,"vote_average":8.4,"vote_count":4478},{"adult":false,"backdrop_path":"/5HjzYTihkH7EvOWSE7KcsF6pBMM.jpg","genre_ids":[10751,35,12,16,14],"id":522478,"original_language":"en","original_title":"Peter Rabbit 2: The Runaway","overview":"Bea, Thomas, and the rabbits have created a makeshift family, but despite his best efforts, Peter can’t seem to shake his mischievous reputation. Adventuring out of the garden, Peter finds himself in a world where his mischief is appreciated, but when his family risks everything to come looking for him, Peter must figure out what kind of bunny he wants to be.","popularity":1481.849,"poster_path":"/cycDz68DtTjJrDJ1fV8EBq2Xdpb.jpg","release_date":"2021-03-25","title":"Peter Rabbit 2: The Runaway","video":false,"vote_average":7.4,"vote_count":223},{"adult":false,"backdrop_path":"/70AV2Xx5FQYj20labp0EGdbjI6E.jpg","genre_ids":[80,28,53],"id":637649,"original_language":"en","original_title":"Wrath of Man","overview":"A cold and mysterious new security guard for a Los Angeles cash truck company surprises his co-workers when he unleashes precision skills during a heist. The crew is left wondering who he is and where he came from. Soon, the marksman's ultimate motive becomes clear as he takes dramatic and irrevocable steps to settle a score.","popularity":1558.624,"poster_path":"/M7SUK85sKjaStg4TKhlAVyGlz3.jpg","release_date":"2021-04-22","title":"Wrath of Man","video":false,"vote_average":7.9,"vote_count":1672},{"adult":false,"backdrop_path":"/AsqUSUqXrK8JfH8WEQnCXVbIAv6.jpg","genre_ids":[878,53,27],"id":520763,"original_language":"en","original_title":"A Quiet Place Part II","overview":"Following the events at home, the Abbott family now face the terrors of the outside world. Forced to venture into the unknown, they realize that the creatures that hunt by sound are not the only threats that lurk beyond the sand path.","popularity":1436.462,"poster_path":"/4q2hz2m8hubgvijz8Ez0T2Os2Yv.jpg","release_date":"2021-05-21","title":"A Quiet Place Part II","video":false,"vote_average":7.7,"vote_count":2303},{"adult":false,"backdrop_path":"/6FzuNrApEc71aJ3CwwkpadbNled.jpg","genre_ids":[28,35,80],"id":581644,"original_language":"en","original_title":"The Misfits","overview":"After being recruited by a group of unconventional thieves, renowned criminal Richard Pace finds himself caught up in an elaborate gold heist that promises to have far-reaching implications on his life and the lives of countless others.","popularity":1460.728,"poster_path":"/dPOyYnCkRbWAEem85N3VFpQODf5.jpg","release_date":"2021-06-10","title":"The Misfits","video":false,"vote_average":5.4,"vote_count":85},{"adult":false,"backdrop_path":"/ok7RdHhVngnwkvKj09tvtOvypG.jpg","genre_ids":[80,18,53,9648],"id":649409,"original_language":"en","original_title":"No Sudden Move","overview":"A group of criminals are brought together under mysterious circumstances and have to work together to uncover what's really going on when their simple job goes completely sideways.","popularity":1054.1,"poster_path":"/34BmdJkdvRweC3xJJFlOFQ2IbYc.jpg","release_date":"2021-06-24","title":"No Sudden Move","video":false,"vote_average":6.6,"vote_count":145},{"adult":false,"backdrop_path":"/qi6Edc1OPcyENecGtz8TF0DUr9e.jpg","genre_ids":[27,9648,53],"id":423108,"original_language":"en","original_title":"The Conjuring: The Devil Made Me Do It","overview":"Paranormal investigators Ed and Lorraine Warren encounter what would become one of the most sensational cases from their files. The fight for the soul of a young boy takes them beyond anything they'd ever seen before, to mark the first time in U.S. history that a murder suspect would claim demonic possession as a defense.","popularity":1156.593,"poster_path":"/xbSuFiJbbBWCkyCCKIMfuDCA4yV.jpg","release_date":"2021-05-25","title":"The Conjuring: The Devil Made Me Do It","video":false,"vote_average":7.9,"vote_count":3279},{"adult":false,"backdrop_path":"/9yBVqNruk6Ykrwc32qrK2TIE5xw.jpg","genre_ids":[28,14,12],"id":460465,"original_language":"en","original_title":"Mortal Kombat","overview":"Washed-up MMA fighter Cole Young, unaware of his heritage, and hunted by Emperor Shang Tsung's best warrior, Sub-Zero, seeks out and trains with Earth's greatest champions as he prepares to stand against the enemies of Outworld in a high stakes battle for the universe.","popularity":1009.889,"poster_path":"/nkayOAUBUu4mMvyNf9iHSUiPjF1.jpg","release_date":"2021-04-07","title":"Mortal Kombat","video":false,"vote_average":7.4,"vote_count":3422},{"adult":false,"backdrop_path":"/udBEKoj8Lscao3ovZPdUC1LpFvN.jpg","genre_ids":[9648,53,27],"id":631843,"original_language":"en","original_title":"Old","overview":"A group of families on a tropical holiday discover that the secluded beach where they are staying is somehow causing them to age rapidly – reducing their entire lives into a single day.","popularity":806.465,"poster_path":"/cGLL4SY6jFjjUZkz2eFxgtCtGgK.jpg","release_date":"2021-07-21","title":"Old","video":false,"vote_average":6.4,"vote_count":238},{"adult":false,"backdrop_path":"/xPpXYnCWfjkt3zzE0dpCNME1pXF.jpg","genre_ids":[16,28,12,14],"id":635302,"original_language":"ja","original_title":"劇場版「鬼滅の刃」無限列車編","overview":"Tanjirō Kamado, joined with Inosuke Hashibira, a boy raised by boars who wears a boar's head, and Zenitsu Agatsuma, a scared boy who reveals his true power when he sleeps, boards the Infinity Train on a new mission with the Fire Hashira, Kyōjurō Rengoku, to defeat a demon who has been tormenting the people and killing the demon slayers who oppose it!","popularity":885.572,"poster_path":"/h8Rb9gBr48ODIwYUttZNYeMWeUU.jpg","release_date":"2020-10-16","title":"Demon Slayer -Kimetsu no Yaiba- The Movie: Mugen Train","video":false,"vote_average":8.4,"vote_count":1444},{"adult":false,"backdrop_path":"/A0xW7GgeFQoQmPOn7HcHkBQ5nlb.jpg","genre_ids":[53,28],"id":817451,"original_language":"en","original_title":"Endangered Species","overview":"Jack Halsey takes his wife, their adult kids, and a friend for a dream vacation in Kenya. But as they venture off alone into a wilderness park, their safari van is flipped over by an angry rhino, leaving them injured and desperate. Then, as two of them go in search of rescue, a bloody, vicious encounter with a leopard and a clan of hyenas incites a desperate fight for survival.","popularity":793.01,"poster_path":"/ccsSqbpEqr2KK9eMvoeF8ERFCd5.jpg","release_date":"2021-05-27","title":"Endangered Species","video":false,"vote_average":6.3,"vote_count":74},{"adult":false,"backdrop_path":"/rAgsOIhqRS6tUthmHoqnqh9PIAE.jpg","genre_ids":[28,12,35,878],"id":436969,"original_language":"en","original_title":"The Suicide Squad","overview":"Supervillains Harley Quinn, Bloodsport, Peacemaker and a collection of nutty cons at Belle Reve prison join the super-secret, super-shady Task Force X as they are dropped off at the remote, enemy-infused island of Corto Maltese.","popularity":666.854,"poster_path":"/8EnA3iY6o1gDYn0YZA3WtL5Epnj.jpg","release_date":"2021-07-28","title":"The Suicide Squad","video":false,"vote_average":8.3,"vote_count":64}],"total_pages":56,"total_results":1112} \ No newline at end of file diff --git a/src/utils/persons/persons.json b/src/utils/persons/popular-persons.json similarity index 100% rename from src/utils/persons/persons.json rename to src/utils/persons/popular-persons.json From 08ddfe76badfa00967089e9516f6b033c560ea62 Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Mon, 2 Aug 2021 12:20:10 +0200 Subject: [PATCH 22/36] fix: cammel case const --- src/utils/fileReader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/fileReader.js b/src/utils/fileReader.js index c17d8dd..1a10055 100644 --- a/src/utils/fileReader.js +++ b/src/utils/fileReader.js @@ -12,14 +12,14 @@ function savePeople(page) { function saveMovies(page, flag) { const path = './src/utils/movies/popular-movies.json'; - const now_path = './src/utils/movies/now-popular-movies.json'; + const nowPath = './src/utils/movies/now-popular-movies.json'; const dir = './src/utils/movies'; if (!fs.existsSync(dir)) { fs.mkdirSync(dir, {recursive: true}); } if (flag) fs.writeFileSync(path, JSON.stringify(page) , 'utf-8'); - else fs.writeFileSync(now_path, JSON.stringify(page) , 'utf-8'); + else fs.writeFileSync(nowPath, JSON.stringify(page) , 'utf-8'); } module.exports = { savePeople, saveMovies }; \ No newline at end of file From 4bea1c68673db1c6a5de49f11d5687b351d920fc Mon Sep 17 00:00:00 2001 From: Ghost13 <79602817+imalovelyghost@users.noreply.github.com> Date: Mon, 2 Aug 2021 12:29:50 +0200 Subject: [PATCH 23/36] Update README.md --- README.md | 250 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 144 insertions(+), 106 deletions(-) diff --git a/README.md b/README.md index 8388f4e..bfbba09 100644 --- a/README.md +++ b/README.md @@ -1,163 +1,201 @@ -`#node.js` `#master-in-software-engineering` - + +
+

+ + Logo + -[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-) +

Command Line Application with Node.js

- +

+ This project help us to understeand nodeJs. +
+ Explore the docs » +
+
+ View Demo + · + Report Bug + · + Request Feature +

+

-# Assembler School: Node.js MovieDB CLI App -In this project you will learn how to create a cli app with Node.js. -## Table of Contents + +
+ Table of Contents +
    +
  1. + About The Project + +
  2. +
  3. + Getting Started + +
  4. +
  5. Usage
  6. +
  7. Roadmap
  8. +
  9. Contributing
  10. +
  11. License
  12. +
  13. Contact
  14. +
  15. Acknowledgements
  16. +
+
-- [Getting Started](#getting-started) -- [The Project](#the-project) -- [Project requirements](#project-requirements) -- [Project delivery](#project-delivery) -- [Resources](#resources) -## Getting Started -These instructions will get you a copy of the project up and running on your -local machine for development and testing purposes. + +## About The Project -See deployment for notes on how to deploy the project on a live system. -### The repository +We will be building a CL(command line) app that takes user input,which will be a page (or some other parameters),using a flag argument and uses this argument to make a http request to a REST API,the api we will be using is provided by www.themoviedb.org .The api provides information on a movie/person as requested using a parameter.We would consume this API to get the population of a country. -First, you will need to `clone` or `fork` the repository into your Github -account: +To parse CL arguments we will use Commander,a node package. To make http requests we will use Http Node Module . -Fork on GitHub +Here's why: +* Learn more about the asyncronous workflow of Node.js +* Interact easily with 3rth APi's. +* Learn how to manipulate Tokens. -``` -$ git clone https://github.com/assembler-school/node-moviedb-cli.git -``` +#### Example: -## Contents and Branches Naming Strategy +[![Node MovieDB Cli][product-screenshot]](https://example.com) -The repository is made up of several branches that include the contents of each -section. +### Built With -The branches follow a naming strategy like the following: +This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples. -- `main`: includes the main contents and the instructions -- `assembler-solution`: includes the solution +- `Node.js` +- `eslint` +- `prettier` +- `lint-staged` +- `husky` -### Fetching All the Branches -In order to fetch all the remote branches in the repository, you can use the -following command: -```sh -$ git fetch --all -``` + +## Getting Started -### List Both Remote Tracking Branches and Local Branches +First of all you need to have installed node and git into your PC. -```sh -$ git branch --all -``` +### Prerequisites -Then, you can create a local branch based on a remote branch with the following -command: +This is an example of how to list things you need to use the software and how to install them. +* npm + ```sh + npm install npm@latest -g + ``` -```sh -$ git checkout -b -``` +### Installation -### Installing +1. Get a free API Key at [https://www.themoviedb.org/](https://www.themoviedb.org/) +2. Clone the repo + ```sh + git clone https://github.com/bbenalia/node-moviedb-cli + ``` +3. Install NPM packages + ```sh + npm install + ``` +4. Enter your API in `.env` + ```JS + const API_KEY = 'ENTER YOUR API'; + ``` -First, you will need to install the dependencies with: `npm install`. -Run the following command in your terminal after cloning the main repo: -```sh -$ npm install -``` + +## Usage -### Running the Tests +- `./moviedb.js command... ---options... --flags...` +- `./moviedb.js get-persons --page 1 --popular` +- `./moviedb.js get-persons --page 2 --popular` -The tests that validate your solution can be executed by runing the following -command: +- `./moviedb.js get-person --id XXXXXXXX` +- `./moviedb.js get-person --id 990393` -``` -$ npm run test -``` +- `./moviedb.js get-movies --popular --page 2` +- `./moviedb.js get-movies --now-playing --page 2` -### Git `precommit` and `prepush` Hooks +- `./moviedb.js get-movie --id movieId` +- `./moviedb.js get-movie --id 694919` -In the `assembler-solution` branch you can see an implementation of these tools -if you'd like to use them. +If you want to save your data request use: -## Deployment +`--save` +`--local` -In this pill we won't deploy the app. -## Technologies used -- `Node.js` -- `eslint` -- `prettier` -- `lint-staged` -- `husky` -## The Project -In this project you will build a cli app similar to the following screenshot. - -## Project requirements +_For more examples, please refer to the [Documentation](https://example.com)_ + + + + +## Roadmap + +See the [open issues](https://github.com/assembler-school/node-moviedb-cli/issues) for a list of proposed features (and known issues). + + + + +## Contributing + +Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. + +1. Fork the Project +2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) +3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) +4. Push to the Branch (`git push origin feature/AmazingFeature`) +5. Open a Pull Request + + -This is an overview of the main requirements of this project. The exact ones are -found in the doc that the academic team will provide you. + +## License -- You must follow all the instructions of the project step-by-step -- You should always try to solve them by yourself before asking for help -- You should always help your team members and fellow students of the master so - that you can all learn together and become better software developers and team - members -- You must finish all the steps that are marked as `Required` -- Once you are done, you can move on to the optional ones that are marked as - `Extra 💯` +Distributed under the MIT License. See `LICENSE` for more information. -## Project delivery -To deliver this project you must follow the steps indicated in the document: -- [Submitting a solution](https://www.notion.so/Submitting-a-solution-524dab1a71dd4b96903f26385e24cdb6) + +## Team Contact -## Resources +Your Name - [@your_twitter](https://twitter.com/your_username) - email@example.com -- See the document we provide +Project Link: [https://github.com/your_username/repo_name](https://github.com/your_username/repo_name) -## License -This project is licensed under the MIT License - see the [LICENSE](LICENSE) file -for details -## Contributors ✨ + +## Acknowledgements +* [GitHub Emoji Cheat Sheet](https://www.webpagefx.com/tools/emoji-cheat-sheet) +* [Img Shields](https://shields.io) +* [GitHub Pages](https://pages.github.com) +* [Font Awesome](https://fontawesome.com) -Thanks goes to these wonderful people -([emoji key](https://allcontributors.org/docs/en/emoji-key)): - - - - - - - -

Dani Lucaci

💻 📖 💡 🔧
- - - -This project follows the -[all-contributors](https://github.com/all-contributors/all-contributors) -specification. Contributions of any kind welcome! + + +[contributors-shield]: https://github.com/bbenalia/node-moviedb-cli +[contributors-url]: https://github.com/othneildrew/Best-README-Template/graphs/contributors +[forks-shield]: https://github.com/assembler-school/node-moviedb-cli +[forks-url]: https://github.com/othneildrew/Best-README-Template/network/members +[stars-shield]: https://img.shields.io/github/stars/othneildrew/Best-README-Template.svg?style=for-the-badge +[linkedin-shield]: https://www.linkedin.com/feed/ +[product-screenshot]: /src/img/project.png From 0776aea5482c7716d3af9c933d3812d2f9cc8745 Mon Sep 17 00:00:00 2001 From: Brahim Date: Mon, 2 Aug 2021 14:43:37 +0200 Subject: [PATCH 24/36] feat: single movie review --- src/utils/entities/Review.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/utils/entities/Review.js b/src/utils/entities/Review.js index b0876dd..2a4435b 100644 --- a/src/utils/entities/Review.js +++ b/src/utils/entities/Review.js @@ -4,6 +4,8 @@ const log = console.log; class Review { constructor(movie) { this.id = movie.id; + this.page = movie.page; + this.total_pages = movie.total_pages; this.reviews = movie.results; } @@ -11,12 +13,15 @@ class Review { log(chalk.white("\n_________________________")); log("\n"); - if (this.reviews.length) + if (this.reviews.length) { this.reviews.map((review) => { log(`Author: ${chalk.blue.bold(review.author)}`); log(`content: ${chalk.white(this.sliceString(review.content))}`); }); - else log(`The movie: ${this.id} doesn’t have any reviews`); + + log(chalk.white("________________________________________________")); + log(chalk.white(`Page: ${this.page} of: ${this.total_pages}`)); + } else log(`The movie: ${this.id} doesn’t have any reviews`); log("\n"); } From b9aa05dc553071e49853c08af1a3a5bed74a2c3c Mon Sep 17 00:00:00 2001 From: Brahim Date: Mon, 2 Aug 2021 15:03:15 +0200 Subject: [PATCH 25/36] update: console.log only in entities --- src/utils/chalks.js | 38 ++++++++---------------------------- src/utils/entities/Movie.js | 7 +++++++ src/utils/entities/Person.js | 7 +++++++ 3 files changed, 22 insertions(+), 30 deletions(-) diff --git a/src/utils/chalks.js b/src/utils/chalks.js index b7de4a6..04814a2 100644 --- a/src/utils/chalks.js +++ b/src/utils/chalks.js @@ -1,13 +1,7 @@ -/** @format */ - -const chalk = require("chalk"); - const Person = require("./entities/Person.js"); const Movie = require("./entities/Movie.js"); const Review = require("./entities/Review.js"); -const log = console.log; - /** * Render People in command line * @param page : Response object of type person @@ -20,19 +14,11 @@ function chalkPeople(page, spinner) { const chalkPerson = new Person(person); chalkPerson.renderPopular(); - if (index == array.length - 1) { - log(chalk.white("________________________________________________")); - log(chalk.white(`Page: ${page.page} of: ${page.total_pages}`)); - log("\n"); - return; - } - - log(chalk.white("_________________________")); + if (index == array.length - 1) + chalkPerson.renderPages(page.page, page.total_pages); }); - spinner.succeed("Popular Persons data loaded"); - - log("\n"); + spinner.succeed("Popular Persons data loaded\n"); }, 1000); } catch (error) { spinner.fail(error.message); @@ -45,8 +31,7 @@ function chalkPersonId(person, spinner) { const chalkPerson = new Person(person); chalkPerson.renderPersonById(); - spinner.succeed("Person data loaded"); - log("\n"); + spinner.succeed("Person data loaded\n"); }, 1000); } catch (error) { spinner.fail(error.message); @@ -65,21 +50,14 @@ function chalkMovie(page, spinner, nowPlaying) { const chalkMovie = new Movie(movie); chalkMovie.renderPopular(); - if (index == array.length - 1) { - log(chalk.white("________________________________________________")); - log(chalk.white(`Page: ${page.page} of: ${page.total_pages}`)); - log("\n"); - return; - } - - log(chalk.white("_________________________")); + if (index == array.length - 1) + chalkMovie.renderPages(page.page, page.total_pages); }); - if (nowPlaying) spinner.succeed("Movies playing now data loaded"); + if (nowPlaying) spinner.succeed("Movies playing now data loaded\n"); else { - spinner.succeed("Popular Movies data loaded"); + spinner.succeed("Popular Movies data loaded\n"); } - log("\n"); }, 1000); } catch (error) { spinner.fail(error.message); diff --git a/src/utils/entities/Movie.js b/src/utils/entities/Movie.js index edae033..0ee203f 100644 --- a/src/utils/entities/Movie.js +++ b/src/utils/entities/Movie.js @@ -20,6 +20,7 @@ class Movie { log(`ID: ${chalk.white(this.id)}`); log(`Title: ${chalk.blue.bold(this.title)}`); log(`Release Date: ${chalk.white.bold(this.release_date)}`); + log(chalk.white("_________________________")); log("\n"); } @@ -62,6 +63,12 @@ class Movie { log(`Author: ${chalk.blue.bold(this.author)}`); log(`content: ${chalk.white(this.content)}`); } + + renderPages(page, total_pages) { + log(chalk.white("________________________________________________")); + log(chalk.white(`Page: ${page} of: ${total_pages}`)); + log("\n"); + } } module.exports = Movie; diff --git a/src/utils/entities/Person.js b/src/utils/entities/Person.js index b554fe6..f5b0b33 100644 --- a/src/utils/entities/Person.js +++ b/src/utils/entities/Person.js @@ -39,6 +39,7 @@ class Person { } }); + log(chalk.white("_________________________")); log("\n"); } @@ -65,6 +66,12 @@ class Person { log("\n"); } + + renderPages(page, total_pages) { + log(chalk.white("________________________________________________")); + log(chalk.white(`Page: ${page} of: ${total_pages}`)); + log("\n"); + } } module.exports = Person; From 9902d211cffad69dc65e4d01e0b2fe27365f776a Mon Sep 17 00:00:00 2001 From: Brahim Date: Mon, 2 Aug 2021 15:51:06 +0200 Subject: [PATCH 26/36] fix: remove unnecessary comments --- src/utils/getMethods.js | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 73925b8..080fc09 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -11,6 +11,7 @@ const { chalkMovie, chalkPeople, chalkPersonId } = require("./chalks.js"); /** * get People by Pages * @param page: number of page to render + * @param option: save option */ function PersonsByPage(page = 1, option) { const options = { @@ -26,11 +27,9 @@ function PersonsByPage(page = 1, option) { res.on("data", (chunk) => (body += chunk)); res.on("end", () => { if (option) { - //console.log("JSON"); file.savePeople(JSON.parse(body)); spinner.succeed("Popular Persons data loaded"); } else { - //console.log("REQUEST"); chalkPeople(JSON.parse(body), spinner); } }); @@ -43,7 +42,8 @@ function PersonsByPage(page = 1, option) { /** * Movies functions - Movies Pagination * @param page: number of page to render - * @param nowPlaying: bool, manage change of path + * @param nowPlaying: bool, movies that are playing npw + * @param option: bool, save option * */ function MoviesByPage(page = 1, nowPlaying, option) { let path = `/3/movie/popular?page=${page}&api_key=${process.env.API_KEY}`; @@ -64,12 +64,10 @@ function MoviesByPage(page = 1, nowPlaying, option) { res.on("data", (chunk) => (body += chunk)); res.on("end", () => { if (option) { - //console.log("JSON"); file.saveMovies(JSON.parse(body), nowPlaying); spinner.succeed("Now playing movies data loaded"); } else { - //console.log("REQUEST"); - chalkMovie(JSON.parse(body), spinner, nowPlaying) + chalkMovie(JSON.parse(body), spinner, nowPlaying); } }); }); @@ -80,7 +78,8 @@ function MoviesByPage(page = 1, nowPlaying, option) { /** * Person by ID functions - */ + * @param id: id of the person + * */ function PersonById(id) { const options = { ...httpConstants, @@ -92,7 +91,7 @@ function PersonById(id) { const req = https.request(options, (res) => { let body = ""; - res.on("data", (chunk) => { body += chunk; }); + res.on("data", (chunk) => (body += chunk)); res.on("end", () => chalkPersonId(JSON.parse(body), spinner)); }); @@ -100,10 +99,10 @@ function PersonById(id) { req.end(); } -// * get People by Pages from JSON -// * @param page: number of page to render -// */ - +/** + * get People by Pages from JSON + * @param page: number of page to render + */ function JsonPersonByPage(page = 1) { const spinner = ora("Loading popular people").start(); const path = "./src/utils/persons/persons.json"; @@ -122,6 +121,11 @@ function JsonPersonByPage(page = 1) { } } +/** + * get Movies by Pages from JSON + * @param page: number of page to render + * @param nowPlaying: bool, movies that are playing npw + */ function JsonMoviesByPage(page = 1, nowPlaying) { const spinner = ora("Loading popular movies").start(); const path = "./src/utils/movies/movies.json"; @@ -141,4 +145,10 @@ function JsonMoviesByPage(page = 1, nowPlaying) { } } -module.exports = { PersonById, PersonsByPage, MoviesByPage, JsonPersonByPage, JsonMoviesByPage }; +module.exports = { + PersonById, + PersonsByPage, + MoviesByPage, + JsonPersonByPage, + JsonMoviesByPage, +}; From 4eee89f1b9873dc2497865c9ebe8473532bf549d Mon Sep 17 00:00:00 2001 From: Brahim Date: Mon, 2 Aug 2021 16:23:04 +0200 Subject: [PATCH 27/36] ok --- README.md | 39 ++++++-------------------- src/moviedb.js | 4 +-- src/utils/getMethods.js | 2 +- src/utils/persons/popular-persons.json | 2 +- 4 files changed, 13 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index bfbba09..a655c9d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@

Command Line Application with Node.js

- This project help us to understeand nodeJs. + This project help us to understand nodeJs.
Explore the docs »
@@ -56,30 +56,28 @@ ## About The Project -We will be building a CL(command line) app that takes user input,which will be a page (or some other parameters),using a flag argument and uses this argument to make a http request to a REST API,the api we will be using is provided by www.themoviedb.org .The api provides information on a movie/person as requested using a parameter.We would consume this API to get the population of a country. +We will be building a CLI(command line) app that takes user input, which will be a page (or some other parameters), using a flag argument and uses this argument to make a http request to a REST API, the api we will be using is provided by www.themoviedb.org . The api provides information on a movie/person as requested using a parameter. We would consume this API to get the population of a country. -To parse CL arguments we will use Commander,a node package. To make http requests we will use Http Node Module . +To parse CL arguments we will use `Commander`, a node package. To make http requests we will use `Http` Node Module . Here's why: * Learn more about the asyncronous workflow of Node.js * Interact easily with 3rth APi's. * Learn how to manipulate Tokens. -#### Example: - -[![Node MovieDB Cli][product-screenshot]](https://example.com) - ### Built With This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples. - `Node.js` -- `eslint` +- `Commander.Js` +- `Dotenv` +- `node-notifier` +- `ora` spinners + ## Getting Started @@ -110,8 +108,6 @@ This is an example of how to list things you need to use the software and how to const API_KEY = 'ENTER YOUR API'; ``` - - ## Usage @@ -134,22 +130,14 @@ If you want to save your data request use: `--local` - - - - - _For more examples, please refer to the [Documentation](https://example.com)_ - ## Roadmap See the [open issues](https://github.com/assembler-school/node-moviedb-cli/issues) for a list of proposed features (and known issues). - - ## Contributing @@ -161,15 +149,11 @@ Contributions are what make the open source community such an amazing place to b 4. Push to the Branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request - - ## License Distributed under the MIT License. See `LICENSE` for more information. - - ## Team Contact @@ -177,8 +161,6 @@ Your Name - [@your_twitter](https://twitter.com/your_username) - email@example.c Project Link: [https://github.com/your_username/repo_name](https://github.com/your_username/repo_name) - - ## Acknowledgements * [GitHub Emoji Cheat Sheet](https://www.webpagefx.com/tools/emoji-cheat-sheet) @@ -187,9 +169,6 @@ Project Link: [https://github.com/your_username/repo_name](https://github.com/yo * [Font Awesome](https://fontawesome.com) - - - [contributors-shield]: https://github.com/bbenalia/node-moviedb-cli diff --git a/src/moviedb.js b/src/moviedb.js index ae02fcb..89813bd 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -13,11 +13,11 @@ program .command("get-persons") .description("Make a network request to fetch most popular persons") .requiredOption("--page ", "The page of data results to fetch") - .option("-p, --popular", "Fetch the popular persons") + .requiredOption("-p, --popular", "Fetch the popular persons") .option("-s, --save", "The page of data to JSON file") .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { - get.PersonsByPage(opt.page, opt.save); + if (!opt.local) get.PersonsByPage(opt.page, opt.save); if (opt.local) get.JsonPersonByPage(opt.page); }); diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 080fc09..6ab4de9 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -105,7 +105,7 @@ function PersonById(id) { */ function JsonPersonByPage(page = 1) { const spinner = ora("Loading popular people").start(); - const path = "./src/utils/persons/persons.json"; + const path = "./src/utils/persons/popular-persons.json"; try { if (fs.existsSync(path)) { diff --git a/src/utils/persons/popular-persons.json b/src/utils/persons/popular-persons.json index 42e0381..91cad1f 100644 --- a/src/utils/persons/popular-persons.json +++ b/src/utils/persons/popular-persons.json @@ -1 +1 @@ -{"page":1,"results":[{"adult":false,"gender":1,"id":2472427,"known_for":[{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[53],"id":673407,"media_type":"movie","original_language":"ko","original_title":"불량탐정: 먹이사슬","overview":"Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.","poster_path":"/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg","release_date":"2020-01-22","title":"Bad Detective: Food Chain","video":false,"vote_average":6,"vote_count":1},{"adult":false,"backdrop_path":"/4mFrNiawrfHz2W9yryFcsrahYxA.jpg","genre_ids":[10749],"id":658228,"media_type":"movie","original_language":"ko","original_title":"딸의 애인 3","overview":"Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.","poster_path":"/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg","release_date":"2019-12-05","title":"My Daughter's Lover 3","video":false,"vote_average":0,"vote_count":0}],"known_for_department":"Acting","name":"Tae Joo","popularity":91.381,"profile_path":"/nGpa3za6yxSciko2J8tY8gbsgyT.jpg"},{"adult":false,"gender":1,"id":5081,"known_for":[{"adult":false,"backdrop_path":"/auZIuHEUec5tBTns3tCRXfayxZq.jpg","genre_ids":[28,878],"id":137113,"media_type":"movie","original_language":"en","original_title":"Edge of Tomorrow","overview":"Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.","poster_path":"/uUHvlkLavotfGsNtosDy8ShsIYF.jpg","release_date":"2014-05-27","title":"Edge of Tomorrow","video":false,"vote_average":7.6,"vote_count":10808},{"adult":false,"backdrop_path":"/roYyPiQDQKmIKUEhO912693tSja.jpg","genre_ids":[27,18,878],"id":447332,"media_type":"movie","original_language":"en","original_title":"A Quiet Place","overview":"A family is forced to live in silence while hiding from creatures that hunt by sound.","poster_path":"/nAU74GmpUk7t5iklEp3bufwDq4n.jpg","release_date":"2018-04-03","title":"A Quiet Place","video":false,"vote_average":7.4,"vote_count":10440},{"adult":false,"backdrop_path":"/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg","genre_ids":[35,18,10749],"id":350,"media_type":"movie","original_language":"en","original_title":"The Devil Wears Prada","overview":"Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.","poster_path":"/8912AsVuS7Sj915apArUFbv6F9L.jpg","release_date":"2006-06-30","title":"The Devil Wears Prada","video":false,"vote_average":7.4,"vote_count":9384}],"known_for_department":"Acting","name":"Emily Blunt","popularity":78.564,"profile_path":"/jqlqq3knztTnty5rcMg5evqZRCa.jpg"},{"adult":false,"gender":2,"id":5009,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8945},{"backdrop_path":"/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg","first_air_date":"2005-09-13","genre_ids":[18,9648,10765],"id":1622,"media_type":"tv","name":"Supernatural","origin_country":["US"],"original_language":"en","original_name":"Supernatural","overview":"When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ","poster_path":"/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg","vote_average":8.2,"vote_count":5284},{"backdrop_path":"/xSM3Ba3Nabs2p0wW8vTJP0yx3Zv.jpg","first_air_date":"2012-10-10","genre_ids":[80,18,9648,10759],"id":1412,"media_type":"tv","name":"Arrow","origin_country":["US"],"original_language":"en","original_name":"Arrow","overview":"Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.","poster_path":"/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg","vote_average":6.7,"vote_count":4651}],"known_for_department":"Acting","name":"Peter Benson","popularity":72.87,"profile_path":"/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg"},{"adult":false,"gender":2,"id":18918,"known_for":[{"adult":false,"backdrop_path":"/zJDMuXQDraHjtF53wikmyBQIcYe.jpg","genre_ids":[28,12,35,14],"id":353486,"media_type":"movie","original_language":"en","original_title":"Jumanji: Welcome to the Jungle","overview":"The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.","poster_path":"/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg","release_date":"2017-12-09","title":"Jumanji: Welcome to the Jungle","video":false,"vote_average":6.8,"vote_count":10861},{"adult":false,"backdrop_path":"/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg","genre_ids":[12,35,10751,16],"id":277834,"media_type":"movie","original_language":"en","original_title":"Moana","overview":"In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.","poster_path":"/4JeejGugONWpJkbnvL12hVoYEDa.jpg","release_date":"2016-11-23","title":"Moana","video":false,"vote_average":7.6,"vote_count":9669},{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8789}],"known_for_department":"Acting","name":"Dwayne Johnson","popularity":66.067,"profile_path":"/cgoy7t5Ve075naBPcewZrc08qGw.jpg"},{"adult":false,"gender":2,"id":12835,"known_for":[{"adult":false,"backdrop_path":"/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg","genre_ids":[28,878,12],"id":118340,"media_type":"movie","original_language":"en","original_title":"Guardians of the Galaxy","overview":"Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.","poster_path":"/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg","release_date":"2014-07-30","title":"Guardians of the Galaxy","video":false,"vote_average":7.9,"vote_count":22837},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22307},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18696}],"known_for_department":"Acting","name":"Vin Diesel","popularity":52.966,"profile_path":"/7rwSXluNWZAluYMOEWBxkPmckES.jpg"},{"adult":false,"gender":1,"id":1245,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25080},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22307},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18696}],"known_for_department":"Acting","name":"Scarlett Johansson","popularity":52.473,"profile_path":"/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg"},{"adult":false,"gender":1,"id":1039305,"known_for":[{"adult":false,"backdrop_path":"/sbtqmaprl6fzhPLaOrFWYJ8ZDli.jpg","genre_ids":[16,18],"id":242828,"media_type":"movie","original_language":"ja","original_title":"思い出のマーニー","overview":"Upon being sent to live with relatives in the countryside due to an illness, an emotionally distant adolescent girl becomes obsessed with an abandoned mansion and infatuated with a girl who lives there - a girl who may or may not be real.","poster_path":"/vug1dvDI1tSa60Z8qjCuUE7ntkO.jpg","release_date":"2014-07-19","title":"When Marnie Was There","video":false,"vote_average":8,"vote_count":1208},{"adult":false,"backdrop_path":"/hnVxxTK1IC9VVivyqf1v74P0Ent.jpg","genre_ids":[28,878,14,27],"id":276624,"media_type":"movie","original_language":"ja","original_title":"アイアムアヒーロー","overview":"Hideo Suzuki is a 35-year-old mangaka assistant, whose life seem to be stuck around his exhausting but low-paying job, unfulfilled dreams, strange hallucinations and unsatisfying relationships. He sees himself as a supporting character in his own life, has low self-esteem, resulting in frustration. One day, the world as Hideo knows it is shattered by the presence of a disease that turns people into homicidal maniacs, whose first instinct is to attack and devour the nearest human.","poster_path":"/4RnmHtCLtbBHD9jagVlcSzJTWX6.jpg","release_date":"2016-04-23","title":"I Am a Hero","video":false,"vote_average":7.3,"vote_count":214},{"adult":false,"backdrop_path":"/nR6tcBslmfpC6tHW6GPs7fcHV8g.jpg","genre_ids":[28,12,18],"id":602063,"media_type":"movie","original_language":"ja","original_title":"るろうに剣心 最終章 The Final","overview":"In 1879, Kenshin and his allies face their strongest enemy yet: his former brother-in-law Enishi Yukishiro and his minions, who've vowed their revenge.","poster_path":"/7bbEASVf9XWtfxWiuWUMY3uyhTb.jpg","release_date":"2021-04-23","title":"Rurouni Kenshin: The Final","video":false,"vote_average":7.9,"vote_count":197}],"known_for_department":"Acting","name":"Kasumi Arimura","popularity":45.913,"profile_path":"/irMWWtJQu3kWEOB9JUflKBuhh8H.jpg"},{"adult":false,"gender":2,"id":976,"known_for":[{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8794},{"adult":false,"backdrop_path":"/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg","genre_ids":[28,53,80,18],"id":168259,"media_type":"movie","original_language":"en","original_title":"Furious 7","overview":"Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.","poster_path":"/wurKlC3VKUgcfsn0K51MJYEleS2.jpg","release_date":"2015-04-01","title":"Furious 7","video":false,"vote_average":7.3,"vote_count":8555},{"adult":false,"backdrop_path":"/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg","genre_ids":[28,80,53],"id":337339,"media_type":"movie","original_language":"en","original_title":"The Fate of the Furious","overview":"When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.","poster_path":"/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg","release_date":"2017-04-12","title":"The Fate of the Furious","video":false,"vote_average":6.9,"vote_count":8407}],"known_for_department":"Acting","name":"Jason Statham","popularity":43.232,"profile_path":"/lldeQ91GwIVff43JBrpdbAAeYWj.jpg"},{"adult":false,"gender":1,"id":3967,"known_for":[{"adult":false,"backdrop_path":"/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg","genre_ids":[35,18,14],"id":9339,"media_type":"movie","original_language":"en","original_title":"Click","overview":"A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.","poster_path":"/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg","release_date":"2006-06-23","title":"Click","video":false,"vote_average":6.2,"vote_count":5434},{"adult":false,"backdrop_path":"/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg","genre_ids":[14,28,53],"id":277,"media_type":"movie","original_language":"en","original_title":"Underworld","overview":"Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.","poster_path":"/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg","release_date":"2003-09-19","title":"Underworld","video":false,"vote_average":6.8,"vote_count":4912},{"adult":false,"backdrop_path":"/zv1xOEQzebKyku349qDZ085FZlO.jpg","genre_ids":[10752,36,10749,18],"id":676,"media_type":"movie","original_language":"en","original_title":"Pearl Harbor","overview":"The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.","poster_path":"/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg","release_date":"2001-05-21","title":"Pearl Harbor","video":false,"vote_average":6.9,"vote_count":4853}],"known_for_department":"Acting","name":"Kate Beckinsale","popularity":37.205,"profile_path":"/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg"},{"adult":false,"gender":1,"id":58369,"known_for":[{"backdrop_path":"/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg","first_air_date":"2010-10-31","genre_ids":[10759,18,10765],"id":1402,"media_type":"tv","name":"The Walking Dead","origin_country":["US"],"original_language":"en","original_name":"The Walking Dead","overview":"Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.","poster_path":"/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg","vote_average":8.1,"vote_count":11220},{"backdrop_path":"/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg","first_air_date":"2011-10-05","genre_ids":[18,9648,10765],"id":1413,"media_type":"tv","name":"American Horror Story","origin_country":["US"],"original_language":"en","original_name":"American Horror Story","overview":"An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.","poster_path":"/8NMACR0OE5bwC27rE15f8ManNBO.jpg","vote_average":8.1,"vote_count":3779},{"backdrop_path":"/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg","first_air_date":"1999-01-31","genre_ids":[16,35],"id":1434,"media_type":"tv","name":"Family Guy","origin_country":["US"],"original_language":"en","original_name":"Family Guy","overview":"Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.","poster_path":"/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg","vote_average":7,"vote_count":2866}],"known_for_department":"Acting","name":"Alexandra Breckenridge","popularity":36.376,"profile_path":"/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg"},{"adult":false,"gender":1,"id":1522703,"known_for":[{"backdrop_path":"/sVmEr2z1kD2H5lhi4G9qQoVLLsD.jpg","first_air_date":"2020-07-08","genre_ids":[18,35],"id":104877,"media_type":"tv","name":"Love Is In The Air","origin_country":["TR"],"original_language":"tr","original_name":"Sen Çal Kapımı","overview":"Eda, who ties all her hopes to her education, confronts Serkan Bolat, who cuts off her international education scholarship and leaves her with high school diploma. Serkan Bolat offers Eda to give her scholarship back if she pretends to be his fiance for two months. Although Eda rejects the offer of this man as she hates him, she has to accept it when the conditions change. While pretending to be engaged, Serkan and Eda begin to experience a passionate, challenging relationship that will make them forget all they know right. Because love is difficult. And that's why it's amazing.","poster_path":"/nzBenFJ2D2MCWTwTt2uc4BGWLtA.jpg","vote_average":8.2,"vote_count":976},{"backdrop_path":"/vKV0XxFTWJDdzL39Dddp4uLri0A.jpg","first_air_date":"2015-06-18","genre_ids":[18],"id":64164,"media_type":"tv","name":"Sun's Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Güneşin Kızları","overview":"A teacher and a mother of three teenage daughters , gunes agrees to move from her home city Izmir to Istanbul to be with mysterious wealthy man who has fallen for her. Gunesin kizlari follows the never ending drama of Güneş and her daughters they face the events of their newly transformed lives.","poster_path":"/kVJbUlcWGyLp0H1xXLo1OicmU8x.jpg","vote_average":7.7,"vote_count":53},{"backdrop_path":"/eOLGKXZZrjJ8bvZvC5eGzQPlyGU.jpg","first_air_date":"2016-06-15","genre_ids":[35,18],"id":67570,"media_type":"tv","name":"Ask Laftan Anlamaz","origin_country":["TR"],"original_language":"tr","original_name":"Ask Laftan Anlamaz","overview":"Hayat is a country girl with strict parents. She is in a love hate relationship with her boss Murat. Hayat is full of secrets that can ruin her career and relationship.","poster_path":"/tnyM86EpqVRTHZKQenaUrbsTAGG.jpg","vote_average":8.8,"vote_count":8}],"known_for_department":"Acting","name":"Hande Erçel","popularity":36.07,"profile_path":"/heZOn03SAJkwbmTAdk7IXA5yMTV.jpg"},{"adult":false,"gender":1,"id":109513,"known_for":[{"adult":false,"backdrop_path":"/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg","genre_ids":[28,18,53],"id":254128,"media_type":"movie","original_language":"en","original_title":"San Andreas","overview":"In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.","poster_path":"/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg","release_date":"2015-05-27","title":"San Andreas","video":false,"vote_average":6.2,"vote_count":6703},{"adult":false,"backdrop_path":"/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg","genre_ids":[35,28,80],"id":339846,"media_type":"movie","original_language":"en","original_title":"Baywatch","overview":"Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.","poster_path":"/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg","release_date":"2017-05-12","title":"Baywatch","video":false,"vote_average":6.1,"vote_count":6508},{"adult":false,"backdrop_path":"/sEyNWq9985lyUrwayWnvicT4FHA.jpg","genre_ids":[12,14,10751],"id":32657,"media_type":"movie","original_language":"en","original_title":"Percy Jackson & the Olympians: The Lightning Thief","overview":"Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.","poster_path":"/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg","release_date":"2010-02-01","title":"Percy Jackson & the Olympians: The Lightning Thief","video":false,"vote_average":6.2,"vote_count":5857}],"known_for_department":"Acting","name":"Alexandra Daddario","popularity":35.572,"profile_path":"/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg"},{"adult":false,"gender":2,"id":1991255,"known_for":[{"backdrop_path":"/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg","first_air_date":"2017-03-25","genre_ids":[18],"id":76560,"media_type":"tv","name":"Mrs. Fazilet and Her Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Fazilet Hanım ve Kızları","overview":"The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.","poster_path":"/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg","vote_average":9.4,"vote_count":5},{"backdrop_path":"/lDbRMHVAGdkySaabD7KyyEbouoG.jpg","first_air_date":"2018-07-22","genre_ids":[18],"id":80229,"media_type":"tv","name":"Never Let My Hand Go","origin_country":["TR"],"original_language":"tr","original_name":"Elimi Bırakma","overview":"The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.","poster_path":"/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg","vote_average":10,"vote_count":4},{"backdrop_path":"/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg","first_air_date":"2021-06-15","genre_ids":[10766,18,35],"id":126255,"media_type":"tv","name":"Bir Ada Masali","origin_country":["TR"],"original_language":"tr","original_name":"Ada Masalı","overview":"","poster_path":"/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg","vote_average":10,"vote_count":1}],"known_for_department":"Acting","name":"Alp Navruz","popularity":35.135,"profile_path":"/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg"},{"adult":false,"gender":1,"id":98591,"known_for":[{"backdrop_path":"/7ggAjuO3g4AMt3p1ZsGeBNqLMsb.jpg","first_air_date":"1999-04-03","genre_ids":[10759],"id":896,"media_type":"tv","name":"The Lost World","origin_country":["AU"],"original_language":"en","original_name":"The Lost World","overview":"Early 20th-century adventurers find themselves fighting for survival after their hot-air balloon crashes into a remote part of the Amazon, stranding them on a prehistoric plateau.","poster_path":"/whA1PLf8nslT3R7kSvCssTCCUba.jpg","vote_average":7,"vote_count":50},{"adult":false,"genre_ids":[28,35,18,27],"id":48314,"media_type":"movie","original_language":"en","original_title":"Scarecrow","overview":"A high school outcast who lives in a trailer with his mother finally meets a friend. He wants to ask her if they can go the next step, but then sees her kissing another boy at a party. He runs home only to find his mother having sex with a drunk. He starts yelling, but is countered by the drunk when he suffocates him and makes him look like he hung himself. The scarecrow comes in when the boy's soul is pushed into it. He goes out for revenge.","poster_path":"/7K0SAUgDlcP2iymUypBeU0A7c0v.jpg","release_date":"2002-12-30","title":"Scarecrow","video":false,"vote_average":4.9,"vote_count":31},{"adult":false,"genre_ids":[27,53],"id":74807,"media_type":"movie","original_language":"en","original_title":"Cubbyhouse","overview":"Following a messy divorce, Lynn Graham moves back home to Australia with her three American-born children in tow. Buying an old house on the same street as her sister seems like a good idea, but its low price reflects a unpleasant history of murder and satanic ritual. Before long, her two youngest kids have fallen under the spell of an evil force emanating from a sinister cubbyhouse in the back garden, and bloody past events look set to repeat themselves.","poster_path":"/cBXOXhC315cyqZZkUvZV7mLoDDu.jpg","release_date":"2001-12-10","title":"Cubbyhouse","video":false,"vote_average":3.2,"vote_count":13}],"known_for_department":"Acting","name":"Belinda Gavin","popularity":34.416,"profile_path":"/mKaV0ClUBBl6oJtPPEGW5BK48ej.jpg"},{"adult":false,"gender":1,"id":142115,"known_for":[{"backdrop_path":"/eyG9srihv68ScRdEbJZj66WT4O0.jpg","first_air_date":"2014-10-07","genre_ids":[18,10765],"id":60735,"media_type":"tv","name":"The Flash","origin_country":["US"],"original_language":"en","original_name":"The Flash","overview":"After a particle accelerator causes a freak storm, CSI Investigator Barry Allen is struck by lightning and falls into a coma. Months later he awakens with the power of super speed, granting him the ability to move through Central City like an unseen guardian angel. Though initially excited by his newfound powers, Barry is shocked to discover he is not the only \"meta-human\" who was created in the wake of the accelerator explosion -- and not everyone is using their new powers for good. Barry partners with S.T.A.R. Labs and dedicates his life to protect the innocent. For now, only a few close friends and associates know that Barry is literally the fastest man alive, but it won't be long before the world learns what Barry Allen has become...The Flash.","poster_path":"/lJA2RCMfsWoskqlQhXPSLFQGXEJ.jpg","vote_average":7.7,"vote_count":8173},{"adult":false,"backdrop_path":"/5C8bfwglg91uZhc2fbfpSjNGamV.jpg","genre_ids":[27,9648],"id":591273,"media_type":"movie","original_language":"en","original_title":"Fear Street: 1994","overview":"In 1994, a group of teenagers discovers that the terrifying events which have haunted their town for generations ​are all connected — and that they may be the next targets.","poster_path":"/9J9Wy39ZjrVmfk7yMkulpcI5sy0.jpg","release_date":"2021-06-28","title":"Fear Street: 1994","video":false,"vote_average":6.8,"vote_count":845},{"adult":false,"backdrop_path":"/7jpj6ek9dftr3IXm7Pnq2pkhir3.jpg","genre_ids":[27,9648],"id":591274,"media_type":"movie","original_language":"en","original_title":"Fear Street: 1978","overview":"In 1978, two rival groups at Camp Nightwing must band together to solve a terrifying mystery when horrors from their towns' history come alive.","poster_path":"/5dNTxhoGDTHHGqUTdxcr4H1dqlU.jpg","release_date":"2021-07-08","title":"Fear Street: 1978","video":false,"vote_average":7.4,"vote_count":668}],"known_for_department":"Acting","name":"Kiana Madeira","popularity":34.048,"profile_path":"/mTXIwrrek6mDt8ODLmoV32fe7IO.jpg"},{"adult":false,"gender":1,"id":1734,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8941},{"backdrop_path":"/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg","first_air_date":"2001-10-16","genre_ids":[10765,10759,18],"id":4604,"media_type":"tv","name":"Smallville","origin_country":["US"],"original_language":"en","original_name":"Smallville","overview":"The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.","poster_path":"/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg","vote_average":8.2,"vote_count":2601},{"backdrop_path":"/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg","first_air_date":"1990-11-18","genre_ids":[10765,18,9648],"id":19614,"media_type":"tv","name":"It","origin_country":["US"],"original_language":"en","original_name":"It","overview":"In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.","poster_path":"/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg","vote_average":6.9,"vote_count":2275}],"known_for_department":"Acting","name":"Annette O'Toole","popularity":33.58,"profile_path":"/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg"},{"adult":false,"gender":1,"id":2374721,"known_for":[{"adult":false,"backdrop_path":"/h1BoDAepuEmEMC2qhjBONAYhre7.jpg","genre_ids":[10749],"id":698009,"media_type":"movie","original_language":"en","original_title":"어린 처제 3","overview":"Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...","poster_path":"/swEYylf53k2aGZHjv9PuIxalWQE.jpg","release_date":"2019-05-24","title":"Young Sister-in-law 3 - 2019","video":false,"vote_average":5,"vote_count":2},{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[10749],"id":699173,"media_type":"movie","original_language":"ko","original_title":"유부녀들: 남편 바꾸기","overview":"After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...","poster_path":"/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg","release_date":"2020-01-23","title":"Married Women: Husband Change","video":false,"vote_average":5,"vote_count":1}],"known_for_department":"Acting","name":"Han Seo-ah","popularity":32.855,"profile_path":"/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg"},{"adult":false,"gender":2,"id":10859,"known_for":[{"adult":false,"backdrop_path":"/en971MEXui9diirXlogOrPKmsEn.jpg","genre_ids":[28,12,35],"id":293660,"media_type":"movie","original_language":"en","original_title":"Deadpool","overview":"Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.","poster_path":"/3E53WEZJqP6aM84D8CckXx4pIHw.jpg","release_date":"2016-02-09","title":"Deadpool","video":false,"vote_average":7.6,"vote_count":25249},{"adult":false,"backdrop_path":"/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg","genre_ids":[28,35,12],"id":383498,"media_type":"movie","original_language":"en","original_title":"Deadpool 2","overview":"Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.","poster_path":"/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg","release_date":"2018-05-10","title":"Deadpool 2","video":false,"vote_average":7.5,"vote_count":13505},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9915}],"known_for_department":"Acting","name":"Ryan Reynolds","popularity":32.364,"profile_path":"/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg"},{"adult":false,"gender":2,"id":91606,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25087},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22311},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18703}],"known_for_department":"Acting","name":"Tom Hiddleston","popularity":32.1,"profile_path":"/mclHxMm8aPlCPKptP67257F5GPo.jpg"},{"adult":false,"gender":1,"id":1373737,"known_for":[{"adult":false,"backdrop_path":"/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg","genre_ids":[18,10749],"id":331482,"media_type":"movie","original_language":"en","original_title":"Little Women","overview":"Four sisters come of age in America in the aftermath of the Civil War.","poster_path":"/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg","release_date":"2019-12-25","title":"Little Women","video":false,"vote_average":7.9,"vote_count":3939},{"adult":false,"backdrop_path":"/g6GtOfXtzDpY73ef7wludoorTti.jpg","genre_ids":[27,18,9648],"id":530385,"media_type":"movie","original_language":"en","original_title":"Midsommar","overview":"Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.","poster_path":"/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg","release_date":"2019-07-03","title":"Midsommar","video":false,"vote_average":7.1,"vote_count":3907},{"adult":false,"backdrop_path":"/keIxh0wPr2Ymj0Btjh4gW7JJ89e.jpg","genre_ids":[28,12,53,878],"id":497698,"media_type":"movie","original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662}],"known_for_department":"Acting","name":"Florence Pugh","popularity":31.988,"profile_path":"/75PvULemW8BvheSKtPMoBBsvPLh.jpg"}],"total_pages":500,"total_results":10000} \ No newline at end of file +{"page":1,"results":[{"adult":false,"gender":1,"id":2472427,"known_for":[{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[53],"id":673407,"media_type":"movie","original_language":"ko","original_title":"불량탐정: 먹이사슬","overview":"Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.","poster_path":"/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg","release_date":"2020-01-22","title":"Bad Detective: Food Chain","video":false,"vote_average":6,"vote_count":1},{"adult":false,"backdrop_path":"/4mFrNiawrfHz2W9yryFcsrahYxA.jpg","genre_ids":[10749],"id":658228,"media_type":"movie","original_language":"ko","original_title":"딸의 애인 3","overview":"Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.","poster_path":"/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg","release_date":"2019-12-05","title":"My Daughter's Lover 3","video":false,"vote_average":0,"vote_count":0}],"known_for_department":"Acting","name":"Tae Joo","popularity":91.381,"profile_path":"/nGpa3za6yxSciko2J8tY8gbsgyT.jpg"},{"adult":false,"gender":1,"id":5081,"known_for":[{"adult":false,"backdrop_path":"/auZIuHEUec5tBTns3tCRXfayxZq.jpg","genre_ids":[28,878],"id":137113,"media_type":"movie","original_language":"en","original_title":"Edge of Tomorrow","overview":"Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.","poster_path":"/uUHvlkLavotfGsNtosDy8ShsIYF.jpg","release_date":"2014-05-27","title":"Edge of Tomorrow","video":false,"vote_average":7.6,"vote_count":10809},{"adult":false,"backdrop_path":"/roYyPiQDQKmIKUEhO912693tSja.jpg","genre_ids":[27,18,878],"id":447332,"media_type":"movie","original_language":"en","original_title":"A Quiet Place","overview":"A family is forced to live in silence while hiding from creatures that hunt by sound.","poster_path":"/nAU74GmpUk7t5iklEp3bufwDq4n.jpg","release_date":"2018-04-03","title":"A Quiet Place","video":false,"vote_average":7.4,"vote_count":10444},{"adult":false,"backdrop_path":"/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg","genre_ids":[35,18,10749],"id":350,"media_type":"movie","original_language":"en","original_title":"The Devil Wears Prada","overview":"Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.","poster_path":"/8912AsVuS7Sj915apArUFbv6F9L.jpg","release_date":"2006-06-30","title":"The Devil Wears Prada","video":false,"vote_average":7.4,"vote_count":9387}],"known_for_department":"Acting","name":"Emily Blunt","popularity":78.564,"profile_path":"/jqlqq3knztTnty5rcMg5evqZRCa.jpg"},{"adult":false,"gender":2,"id":5009,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8953},{"backdrop_path":"/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg","first_air_date":"2005-09-13","genre_ids":[18,9648,10765],"id":1622,"media_type":"tv","name":"Supernatural","origin_country":["US"],"original_language":"en","original_name":"Supernatural","overview":"When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ","poster_path":"/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg","vote_average":8.2,"vote_count":5288},{"backdrop_path":"/xSM3Ba3Nabs2p0wW8vTJP0yx3Zv.jpg","first_air_date":"2012-10-10","genre_ids":[80,18,9648,10759],"id":1412,"media_type":"tv","name":"Arrow","origin_country":["US"],"original_language":"en","original_name":"Arrow","overview":"Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.","poster_path":"/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg","vote_average":6.7,"vote_count":4652}],"known_for_department":"Acting","name":"Peter Benson","popularity":72.87,"profile_path":"/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg"},{"adult":false,"gender":2,"id":18918,"known_for":[{"adult":false,"backdrop_path":"/zJDMuXQDraHjtF53wikmyBQIcYe.jpg","genre_ids":[28,12,35,14],"id":353486,"media_type":"movie","original_language":"en","original_title":"Jumanji: Welcome to the Jungle","overview":"The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.","poster_path":"/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg","release_date":"2017-12-09","title":"Jumanji: Welcome to the Jungle","video":false,"vote_average":6.8,"vote_count":10866},{"adult":false,"backdrop_path":"/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg","genre_ids":[12,35,10751,16],"id":277834,"media_type":"movie","original_language":"en","original_title":"Moana","overview":"In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.","poster_path":"/4JeejGugONWpJkbnvL12hVoYEDa.jpg","release_date":"2016-11-23","title":"Moana","video":false,"vote_average":7.6,"vote_count":9671},{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8794}],"known_for_department":"Acting","name":"Dwayne Johnson","popularity":66.067,"profile_path":"/cgoy7t5Ve075naBPcewZrc08qGw.jpg"},{"adult":false,"gender":2,"id":12835,"known_for":[{"adult":false,"backdrop_path":"/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg","genre_ids":[28,878,12],"id":118340,"media_type":"movie","original_language":"en","original_title":"Guardians of the Galaxy","overview":"Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.","poster_path":"/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg","release_date":"2014-07-30","title":"Guardians of the Galaxy","video":false,"vote_average":7.9,"vote_count":22837},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22307},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18696}],"known_for_department":"Acting","name":"Vin Diesel","popularity":52.966,"profile_path":"/7rwSXluNWZAluYMOEWBxkPmckES.jpg"},{"adult":false,"gender":1,"id":1245,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25080},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22307},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18696}],"known_for_department":"Acting","name":"Scarlett Johansson","popularity":52.473,"profile_path":"/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg"},{"adult":false,"gender":1,"id":1039305,"known_for":[{"adult":false,"backdrop_path":"/sbtqmaprl6fzhPLaOrFWYJ8ZDli.jpg","genre_ids":[16,18],"id":242828,"media_type":"movie","original_language":"ja","original_title":"思い出のマーニー","overview":"Upon being sent to live with relatives in the countryside due to an illness, an emotionally distant adolescent girl becomes obsessed with an abandoned mansion and infatuated with a girl who lives there - a girl who may or may not be real.","poster_path":"/vug1dvDI1tSa60Z8qjCuUE7ntkO.jpg","release_date":"2014-07-19","title":"When Marnie Was There","video":false,"vote_average":8,"vote_count":1208},{"adult":false,"backdrop_path":"/hnVxxTK1IC9VVivyqf1v74P0Ent.jpg","genre_ids":[28,878,14,27],"id":276624,"media_type":"movie","original_language":"ja","original_title":"アイアムアヒーロー","overview":"Hideo Suzuki is a 35-year-old mangaka assistant, whose life seem to be stuck around his exhausting but low-paying job, unfulfilled dreams, strange hallucinations and unsatisfying relationships. He sees himself as a supporting character in his own life, has low self-esteem, resulting in frustration. One day, the world as Hideo knows it is shattered by the presence of a disease that turns people into homicidal maniacs, whose first instinct is to attack and devour the nearest human.","poster_path":"/4RnmHtCLtbBHD9jagVlcSzJTWX6.jpg","release_date":"2016-04-23","title":"I Am a Hero","video":false,"vote_average":7.3,"vote_count":214},{"adult":false,"backdrop_path":"/nR6tcBslmfpC6tHW6GPs7fcHV8g.jpg","genre_ids":[28,12,18],"id":602063,"media_type":"movie","original_language":"ja","original_title":"るろうに剣心 最終章 The Final","overview":"In 1879, Kenshin and his allies face their strongest enemy yet: his former brother-in-law Enishi Yukishiro and his minions, who've vowed their revenge.","poster_path":"/7bbEASVf9XWtfxWiuWUMY3uyhTb.jpg","release_date":"2021-04-23","title":"Rurouni Kenshin: The Final","video":false,"vote_average":7.9,"vote_count":197}],"known_for_department":"Acting","name":"Kasumi Arimura","popularity":45.913,"profile_path":"/irMWWtJQu3kWEOB9JUflKBuhh8H.jpg"},{"adult":false,"gender":2,"id":976,"known_for":[{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8794},{"adult":false,"backdrop_path":"/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg","genre_ids":[28,53,80,18],"id":168259,"media_type":"movie","original_language":"en","original_title":"Furious 7","overview":"Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.","poster_path":"/wurKlC3VKUgcfsn0K51MJYEleS2.jpg","release_date":"2015-04-01","title":"Furious 7","video":false,"vote_average":7.3,"vote_count":8555},{"adult":false,"backdrop_path":"/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg","genre_ids":[28,80,53],"id":337339,"media_type":"movie","original_language":"en","original_title":"The Fate of the Furious","overview":"When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.","poster_path":"/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg","release_date":"2017-04-12","title":"The Fate of the Furious","video":false,"vote_average":6.9,"vote_count":8407}],"known_for_department":"Acting","name":"Jason Statham","popularity":43.232,"profile_path":"/lldeQ91GwIVff43JBrpdbAAeYWj.jpg"},{"adult":false,"gender":1,"id":3967,"known_for":[{"adult":false,"backdrop_path":"/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg","genre_ids":[35,18,14],"id":9339,"media_type":"movie","original_language":"en","original_title":"Click","overview":"A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.","poster_path":"/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg","release_date":"2006-06-23","title":"Click","video":false,"vote_average":6.2,"vote_count":5437},{"adult":false,"backdrop_path":"/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg","genre_ids":[14,28,53],"id":277,"media_type":"movie","original_language":"en","original_title":"Underworld","overview":"Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.","poster_path":"/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg","release_date":"2003-09-19","title":"Underworld","video":false,"vote_average":6.8,"vote_count":4913},{"adult":false,"backdrop_path":"/zv1xOEQzebKyku349qDZ085FZlO.jpg","genre_ids":[10752,36,10749,18],"id":676,"media_type":"movie","original_language":"en","original_title":"Pearl Harbor","overview":"The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.","poster_path":"/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg","release_date":"2001-05-21","title":"Pearl Harbor","video":false,"vote_average":6.9,"vote_count":4853}],"known_for_department":"Acting","name":"Kate Beckinsale","popularity":37.205,"profile_path":"/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg"},{"adult":false,"gender":1,"id":58369,"known_for":[{"backdrop_path":"/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg","first_air_date":"2010-10-31","genre_ids":[10759,18,10765],"id":1402,"media_type":"tv","name":"The Walking Dead","origin_country":["US"],"original_language":"en","original_name":"The Walking Dead","overview":"Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.","poster_path":"/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg","vote_average":8.1,"vote_count":11220},{"backdrop_path":"/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg","first_air_date":"2011-10-05","genre_ids":[18,9648,10765],"id":1413,"media_type":"tv","name":"American Horror Story","origin_country":["US"],"original_language":"en","original_name":"American Horror Story","overview":"An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.","poster_path":"/8NMACR0OE5bwC27rE15f8ManNBO.jpg","vote_average":8.1,"vote_count":3779},{"backdrop_path":"/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg","first_air_date":"1999-01-31","genre_ids":[16,35],"id":1434,"media_type":"tv","name":"Family Guy","origin_country":["US"],"original_language":"en","original_name":"Family Guy","overview":"Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.","poster_path":"/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg","vote_average":7,"vote_count":2866}],"known_for_department":"Acting","name":"Alexandra Breckenridge","popularity":36.376,"profile_path":"/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg"},{"adult":false,"gender":1,"id":1522703,"known_for":[{"backdrop_path":"/sVmEr2z1kD2H5lhi4G9qQoVLLsD.jpg","first_air_date":"2020-07-08","genre_ids":[18,35],"id":104877,"media_type":"tv","name":"Love Is In The Air","origin_country":["TR"],"original_language":"tr","original_name":"Sen Çal Kapımı","overview":"Eda, who ties all her hopes to her education, confronts Serkan Bolat, who cuts off her international education scholarship and leaves her with high school diploma. Serkan Bolat offers Eda to give her scholarship back if she pretends to be his fiance for two months. Although Eda rejects the offer of this man as she hates him, she has to accept it when the conditions change. While pretending to be engaged, Serkan and Eda begin to experience a passionate, challenging relationship that will make them forget all they know right. Because love is difficult. And that's why it's amazing.","poster_path":"/nzBenFJ2D2MCWTwTt2uc4BGWLtA.jpg","vote_average":8.2,"vote_count":976},{"backdrop_path":"/vKV0XxFTWJDdzL39Dddp4uLri0A.jpg","first_air_date":"2015-06-18","genre_ids":[18],"id":64164,"media_type":"tv","name":"Sun's Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Güneşin Kızları","overview":"A teacher and a mother of three teenage daughters , gunes agrees to move from her home city Izmir to Istanbul to be with mysterious wealthy man who has fallen for her. Gunesin kizlari follows the never ending drama of Güneş and her daughters they face the events of their newly transformed lives.","poster_path":"/kVJbUlcWGyLp0H1xXLo1OicmU8x.jpg","vote_average":7.7,"vote_count":53},{"backdrop_path":"/eOLGKXZZrjJ8bvZvC5eGzQPlyGU.jpg","first_air_date":"2016-06-15","genre_ids":[35,18],"id":67570,"media_type":"tv","name":"Ask Laftan Anlamaz","origin_country":["TR"],"original_language":"tr","original_name":"Ask Laftan Anlamaz","overview":"Hayat is a country girl with strict parents. She is in a love hate relationship with her boss Murat. Hayat is full of secrets that can ruin her career and relationship.","poster_path":"/tnyM86EpqVRTHZKQenaUrbsTAGG.jpg","vote_average":8.8,"vote_count":8}],"known_for_department":"Acting","name":"Hande Erçel","popularity":36.07,"profile_path":"/heZOn03SAJkwbmTAdk7IXA5yMTV.jpg"},{"adult":false,"gender":1,"id":109513,"known_for":[{"adult":false,"backdrop_path":"/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg","genre_ids":[28,18,53],"id":254128,"media_type":"movie","original_language":"en","original_title":"San Andreas","overview":"In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.","poster_path":"/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg","release_date":"2015-05-27","title":"San Andreas","video":false,"vote_average":6.2,"vote_count":6703},{"adult":false,"backdrop_path":"/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg","genre_ids":[35,28,80],"id":339846,"media_type":"movie","original_language":"en","original_title":"Baywatch","overview":"Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.","poster_path":"/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg","release_date":"2017-05-12","title":"Baywatch","video":false,"vote_average":6.1,"vote_count":6508},{"adult":false,"backdrop_path":"/sEyNWq9985lyUrwayWnvicT4FHA.jpg","genre_ids":[12,14,10751],"id":32657,"media_type":"movie","original_language":"en","original_title":"Percy Jackson & the Olympians: The Lightning Thief","overview":"Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.","poster_path":"/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg","release_date":"2010-02-01","title":"Percy Jackson & the Olympians: The Lightning Thief","video":false,"vote_average":6.2,"vote_count":5857}],"known_for_department":"Acting","name":"Alexandra Daddario","popularity":35.572,"profile_path":"/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg"},{"adult":false,"gender":2,"id":1991255,"known_for":[{"backdrop_path":"/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg","first_air_date":"2017-03-25","genre_ids":[18],"id":76560,"media_type":"tv","name":"Mrs. Fazilet and Her Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Fazilet Hanım ve Kızları","overview":"The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.","poster_path":"/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg","vote_average":9.4,"vote_count":5},{"backdrop_path":"/lDbRMHVAGdkySaabD7KyyEbouoG.jpg","first_air_date":"2018-07-22","genre_ids":[18],"id":80229,"media_type":"tv","name":"Never Let My Hand Go","origin_country":["TR"],"original_language":"tr","original_name":"Elimi Bırakma","overview":"The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.","poster_path":"/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg","vote_average":10,"vote_count":4},{"backdrop_path":"/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg","first_air_date":"2021-06-15","genre_ids":[10766,18,35],"id":126255,"media_type":"tv","name":"Bir Ada Masali","origin_country":["TR"],"original_language":"tr","original_name":"Ada Masalı","overview":"","poster_path":"/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg","vote_average":10,"vote_count":1}],"known_for_department":"Acting","name":"Alp Navruz","popularity":35.135,"profile_path":"/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg"},{"adult":false,"gender":1,"id":98591,"known_for":[{"backdrop_path":"/7ggAjuO3g4AMt3p1ZsGeBNqLMsb.jpg","first_air_date":"1999-04-03","genre_ids":[10759],"id":896,"media_type":"tv","name":"The Lost World","origin_country":["AU"],"original_language":"en","original_name":"The Lost World","overview":"Early 20th-century adventurers find themselves fighting for survival after their hot-air balloon crashes into a remote part of the Amazon, stranding them on a prehistoric plateau.","poster_path":"/whA1PLf8nslT3R7kSvCssTCCUba.jpg","vote_average":7,"vote_count":50},{"adult":false,"genre_ids":[28,35,18,27],"id":48314,"media_type":"movie","original_language":"en","original_title":"Scarecrow","overview":"A high school outcast who lives in a trailer with his mother finally meets a friend. He wants to ask her if they can go the next step, but then sees her kissing another boy at a party. He runs home only to find his mother having sex with a drunk. He starts yelling, but is countered by the drunk when he suffocates him and makes him look like he hung himself. The scarecrow comes in when the boy's soul is pushed into it. He goes out for revenge.","poster_path":"/7K0SAUgDlcP2iymUypBeU0A7c0v.jpg","release_date":"2002-12-30","title":"Scarecrow","video":false,"vote_average":4.9,"vote_count":31},{"adult":false,"genre_ids":[27,53],"id":74807,"media_type":"movie","original_language":"en","original_title":"Cubbyhouse","overview":"Following a messy divorce, Lynn Graham moves back home to Australia with her three American-born children in tow. Buying an old house on the same street as her sister seems like a good idea, but its low price reflects a unpleasant history of murder and satanic ritual. Before long, her two youngest kids have fallen under the spell of an evil force emanating from a sinister cubbyhouse in the back garden, and bloody past events look set to repeat themselves.","poster_path":"/cBXOXhC315cyqZZkUvZV7mLoDDu.jpg","release_date":"2001-12-10","title":"Cubbyhouse","video":false,"vote_average":3.2,"vote_count":13}],"known_for_department":"Acting","name":"Belinda Gavin","popularity":34.416,"profile_path":"/mKaV0ClUBBl6oJtPPEGW5BK48ej.jpg"},{"adult":false,"gender":1,"id":142115,"known_for":[{"backdrop_path":"/eyG9srihv68ScRdEbJZj66WT4O0.jpg","first_air_date":"2014-10-07","genre_ids":[18,10765],"id":60735,"media_type":"tv","name":"The Flash","origin_country":["US"],"original_language":"en","original_name":"The Flash","overview":"After a particle accelerator causes a freak storm, CSI Investigator Barry Allen is struck by lightning and falls into a coma. Months later he awakens with the power of super speed, granting him the ability to move through Central City like an unseen guardian angel. Though initially excited by his newfound powers, Barry is shocked to discover he is not the only \"meta-human\" who was created in the wake of the accelerator explosion -- and not everyone is using their new powers for good. Barry partners with S.T.A.R. Labs and dedicates his life to protect the innocent. For now, only a few close friends and associates know that Barry is literally the fastest man alive, but it won't be long before the world learns what Barry Allen has become...The Flash.","poster_path":"/lJA2RCMfsWoskqlQhXPSLFQGXEJ.jpg","vote_average":7.7,"vote_count":8180},{"adult":false,"backdrop_path":"/5C8bfwglg91uZhc2fbfpSjNGamV.jpg","genre_ids":[27,9648],"id":591273,"media_type":"movie","original_language":"en","original_title":"Fear Street: 1994","overview":"In 1994, a group of teenagers discovers that the terrifying events which have haunted their town for generations ​are all connected — and that they may be the next targets.","poster_path":"/9J9Wy39ZjrVmfk7yMkulpcI5sy0.jpg","release_date":"2021-06-28","title":"Fear Street: 1994","video":false,"vote_average":6.8,"vote_count":855},{"adult":false,"backdrop_path":"/7jpj6ek9dftr3IXm7Pnq2pkhir3.jpg","genre_ids":[27,9648],"id":591274,"media_type":"movie","original_language":"en","original_title":"Fear Street: 1978","overview":"In 1978, two rival groups at Camp Nightwing must band together to solve a terrifying mystery when horrors from their towns' history come alive.","poster_path":"/5dNTxhoGDTHHGqUTdxcr4H1dqlU.jpg","release_date":"2021-07-08","title":"Fear Street: 1978","video":false,"vote_average":7.4,"vote_count":683}],"known_for_department":"Acting","name":"Kiana Madeira","popularity":34.048,"profile_path":"/mTXIwrrek6mDt8ODLmoV32fe7IO.jpg"},{"adult":false,"gender":1,"id":1734,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8941},{"backdrop_path":"/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg","first_air_date":"2001-10-16","genre_ids":[10765,10759,18],"id":4604,"media_type":"tv","name":"Smallville","origin_country":["US"],"original_language":"en","original_name":"Smallville","overview":"The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.","poster_path":"/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg","vote_average":8.2,"vote_count":2601},{"backdrop_path":"/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg","first_air_date":"1990-11-18","genre_ids":[10765,18,9648],"id":19614,"media_type":"tv","name":"It","origin_country":["US"],"original_language":"en","original_name":"It","overview":"In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.","poster_path":"/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg","vote_average":6.9,"vote_count":2275}],"known_for_department":"Acting","name":"Annette O'Toole","popularity":33.58,"profile_path":"/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg"},{"adult":false,"gender":1,"id":2374721,"known_for":[{"adult":false,"backdrop_path":"/h1BoDAepuEmEMC2qhjBONAYhre7.jpg","genre_ids":[10749],"id":698009,"media_type":"movie","original_language":"en","original_title":"어린 처제 3","overview":"Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...","poster_path":"/swEYylf53k2aGZHjv9PuIxalWQE.jpg","release_date":"2019-05-24","title":"Young Sister-in-law 3 - 2019","video":false,"vote_average":5,"vote_count":2},{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[10749],"id":699173,"media_type":"movie","original_language":"ko","original_title":"유부녀들: 남편 바꾸기","overview":"After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...","poster_path":"/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg","release_date":"2020-01-23","title":"Married Women: Husband Change","video":false,"vote_average":5,"vote_count":1}],"known_for_department":"Acting","name":"Han Seo-ah","popularity":32.855,"profile_path":"/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg"},{"adult":false,"gender":2,"id":10859,"known_for":[{"adult":false,"backdrop_path":"/en971MEXui9diirXlogOrPKmsEn.jpg","genre_ids":[28,12,35],"id":293660,"media_type":"movie","original_language":"en","original_title":"Deadpool","overview":"Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.","poster_path":"/3E53WEZJqP6aM84D8CckXx4pIHw.jpg","release_date":"2016-02-09","title":"Deadpool","video":false,"vote_average":7.6,"vote_count":25249},{"adult":false,"backdrop_path":"/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg","genre_ids":[28,35,12],"id":383498,"media_type":"movie","original_language":"en","original_title":"Deadpool 2","overview":"Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.","poster_path":"/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg","release_date":"2018-05-10","title":"Deadpool 2","video":false,"vote_average":7.5,"vote_count":13505},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9915}],"known_for_department":"Acting","name":"Ryan Reynolds","popularity":32.364,"profile_path":"/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg"},{"adult":false,"gender":2,"id":91606,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25087},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22311},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18703}],"known_for_department":"Acting","name":"Tom Hiddleston","popularity":32.1,"profile_path":"/mclHxMm8aPlCPKptP67257F5GPo.jpg"},{"adult":false,"gender":1,"id":1373737,"known_for":[{"adult":false,"backdrop_path":"/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg","genre_ids":[18,10749],"id":331482,"media_type":"movie","original_language":"en","original_title":"Little Women","overview":"Four sisters come of age in America in the aftermath of the Civil War.","poster_path":"/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg","release_date":"2019-12-25","title":"Little Women","video":false,"vote_average":7.9,"vote_count":3939},{"adult":false,"backdrop_path":"/g6GtOfXtzDpY73ef7wludoorTti.jpg","genre_ids":[27,18,9648],"id":530385,"media_type":"movie","original_language":"en","original_title":"Midsommar","overview":"Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.","poster_path":"/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg","release_date":"2019-07-03","title":"Midsommar","video":false,"vote_average":7.1,"vote_count":3907},{"adult":false,"backdrop_path":"/keIxh0wPr2Ymj0Btjh4gW7JJ89e.jpg","genre_ids":[28,12,53,878],"id":497698,"media_type":"movie","original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662}],"known_for_department":"Acting","name":"Florence Pugh","popularity":31.988,"profile_path":"/75PvULemW8BvheSKtPMoBBsvPLh.jpg"}],"total_pages":500,"total_results":10000} \ No newline at end of file From 3d1969f4cc8ad194652e8b375c95ea4948adadca Mon Sep 17 00:00:00 2001 From: Brahim Date: Mon, 2 Aug 2021 16:39:28 +0200 Subject: [PATCH 28/36] Fix: commands get-movie option --- src/utils/chalks.js | 5 ++--- src/utils/getMethods.js | 8 +++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/utils/chalks.js b/src/utils/chalks.js index 04814a2..ef2ad13 100644 --- a/src/utils/chalks.js +++ b/src/utils/chalks.js @@ -77,14 +77,13 @@ function chalkSingleMovie(body, spinner, reviews) { const chalkReviews = new Review(body); chalkReviews.renderMovieReviews(); - spinner.succeed("Movie reviews data loaded"); + spinner.succeed("Movie reviews data loaded\n"); } else { const chalkMovie = new Movie(body); chalkMovie.renderSingleMovie(); - spinner.succeed("Movie data loaded"); + spinner.succeed("Movie data loaded\n"); } - log("\n"); }, 1000); } catch (error) { spinner.fail(error.message); diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 178c33d..5de5c43 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -82,6 +82,7 @@ function MoviesByPage(page = 1, nowPlaying, option) { ...httpConstants, path: path, }; + const spinner = ora("Loading popular movies").start(); const req = https.request(options, (res) => { @@ -114,6 +115,11 @@ function SingleMovie(id, reviews) { path = `/3/movie/${id}/reviews?api_key=${process.env.API_KEY}`; } + const options = { + ...httpConstants, + path: path, + }; + const spinner = ora("Fetching the movie data...").start(); const req = https.request(options, (res) => { let body = ""; @@ -165,7 +171,7 @@ function JsonMoviesByPage(page = 1, nowPlaying) { spinner.succeed("Now playing movies data loaded"); }); } else { - spinner.fail("File dosn't exist"); + spinner.fail("File doesn't exist"); } } catch (err) { console.log(err.message); From c2d8ca3a48d903d75d21b413063d28d69df750ce Mon Sep 17 00:00:00 2001 From: Brahim Date: Mon, 2 Aug 2021 17:28:30 +0200 Subject: [PATCH 29/36] Doc: readme --- README.md | 25 +++++++++++++------------ src/img/nodejs.png | Bin 0 -> 3819 bytes 2 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 src/img/nodejs.png diff --git a/README.md b/README.md index a655c9d..8c224fb 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ ## About The Project -We will be building a CLI(command line) app that takes user input, which will be a page (or some other parameters), using a flag argument and uses this argument to make a http request to a REST API, the api we will be using is provided by www.themoviedb.org . The api provides information on a movie/person as requested using a parameter. We would consume this API to get the population of a country. +We will be building a CLI(command line) app that takes user input, which will be a page (or some other parameters), using a flag argument and uses this argument to make a http request to a REST API, the api we will be using is provided by [www.themoviedb.org](https://www.themoviedb.org) . The api provides information on a movie/person as requested using a parameter. We would consume this API to get the population of a country. To parse CL arguments we will use `Commander`, a node package. To make http requests we will use `Http` Node Module . @@ -74,10 +74,7 @@ This section should list any major frameworks that you built your project using. - `Dotenv` - `node-notifier` - `ora` spinners - ## Getting Started @@ -87,6 +84,7 @@ First of all you need to have installed node and git into your PC. ### Prerequisites This is an example of how to list things you need to use the software and how to install them. + * npm ```sh npm install npm@latest -g @@ -157,16 +155,19 @@ Distributed under the MIT License. See `LICENSE` for more information. ## Team Contact -Your Name - [@your_twitter](https://twitter.com/your_username) - email@example.com +Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): -Project Link: [https://github.com/your_username/repo_name](https://github.com/your_username/repo_name) + + + + + + + + +

haykbit

💻

imalovelyghost

💻
- -## Acknowledgements -* [GitHub Emoji Cheat Sheet](https://www.webpagefx.com/tools/emoji-cheat-sheet) -* [Img Shields](https://shields.io) -* [GitHub Pages](https://pages.github.com) -* [Font Awesome](https://fontawesome.com) +Project Link: [https://github.com/your_username/repo_name](https://github.com/your_username/repo_name) diff --git a/src/img/nodejs.png b/src/img/nodejs.png new file mode 100644 index 0000000000000000000000000000000000000000..2651e1cacf2c907aa421bae77498a2b8ae1081f1 GIT binary patch literal 3819 zcmbVP`8U*!7oL$)!dSCrXI=`)Hla@$TZ5QE$s{5|DOtjsk0mi8-my(~qp@U3h(ajF zGG;8JEFq;#jD*Y#GO~RA4c}kxdCq-)xc9l|+~?ezgtoU9Rb3E-=SdSviv|J@T$bL_}PxwT8pt{{H^h>`Pv+QK(F0W@hH4OP7AJ7dyw^b2d56 z!%YS6^Q`b@a&mIs-rl}#Hd0bjNl8gS7D7~1bbWojg7Ta~p(raW1389sb8|q(nY*N0 zC=?1P(la(T9v>ekkw}Y+i+b^=arKWzXGa-^t1JJ;z)zX~S~Wu;IemEvU$ z^8e8*QOOv1qF1S4n}JdWmA$H+Z?TiX{c+`^EXC&dxciH}hSCj_VN?Uq)L@Qg52+i?+XS#>>$WGsb_nf8Lw= zbgF+U!*YFOva!}H?6umlC#0?KUQ?fRtC3)`rE6>MM#4Zv0MJ9a+*YtrHc;xe54X4v zrX=+qvAH>hjraAJ`*Y76+{}q@+*xVV@#~Fe>84`a@-`#}pCUoK5@0aW94Z1Pd%?q% zJXDFKHofI1c}keg#|q_97`@U0n8z7~cfkNS2X4~1s|3#X6U;7`p~Tw%ix`;;35y08 zlfs$omK??0?_MP}{>!P(!RCa(6V>51GQOJPLPmyd1x)Iu+#Ua^ppV->WnHZT;r+}b z4#LA-32EzdHf=O&54XeY?a~=jG#UkO z%NH{WH*tE_T8p)?7_%?SkEQ#3Xfek;DHI7=t2_?c{$|*aril34w~rBf$`Tazs?^Ro zJ-b&%T`{1Zwkfk6U@l!*-?J18WVl)WF^8|c@nV{j2dw9qocZ!D-}|0a)vRfp&`wU+ z>{eR$f!UCHk+bdw|1=@BFeDsv<2L1Hm(!LNF-Ev4Ds zk*SHb45wPcMVOMNI&mEHd#Ixlnrq{$ce^z^JpXWH^f zjX;1eQJdzPVMvjCS9y8e(FH=xt|F~t3MXQDV#j6ejIFP3&&LIY>jN&{_(XWi@yD?Z z4y<#kw}kU#cGl%OpS!uUwGN9IdrqLk;ZL<9Nvkb5DVTQ6LgV@u*zkWY3#Uf~$v?Fi z57{h84RJVN;q+a*NXcXKA&rCup|NY?&@Us+yG)ce4q_nxX9EHrtAh(bvCA>AFHWSK zHxlz9xl0^t!E|m~A$&V44awnQ>me^D6n-18gQJ(Sq+>)L#%FcII1?2yjGaMu{C^^i-9Rguqr z>IFt~(0PUcRB9w?yfO!j%QrZcxZw$$6DD>VK6ZG$2o>Gehcj4e;a60sSrAkT^zQwv z%Z=i@}O4n+)AB zdkJ^3JAv24{lM;PQ-tBm!AF3dcarBJz+rUt!8HZxm}Z2c3K#Kw5#@LUbxSkL=?rJd zpHqLhrgO8g>gHzSNu<-a8xx_z#iBu)fh7fNTt#F*8ql&H`R2qfO|+M|GKb2fqh=0{ zCbC!twqV^QvOae^n7fvk|2rG@^-um|*w<2UXYOFy@Pk^A?8^U>eWw0MZtBL=SCd%= zSFdFOGH-5@My4poW0xkGj3$qakSfC#KY}tb(2$rZR&Cv2Lw7jL5m9G|t&H}3yRj~m zt{DbnZTD;VOs^gSg_g8+Pe${4V!`1BB(hK;Jl9HcY`o7*68UwWbxoXZ45_G1*=0rG;8r=|pr?WQ%pIn<-f| z%R!<$aiFUle*FBrk+Nvd*9?a-hDrc=^YFYw9aneht|LGcbM;(nqn4VW@uT{G>zTTpC$tX8+BO7RC?r zutmOs!{R#zzEq|0Ey)g?V=6H_68cFq&Ec0~?^bc&wZ@dDXc>QV4L0|8f4^e4HH0lP zyPAX^Sod+An?mP-yOKf*4Vle?486hi@Rx!gHUrFH0vvx4Fn(}3mw5xI3y>vEhb87I zMtx42<*YvGRyoRHgK(wbt8S;|MaTSZlgG_=)k>kWerdhxD$0Oz1t8RC;%jJOjFzCIb5xIoR4AG4= zg3(XVy`(?Cc--?jp)5#Sgg#Wa*}a3)rQi^R2Q#{|q+WWgk7=`z(z4#5s|HV&E%o%S zloHUlpyM1#+|&Puk=&QiQ7_W6%H1c}#H;F( zjn4?eM6(xcw`h#khtMdUV-m*{OkF95wA8nwr;n3j|3_HtI;Gr2|M)k0@1DM`Lg}&4&~#e z<)2A&CvU*TtUp={N{Ul({~0DfuZ(h-TNmgS@~|1vm9M<}K4Zy6PL}pDI|7(QO*!@y z7Ke{KZ8pr3NS$VCAQJq_w7CCXn;e@ElsG&3?CymRhWdZlH8?ryiHk|xrj&~BGO)8& zIrRiVu6&nV5cg}=8QH4NIF%B^QbdA_qXx}w`<+Obce}so#m0+2?fRwdE{LjX@>rgV`$%hsAER^bbK0YZ(iEB0pw1lInU`vQ1R48t=bJpnj#}03wiZhTh9)@? zib`D=6KREucX8<$7tI7D_H#Ntqj$l|tXFL7+-KY{{^o?#+x>HU=$YjwjM)Wch97Cq z!ou!k`TF*o^Mi%LM4KPXm+0B*?`&x!Er5nd9bEFgC=M`K5kFYy#f#Ufax&I#9yb|c zI4!u&8x&DipRHnq1>sK)q+U5-88y*CW;*#vwZm1ES&YJDGUar@FG@O$g6WCD@qh#F zWI1eunmiHHBPgfJ^wqID1%#ZCSMcTbFBsUZ3$!{d%yoDd!M2<)7Z+F?P!G8owRZe5EK5h|*bW~vawyV!q9;4EGtANC-}CSzB> z9OkY^_g%6tvr%hEQW!(#oTgKR6lgEvN zq;cx?7p48;x+p(*Xk6ZCBl)p>Tq|P1?$!?w>1Z`x+Tg7d>Qm@IUpgw9Bdo~hKF(dJ zxcK~d5vN{Qs*#XdfZqd^YLC!cWOpIJFR*}MzO(?R5+O8Wg-8=*9n%{#3i zXTN95;OzSYE6-l@9$VV|0rDH1ZEJhv*TTmHw*}jGK4cTAX&f^h8C=75f;wW&{aarF zp7YkQ%19=4>mPl5jv(MiJ>;{x5e)~! zjZK$sL@vn?xrD3vjIaZ_Wm)&5Q|a4P@=~@Jj2XptpF|8pjSQtsTD<8INEw6s*Nh&d zOx#O-o}tEoRu>J@be>u@cX>}mTu4o^sY{?8{ids-){3CG@~x%7Zw;qQa|Oo`bxzbT z({!JXIqqPgHn$>}8~o&Z2*b1Qc$RB#X4B98HO=LH`FXHt(Fzqfl*8IqP^ADGf*7|K Q`!62^Wod8m5_vuDe?f1ARR910 literal 0 HcmV?d00001 From bda41fcc0b6bc3142a696efdb6e77dc359d05ab3 Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Mon, 2 Aug 2021 17:32:28 +0200 Subject: [PATCH 30/36] Fix: Handle path modification --- src/moviedb.js | 4 +-- src/utils/fileReader.js | 4 +-- src/utils/getMethods.js | 35 ++++++++++++++---------- src/utils/movies/now-popular-movies.json | 1 + src/utils/movies/popular-movies.json | 2 +- 5 files changed, 26 insertions(+), 20 deletions(-) create mode 100644 src/utils/movies/now-popular-movies.json diff --git a/src/moviedb.js b/src/moviedb.js index 301520c..d0b1e5b 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -38,8 +38,8 @@ program .option("-s, --save", "The page of data to JSON file") .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { - get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); - if (opt.local) get.JsonMoviesByPage(opt.page, opt.nowPlaying); + if (!opt.local) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); + if (opt.local) get.JsonMoviesByPage(opt.nowPlaying); }); program diff --git a/src/utils/fileReader.js b/src/utils/fileReader.js index 1a10055..685c2ca 100644 --- a/src/utils/fileReader.js +++ b/src/utils/fileReader.js @@ -18,8 +18,8 @@ function saveMovies(page, flag) { if (!fs.existsSync(dir)) { fs.mkdirSync(dir, {recursive: true}); } - if (flag) fs.writeFileSync(path, JSON.stringify(page) , 'utf-8'); - else fs.writeFileSync(nowPath, JSON.stringify(page) , 'utf-8'); + if (flag) fs.writeFileSync(nowPath, JSON.stringify(page) , 'utf-8'); + else fs.writeFileSync(path, JSON.stringify(page) , 'utf-8'); } module.exports = { savePeople, saveMovies }; \ No newline at end of file diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 5de5c43..c0e3c94 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -4,6 +4,7 @@ const https = require("https"); const ora = require("ora"); const fs = require("fs"); const file = require("./fileReader.js"); +const os = require("os"); const httpConstants = require("./httpConstants.js"); const { @@ -90,9 +91,12 @@ function MoviesByPage(page = 1, nowPlaying, option) { res.on("data", (chunk) => (body += chunk)); res.on("end", () => { - if (option) { + if (option && nowPlaying) { file.saveMovies(JSON.parse(body), nowPlaying); spinner.succeed("Now playing movies data loaded"); + } else if (option){ + file.saveMovies(JSON.parse(body), nowPlaying); + spinner.succeed("Popular movies data loaded"); } else { chalkMovie(JSON.parse(body), spinner, nowPlaying); } @@ -136,8 +140,8 @@ function SingleMovie(id, reviews) { * get People by Pages from JSON * @param page: number of page to render */ -function JsonPersonByPage(page = 1) { - const spinner = ora("Loading popular people").start(); +function JsonPersonByPage() { + const spinner = ora("Reading people JSON file").start(); const path = "./src/utils/persons/popular-persons.json"; try { @@ -159,20 +163,21 @@ function JsonPersonByPage(page = 1) { * @param page: number of page to render * @param nowPlaying: bool, movies that are playing npw */ -function JsonMoviesByPage(page = 1, nowPlaying) { - const spinner = ora("Loading popular movies").start(); - const path = "./src/utils/movies/movies.json"; +function JsonMoviesByPage(nowPlaying) { + const spinner = ora("Reading movies JSON file").start(); + let path = "./src/utils/movies/popular-movies.json"; + + if(nowPlaying) path = "./src/utils/movies/now-popular-movies.json"; try { - if (fs.existsSync(path)) { - fs.readFile(path, "utf-8", (err, data) => { - const user = JSON.parse(data.toString(), null, 4); - chalkMovie(user, spinner, nowPlaying); - spinner.succeed("Now playing movies data loaded"); - }); - } else { - spinner.fail("File doesn't exist"); - } + if (fs.existsSync(path)) { + fs.readFile(path, "utf-8", (err, data) => { + const user = JSON.parse(data.toString(), null, 4); + chalkMovie(user, spinner, nowPlaying); + }); + } else { + spinner.fail("File doesn't exist"); + } } catch (err) { console.log(err.message); } diff --git a/src/utils/movies/now-popular-movies.json b/src/utils/movies/now-popular-movies.json new file mode 100644 index 0000000..c92cc65 --- /dev/null +++ b/src/utils/movies/now-popular-movies.json @@ -0,0 +1 @@ +{"dates":{"maximum":"2021-07-31","minimum":"2021-06-13"},"page":1,"results":[{"adult":false,"backdrop_path":"/4epzcO9HGbfc8BUJT0oNkL3rmCO.jpg","genre_ids":[28,80,53],"id":385128,"original_language":"en","original_title":"F9","overview":"Dominic Toretto and his crew battle the most skilled assassin and high-performance driver they've ever encountered: his forsaken brother.","popularity":5860.581,"poster_path":"/bOFaAXmWWXC3Rbv4u4uM9ZSzRXP.jpg","release_date":"2021-05-19","title":"F9","video":false,"vote_average":7.8,"vote_count":1728},{"adult":false,"backdrop_path":"/8s4h9friP6Ci3adRGahHARVd76E.jpg","genre_ids":[16,35,10751,878],"id":379686,"original_language":"en","original_title":"Space Jam: A New Legacy","overview":"When LeBron and his young son Dom are trapped in a digital space by a rogue A.I., LeBron must get them home safe by leading Bugs, Lola Bunny and the whole gang of notoriously undisciplined Looney Tunes to victory over the A.I.'s digitized champions on the court. It's Tunes versus Goons in the highest-stakes challenge of his life.","popularity":4781.639,"poster_path":"/5bFK5d3mVTAvBCXi5NPWH0tYjKl.jpg","release_date":"2021-07-08","title":"Space Jam: A New Legacy","video":false,"vote_average":7.7,"vote_count":1419},{"adult":false,"backdrop_path":"/dq18nCTTLpy9PmtzZI6Y2yAgdw5.jpg","genre_ids":[28,12,53,878],"id":497698,"original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","popularity":4627.772,"poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662},{"adult":false,"backdrop_path":"/tehpKMsls621GT9WUQie2Ft6LmP.jpg","genre_ids":[12,53,28,27,37],"id":602223,"original_language":"en","original_title":"The Forever Purge","overview":"All the rules are broken as a sect of lawless marauders decides that the annual Purge does not stop at daybreak and instead should never end as they chase a group of immigrants who they want to punish because of their harsh historical past.","popularity":3702.294,"poster_path":"/uHA5COgDzcxjpYSHHulrKVl6ByL.jpg","release_date":"2021-06-30","title":"The Forever Purge","video":false,"vote_average":7.8,"vote_count":726},{"adult":false,"backdrop_path":"/gX5UrH1TLVVBwI7WxplW43BD6Z1.jpg","genre_ids":[16,35,12,10751],"id":459151,"original_language":"en","original_title":"The Boss Baby: Family Business","overview":"The Templeton brothers — Tim and his Boss Baby little bro Ted — have become adults and drifted away from each other. But a new boss baby with a cutting-edge approach and a can-do attitude is about to bring them together again … and inspire a new family business.","popularity":3444.216,"poster_path":"/5dExO5G2iaaTxYnLIFKLWofDzyI.jpg","release_date":"2021-07-01","title":"The Boss Baby: Family Business","video":false,"vote_average":7.9,"vote_count":992},{"adult":false,"backdrop_path":"/620hnMVLu6RSZW6a5rwO8gqpt0t.jpg","genre_ids":[16,35,10751,14],"id":508943,"original_language":"en","original_title":"Luca","overview":"Luca and his best friend Alberto experience an unforgettable summer on the Italian Riviera. But all the fun is threatened by a deeply-held secret: they are sea monsters from another world just below the water’s surface.","popularity":3019.966,"poster_path":"/jTswp6KyDYKtvC52GbHagrZbGvD.jpg","release_date":"2021-06-17","title":"Luca","video":false,"vote_average":8.1,"vote_count":3426},{"adult":false,"backdrop_path":"/7WJjFviFBffEJvkAms4uWwbcVUk.jpg","genre_ids":[12,14,35,28],"id":451048,"original_language":"en","original_title":"Jungle Cruise","overview":"Dr. Lily Houghton enlists the aid of wisecracking skipper Frank Wolff to take her down the Amazon in his dilapidated boat. Together, they search for an ancient tree that holds the power to heal – a discovery that will change the future of medicine.","popularity":1946.942,"poster_path":"/9dKCd55IuTT5QRs989m9Qlb7d2B.jpg","release_date":"2021-07-28","title":"Jungle Cruise","video":false,"vote_average":8.2,"vote_count":645},{"adult":false,"backdrop_path":"/zm2kMjiz0u6qdn2XKbEbQkDiltN.jpg","genre_ids":[27],"id":675024,"original_language":"es","original_title":"El exorcismo de Carmen Farías","overview":"Carmen, a brave journalist, discovers soon after her mother's death that she has inherited her grandma's house. She decides to move there without knowing it hides dark secrets.","popularity":2581.669,"poster_path":"/uoTPjx07dxTrC1g3dYeaS2WNVGL.jpg","release_date":"2021-07-05","title":"The Exorcism of Carmen Farias","video":false,"vote_average":6.6,"vote_count":36},{"adult":false,"backdrop_path":"/6MKr3KgOLmzOP6MSuZERO41Lpkt.jpg","genre_ids":[35,80],"id":337404,"original_language":"en","original_title":"Cruella","overview":"In 1970s London amidst the punk rock revolution, a young grifter named Estella is determined to make a name for herself with her designs. She befriends a pair of young thieves who appreciate her appetite for mischief, and together they are able to build a life for themselves on the London streets. One day, Estella’s flair for fashion catches the eye of the Baroness von Hellman, a fashion legend who is devastatingly chic and terrifyingly haute. But their relationship sets in motion a course of events and revelations that will cause Estella to embrace her wicked side and become the raucous, fashionable and revenge-bent Cruella.","popularity":1635.546,"poster_path":"/rTh4K5uw9HypmpGslcKd4QfHl93.jpg","release_date":"2021-05-26","title":"Cruella","video":false,"vote_average":8.4,"vote_count":4478},{"adult":false,"backdrop_path":"/AsqUSUqXrK8JfH8WEQnCXVbIAv6.jpg","genre_ids":[878,53,27],"id":520763,"original_language":"en","original_title":"A Quiet Place Part II","overview":"Following the events at home, the Abbott family now face the terrors of the outside world. Forced to venture into the unknown, they realize that the creatures that hunt by sound are not the only threats that lurk beyond the sand path.","popularity":1436.462,"poster_path":"/4q2hz2m8hubgvijz8Ez0T2Os2Yv.jpg","release_date":"2021-05-21","title":"A Quiet Place Part II","video":false,"vote_average":7.7,"vote_count":2303},{"adult":false,"backdrop_path":"/5HjzYTihkH7EvOWSE7KcsF6pBMM.jpg","genre_ids":[10751,35,12,16,14],"id":522478,"original_language":"en","original_title":"Peter Rabbit 2: The Runaway","overview":"Bea, Thomas, and the rabbits have created a makeshift family, but despite his best efforts, Peter can’t seem to shake his mischievous reputation. Adventuring out of the garden, Peter finds himself in a world where his mischief is appreciated, but when his family risks everything to come looking for him, Peter must figure out what kind of bunny he wants to be.","popularity":1481.849,"poster_path":"/cycDz68DtTjJrDJ1fV8EBq2Xdpb.jpg","release_date":"2021-03-25","title":"Peter Rabbit 2: The Runaway","video":false,"vote_average":7.4,"vote_count":223},{"adult":false,"backdrop_path":"/70AV2Xx5FQYj20labp0EGdbjI6E.jpg","genre_ids":[80,28,53],"id":637649,"original_language":"en","original_title":"Wrath of Man","overview":"A cold and mysterious new security guard for a Los Angeles cash truck company surprises his co-workers when he unleashes precision skills during a heist. The crew is left wondering who he is and where he came from. Soon, the marksman's ultimate motive becomes clear as he takes dramatic and irrevocable steps to settle a score.","popularity":1558.624,"poster_path":"/M7SUK85sKjaStg4TKhlAVyGlz3.jpg","release_date":"2021-04-22","title":"Wrath of Man","video":false,"vote_average":7.9,"vote_count":1672},{"adult":false,"backdrop_path":"/6FzuNrApEc71aJ3CwwkpadbNled.jpg","genre_ids":[28,35,80],"id":581644,"original_language":"en","original_title":"The Misfits","overview":"After being recruited by a group of unconventional thieves, renowned criminal Richard Pace finds himself caught up in an elaborate gold heist that promises to have far-reaching implications on his life and the lives of countless others.","popularity":1460.728,"poster_path":"/dPOyYnCkRbWAEem85N3VFpQODf5.jpg","release_date":"2021-06-10","title":"The Misfits","video":false,"vote_average":5.4,"vote_count":85},{"adult":false,"backdrop_path":"/ok7RdHhVngnwkvKj09tvtOvypG.jpg","genre_ids":[80,18,53,9648],"id":649409,"original_language":"en","original_title":"No Sudden Move","overview":"A group of criminals are brought together under mysterious circumstances and have to work together to uncover what's really going on when their simple job goes completely sideways.","popularity":1054.1,"poster_path":"/34BmdJkdvRweC3xJJFlOFQ2IbYc.jpg","release_date":"2021-06-24","title":"No Sudden Move","video":false,"vote_average":6.6,"vote_count":145},{"adult":false,"backdrop_path":"/qi6Edc1OPcyENecGtz8TF0DUr9e.jpg","genre_ids":[27,9648,53],"id":423108,"original_language":"en","original_title":"The Conjuring: The Devil Made Me Do It","overview":"Paranormal investigators Ed and Lorraine Warren encounter what would become one of the most sensational cases from their files. The fight for the soul of a young boy takes them beyond anything they'd ever seen before, to mark the first time in U.S. history that a murder suspect would claim demonic possession as a defense.","popularity":1156.593,"poster_path":"/xbSuFiJbbBWCkyCCKIMfuDCA4yV.jpg","release_date":"2021-05-25","title":"The Conjuring: The Devil Made Me Do It","video":false,"vote_average":7.9,"vote_count":3279},{"adult":false,"backdrop_path":"/9yBVqNruk6Ykrwc32qrK2TIE5xw.jpg","genre_ids":[28,14,12],"id":460465,"original_language":"en","original_title":"Mortal Kombat","overview":"Washed-up MMA fighter Cole Young, unaware of his heritage, and hunted by Emperor Shang Tsung's best warrior, Sub-Zero, seeks out and trains with Earth's greatest champions as he prepares to stand against the enemies of Outworld in a high stakes battle for the universe.","popularity":1009.889,"poster_path":"/nkayOAUBUu4mMvyNf9iHSUiPjF1.jpg","release_date":"2021-04-07","title":"Mortal Kombat","video":false,"vote_average":7.4,"vote_count":3422},{"adult":false,"backdrop_path":"/q2mtFwvQQbun4nM9p16gA3Hqb0H.jpg","genre_ids":[9648,53,27],"id":631843,"original_language":"en","original_title":"Old","overview":"A group of families on a tropical holiday discover that the secluded beach where they are staying is somehow causing them to age rapidly – reducing their entire lives into a single day.","popularity":806.465,"poster_path":"/cGLL4SY6jFjjUZkz2eFxgtCtGgK.jpg","release_date":"2021-07-21","title":"Old","video":false,"vote_average":6.4,"vote_count":238},{"adult":false,"backdrop_path":"/xPpXYnCWfjkt3zzE0dpCNME1pXF.jpg","genre_ids":[16,28,12,14],"id":635302,"original_language":"ja","original_title":"劇場版「鬼滅の刃」無限列車編","overview":"Tanjirō Kamado, joined with Inosuke Hashibira, a boy raised by boars who wears a boar's head, and Zenitsu Agatsuma, a scared boy who reveals his true power when he sleeps, boards the Infinity Train on a new mission with the Fire Hashira, Kyōjurō Rengoku, to defeat a demon who has been tormenting the people and killing the demon slayers who oppose it!","popularity":885.572,"poster_path":"/h8Rb9gBr48ODIwYUttZNYeMWeUU.jpg","release_date":"2020-10-16","title":"Demon Slayer -Kimetsu no Yaiba- The Movie: Mugen Train","video":false,"vote_average":8.4,"vote_count":1444},{"adult":false,"backdrop_path":"/A0xW7GgeFQoQmPOn7HcHkBQ5nlb.jpg","genre_ids":[53,28],"id":817451,"original_language":"en","original_title":"Endangered Species","overview":"Jack Halsey takes his wife, their adult kids, and a friend for a dream vacation in Kenya. But as they venture off alone into a wilderness park, their safari van is flipped over by an angry rhino, leaving them injured and desperate. Then, as two of them go in search of rescue, a bloody, vicious encounter with a leopard and a clan of hyenas incites a desperate fight for survival.","popularity":793.01,"poster_path":"/ccsSqbpEqr2KK9eMvoeF8ERFCd5.jpg","release_date":"2021-05-27","title":"Endangered Species","video":false,"vote_average":6.3,"vote_count":74},{"adult":false,"backdrop_path":"/rAgsOIhqRS6tUthmHoqnqh9PIAE.jpg","genre_ids":[28,12,35,878],"id":436969,"original_language":"en","original_title":"The Suicide Squad","overview":"Supervillains Harley Quinn, Bloodsport, Peacemaker and a collection of nutty cons at Belle Reve prison join the super-secret, super-shady Task Force X as they are dropped off at the remote, enemy-infused island of Corto Maltese.","popularity":666.854,"poster_path":"/464N3J1i6L5SsazPmX9m3q1GiZ3.jpg","release_date":"2021-07-28","title":"The Suicide Squad","video":false,"vote_average":8.3,"vote_count":64}],"total_pages":56,"total_results":1112} \ No newline at end of file diff --git a/src/utils/movies/popular-movies.json b/src/utils/movies/popular-movies.json index 8e4b726..f892adb 100644 --- a/src/utils/movies/popular-movies.json +++ b/src/utils/movies/popular-movies.json @@ -1 +1 @@ -{"dates":{"maximum":"2021-07-31","minimum":"2021-06-13"},"page":1,"results":[{"adult":false,"backdrop_path":"/4epzcO9HGbfc8BUJT0oNkL3rmCO.jpg","genre_ids":[28,80,53],"id":385128,"original_language":"en","original_title":"F9","overview":"Dominic Toretto and his crew battle the most skilled assassin and high-performance driver they've ever encountered: his forsaken brother.","popularity":5860.581,"poster_path":"/bOFaAXmWWXC3Rbv4u4uM9ZSzRXP.jpg","release_date":"2021-05-19","title":"F9","video":false,"vote_average":7.8,"vote_count":1728},{"adult":false,"backdrop_path":"/8s4h9friP6Ci3adRGahHARVd76E.jpg","genre_ids":[16,35,10751,878],"id":379686,"original_language":"en","original_title":"Space Jam: A New Legacy","overview":"When LeBron and his young son Dom are trapped in a digital space by a rogue A.I., LeBron must get them home safe by leading Bugs, Lola Bunny and the whole gang of notoriously undisciplined Looney Tunes to victory over the A.I.'s digitized champions on the court. It's Tunes versus Goons in the highest-stakes challenge of his life.","popularity":4781.639,"poster_path":"/5bFK5d3mVTAvBCXi5NPWH0tYjKl.jpg","release_date":"2021-07-08","title":"Space Jam: A New Legacy","video":false,"vote_average":7.7,"vote_count":1419},{"adult":false,"backdrop_path":"/keIxh0wPr2Ymj0Btjh4gW7JJ89e.jpg","genre_ids":[28,12,53,878],"id":497698,"original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","popularity":4627.772,"poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662},{"adult":false,"backdrop_path":"/gX5UrH1TLVVBwI7WxplW43BD6Z1.jpg","genre_ids":[16,35,12,10751],"id":459151,"original_language":"en","original_title":"The Boss Baby: Family Business","overview":"The Templeton brothers — Tim and his Boss Baby little bro Ted — have become adults and drifted away from each other. But a new boss baby with a cutting-edge approach and a can-do attitude is about to bring them together again … and inspire a new family business.","popularity":3444.216,"poster_path":"/5dExO5G2iaaTxYnLIFKLWofDzyI.jpg","release_date":"2021-07-01","title":"The Boss Baby: Family Business","video":false,"vote_average":7.9,"vote_count":992},{"adult":false,"backdrop_path":"/tehpKMsls621GT9WUQie2Ft6LmP.jpg","genre_ids":[12,53,28,27,37],"id":602223,"original_language":"en","original_title":"The Forever Purge","overview":"All the rules are broken as a sect of lawless marauders decides that the annual Purge does not stop at daybreak and instead should never end as they chase a group of immigrants who they want to punish because of their harsh historical past.","popularity":3702.294,"poster_path":"/uHA5COgDzcxjpYSHHulrKVl6ByL.jpg","release_date":"2021-06-30","title":"The Forever Purge","video":false,"vote_average":7.8,"vote_count":726},{"adult":false,"backdrop_path":"/620hnMVLu6RSZW6a5rwO8gqpt0t.jpg","genre_ids":[16,35,10751,14],"id":508943,"original_language":"en","original_title":"Luca","overview":"Luca and his best friend Alberto experience an unforgettable summer on the Italian Riviera. But all the fun is threatened by a deeply-held secret: they are sea monsters from another world just below the water’s surface.","popularity":3019.966,"poster_path":"/jTswp6KyDYKtvC52GbHagrZbGvD.jpg","release_date":"2021-06-17","title":"Luca","video":false,"vote_average":8.1,"vote_count":3426},{"adult":false,"backdrop_path":"/zm2kMjiz0u6qdn2XKbEbQkDiltN.jpg","genre_ids":[27],"id":675024,"original_language":"es","original_title":"El exorcismo de Carmen Farías","overview":"Carmen, a brave journalist, discovers soon after her mother's death that she has inherited her grandma's house. She decides to move there without knowing it hides dark secrets.","popularity":2581.669,"poster_path":"/uoTPjx07dxTrC1g3dYeaS2WNVGL.jpg","release_date":"2021-07-05","title":"The Exorcism of Carmen Farias","video":false,"vote_average":6.6,"vote_count":36},{"adult":false,"backdrop_path":"/7WJjFviFBffEJvkAms4uWwbcVUk.jpg","genre_ids":[12,14,35,28],"id":451048,"original_language":"en","original_title":"Jungle Cruise","overview":"Dr. Lily Houghton enlists the aid of wisecracking skipper Frank Wolff to take her down the Amazon in his dilapidated boat. Together, they search for an ancient tree that holds the power to heal – a discovery that will change the future of medicine.","popularity":1946.942,"poster_path":"/9dKCd55IuTT5QRs989m9Qlb7d2B.jpg","release_date":"2021-07-28","title":"Jungle Cruise","video":false,"vote_average":8.2,"vote_count":645},{"adult":false,"backdrop_path":"/6MKr3KgOLmzOP6MSuZERO41Lpkt.jpg","genre_ids":[35,80],"id":337404,"original_language":"en","original_title":"Cruella","overview":"In 1970s London amidst the punk rock revolution, a young grifter named Estella is determined to make a name for herself with her designs. She befriends a pair of young thieves who appreciate her appetite for mischief, and together they are able to build a life for themselves on the London streets. One day, Estella’s flair for fashion catches the eye of the Baroness von Hellman, a fashion legend who is devastatingly chic and terrifyingly haute. But their relationship sets in motion a course of events and revelations that will cause Estella to embrace her wicked side and become the raucous, fashionable and revenge-bent Cruella.","popularity":1635.546,"poster_path":"/rTh4K5uw9HypmpGslcKd4QfHl93.jpg","release_date":"2021-05-26","title":"Cruella","video":false,"vote_average":8.4,"vote_count":4478},{"adult":false,"backdrop_path":"/5HjzYTihkH7EvOWSE7KcsF6pBMM.jpg","genre_ids":[10751,35,12,16,14],"id":522478,"original_language":"en","original_title":"Peter Rabbit 2: The Runaway","overview":"Bea, Thomas, and the rabbits have created a makeshift family, but despite his best efforts, Peter can’t seem to shake his mischievous reputation. Adventuring out of the garden, Peter finds himself in a world where his mischief is appreciated, but when his family risks everything to come looking for him, Peter must figure out what kind of bunny he wants to be.","popularity":1481.849,"poster_path":"/cycDz68DtTjJrDJ1fV8EBq2Xdpb.jpg","release_date":"2021-03-25","title":"Peter Rabbit 2: The Runaway","video":false,"vote_average":7.4,"vote_count":223},{"adult":false,"backdrop_path":"/70AV2Xx5FQYj20labp0EGdbjI6E.jpg","genre_ids":[80,28,53],"id":637649,"original_language":"en","original_title":"Wrath of Man","overview":"A cold and mysterious new security guard for a Los Angeles cash truck company surprises his co-workers when he unleashes precision skills during a heist. The crew is left wondering who he is and where he came from. Soon, the marksman's ultimate motive becomes clear as he takes dramatic and irrevocable steps to settle a score.","popularity":1558.624,"poster_path":"/M7SUK85sKjaStg4TKhlAVyGlz3.jpg","release_date":"2021-04-22","title":"Wrath of Man","video":false,"vote_average":7.9,"vote_count":1672},{"adult":false,"backdrop_path":"/AsqUSUqXrK8JfH8WEQnCXVbIAv6.jpg","genre_ids":[878,53,27],"id":520763,"original_language":"en","original_title":"A Quiet Place Part II","overview":"Following the events at home, the Abbott family now face the terrors of the outside world. Forced to venture into the unknown, they realize that the creatures that hunt by sound are not the only threats that lurk beyond the sand path.","popularity":1436.462,"poster_path":"/4q2hz2m8hubgvijz8Ez0T2Os2Yv.jpg","release_date":"2021-05-21","title":"A Quiet Place Part II","video":false,"vote_average":7.7,"vote_count":2303},{"adult":false,"backdrop_path":"/6FzuNrApEc71aJ3CwwkpadbNled.jpg","genre_ids":[28,35,80],"id":581644,"original_language":"en","original_title":"The Misfits","overview":"After being recruited by a group of unconventional thieves, renowned criminal Richard Pace finds himself caught up in an elaborate gold heist that promises to have far-reaching implications on his life and the lives of countless others.","popularity":1460.728,"poster_path":"/dPOyYnCkRbWAEem85N3VFpQODf5.jpg","release_date":"2021-06-10","title":"The Misfits","video":false,"vote_average":5.4,"vote_count":85},{"adult":false,"backdrop_path":"/ok7RdHhVngnwkvKj09tvtOvypG.jpg","genre_ids":[80,18,53,9648],"id":649409,"original_language":"en","original_title":"No Sudden Move","overview":"A group of criminals are brought together under mysterious circumstances and have to work together to uncover what's really going on when their simple job goes completely sideways.","popularity":1054.1,"poster_path":"/34BmdJkdvRweC3xJJFlOFQ2IbYc.jpg","release_date":"2021-06-24","title":"No Sudden Move","video":false,"vote_average":6.6,"vote_count":145},{"adult":false,"backdrop_path":"/qi6Edc1OPcyENecGtz8TF0DUr9e.jpg","genre_ids":[27,9648,53],"id":423108,"original_language":"en","original_title":"The Conjuring: The Devil Made Me Do It","overview":"Paranormal investigators Ed and Lorraine Warren encounter what would become one of the most sensational cases from their files. The fight for the soul of a young boy takes them beyond anything they'd ever seen before, to mark the first time in U.S. history that a murder suspect would claim demonic possession as a defense.","popularity":1156.593,"poster_path":"/xbSuFiJbbBWCkyCCKIMfuDCA4yV.jpg","release_date":"2021-05-25","title":"The Conjuring: The Devil Made Me Do It","video":false,"vote_average":7.9,"vote_count":3279},{"adult":false,"backdrop_path":"/9yBVqNruk6Ykrwc32qrK2TIE5xw.jpg","genre_ids":[28,14,12],"id":460465,"original_language":"en","original_title":"Mortal Kombat","overview":"Washed-up MMA fighter Cole Young, unaware of his heritage, and hunted by Emperor Shang Tsung's best warrior, Sub-Zero, seeks out and trains with Earth's greatest champions as he prepares to stand against the enemies of Outworld in a high stakes battle for the universe.","popularity":1009.889,"poster_path":"/nkayOAUBUu4mMvyNf9iHSUiPjF1.jpg","release_date":"2021-04-07","title":"Mortal Kombat","video":false,"vote_average":7.4,"vote_count":3422},{"adult":false,"backdrop_path":"/udBEKoj8Lscao3ovZPdUC1LpFvN.jpg","genre_ids":[9648,53,27],"id":631843,"original_language":"en","original_title":"Old","overview":"A group of families on a tropical holiday discover that the secluded beach where they are staying is somehow causing them to age rapidly – reducing their entire lives into a single day.","popularity":806.465,"poster_path":"/cGLL4SY6jFjjUZkz2eFxgtCtGgK.jpg","release_date":"2021-07-21","title":"Old","video":false,"vote_average":6.4,"vote_count":238},{"adult":false,"backdrop_path":"/xPpXYnCWfjkt3zzE0dpCNME1pXF.jpg","genre_ids":[16,28,12,14],"id":635302,"original_language":"ja","original_title":"劇場版「鬼滅の刃」無限列車編","overview":"Tanjirō Kamado, joined with Inosuke Hashibira, a boy raised by boars who wears a boar's head, and Zenitsu Agatsuma, a scared boy who reveals his true power when he sleeps, boards the Infinity Train on a new mission with the Fire Hashira, Kyōjurō Rengoku, to defeat a demon who has been tormenting the people and killing the demon slayers who oppose it!","popularity":885.572,"poster_path":"/h8Rb9gBr48ODIwYUttZNYeMWeUU.jpg","release_date":"2020-10-16","title":"Demon Slayer -Kimetsu no Yaiba- The Movie: Mugen Train","video":false,"vote_average":8.4,"vote_count":1444},{"adult":false,"backdrop_path":"/A0xW7GgeFQoQmPOn7HcHkBQ5nlb.jpg","genre_ids":[53,28],"id":817451,"original_language":"en","original_title":"Endangered Species","overview":"Jack Halsey takes his wife, their adult kids, and a friend for a dream vacation in Kenya. But as they venture off alone into a wilderness park, their safari van is flipped over by an angry rhino, leaving them injured and desperate. Then, as two of them go in search of rescue, a bloody, vicious encounter with a leopard and a clan of hyenas incites a desperate fight for survival.","popularity":793.01,"poster_path":"/ccsSqbpEqr2KK9eMvoeF8ERFCd5.jpg","release_date":"2021-05-27","title":"Endangered Species","video":false,"vote_average":6.3,"vote_count":74},{"adult":false,"backdrop_path":"/rAgsOIhqRS6tUthmHoqnqh9PIAE.jpg","genre_ids":[28,12,35,878],"id":436969,"original_language":"en","original_title":"The Suicide Squad","overview":"Supervillains Harley Quinn, Bloodsport, Peacemaker and a collection of nutty cons at Belle Reve prison join the super-secret, super-shady Task Force X as they are dropped off at the remote, enemy-infused island of Corto Maltese.","popularity":666.854,"poster_path":"/8EnA3iY6o1gDYn0YZA3WtL5Epnj.jpg","release_date":"2021-07-28","title":"The Suicide Squad","video":false,"vote_average":8.3,"vote_count":64}],"total_pages":56,"total_results":1112} \ No newline at end of file +{"page":1,"results":[{"adult":false,"backdrop_path":"/4epzcO9HGbfc8BUJT0oNkL3rmCO.jpg","genre_ids":[28,80,53],"id":385128,"original_language":"en","original_title":"F9","overview":"Dominic Toretto and his crew battle the most skilled assassin and high-performance driver they've ever encountered: his forsaken brother.","popularity":5860.581,"poster_path":"/bOFaAXmWWXC3Rbv4u4uM9ZSzRXP.jpg","release_date":"2021-05-19","title":"F9","video":false,"vote_average":7.8,"vote_count":1728},{"adult":false,"backdrop_path":"/8s4h9friP6Ci3adRGahHARVd76E.jpg","genre_ids":[16,35,10751,878],"id":379686,"original_language":"en","original_title":"Space Jam: A New Legacy","overview":"When LeBron and his young son Dom are trapped in a digital space by a rogue A.I., LeBron must get them home safe by leading Bugs, Lola Bunny and the whole gang of notoriously undisciplined Looney Tunes to victory over the A.I.'s digitized champions on the court. It's Tunes versus Goons in the highest-stakes challenge of his life.","popularity":4781.639,"poster_path":"/5bFK5d3mVTAvBCXi5NPWH0tYjKl.jpg","release_date":"2021-07-08","title":"Space Jam: A New Legacy","video":false,"vote_average":7.7,"vote_count":1419},{"adult":false,"backdrop_path":"/dq18nCTTLpy9PmtzZI6Y2yAgdw5.jpg","genre_ids":[28,12,53,878],"id":497698,"original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","popularity":4627.772,"poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662},{"adult":false,"backdrop_path":"/tehpKMsls621GT9WUQie2Ft6LmP.jpg","genre_ids":[12,53,28,27,37],"id":602223,"original_language":"en","original_title":"The Forever Purge","overview":"All the rules are broken as a sect of lawless marauders decides that the annual Purge does not stop at daybreak and instead should never end as they chase a group of immigrants who they want to punish because of their harsh historical past.","popularity":3702.294,"poster_path":"/uHA5COgDzcxjpYSHHulrKVl6ByL.jpg","release_date":"2021-06-30","title":"The Forever Purge","video":false,"vote_average":7.8,"vote_count":726},{"adult":false,"backdrop_path":"/gX5UrH1TLVVBwI7WxplW43BD6Z1.jpg","genre_ids":[16,35,12,10751],"id":459151,"original_language":"en","original_title":"The Boss Baby: Family Business","overview":"The Templeton brothers — Tim and his Boss Baby little bro Ted — have become adults and drifted away from each other. But a new boss baby with a cutting-edge approach and a can-do attitude is about to bring them together again … and inspire a new family business.","popularity":3444.216,"poster_path":"/5dExO5G2iaaTxYnLIFKLWofDzyI.jpg","release_date":"2021-07-01","title":"The Boss Baby: Family Business","video":false,"vote_average":7.9,"vote_count":992},{"adult":false,"backdrop_path":"/620hnMVLu6RSZW6a5rwO8gqpt0t.jpg","genre_ids":[16,35,10751,14],"id":508943,"original_language":"en","original_title":"Luca","overview":"Luca and his best friend Alberto experience an unforgettable summer on the Italian Riviera. But all the fun is threatened by a deeply-held secret: they are sea monsters from another world just below the water’s surface.","popularity":3019.966,"poster_path":"/jTswp6KyDYKtvC52GbHagrZbGvD.jpg","release_date":"2021-06-17","title":"Luca","video":false,"vote_average":8.1,"vote_count":3426},{"adult":false,"backdrop_path":"/yizL4cEKsVvl17Wc1mGEIrQtM2F.jpg","genre_ids":[28,878],"id":588228,"original_language":"en","original_title":"The Tomorrow War","overview":"The world is stunned when a group of time travelers arrive from the year 2051 to deliver an urgent message: Thirty years in the future, mankind is losing a global war against a deadly alien species. The only hope for survival is for soldiers and civilians from the present to be transported to the future and join the fight. Among those recruited is high school teacher and family man Dan Forester. Determined to save the world for his young daughter, Dan teams up with a brilliant scientist and his estranged father in a desperate quest to rewrite the fate of the planet.","popularity":2876.135,"poster_path":"/34nDCQZwaEvsy4CFO5hkGRFDCVU.jpg","release_date":"2021-06-30","title":"The Tomorrow War","video":false,"vote_average":8.2,"vote_count":3077},{"adult":false,"backdrop_path":"/7WJjFviFBffEJvkAms4uWwbcVUk.jpg","genre_ids":[12,14,35,28],"id":451048,"original_language":"en","original_title":"Jungle Cruise","overview":"Dr. Lily Houghton enlists the aid of wisecracking skipper Frank Wolff to take her down the Amazon in his dilapidated boat. Together, they search for an ancient tree that holds the power to heal – a discovery that will change the future of medicine.","popularity":1946.942,"poster_path":"/9dKCd55IuTT5QRs989m9Qlb7d2B.jpg","release_date":"2021-07-28","title":"Jungle Cruise","video":false,"vote_average":8.2,"vote_count":645},{"adult":false,"backdrop_path":"/zm2kMjiz0u6qdn2XKbEbQkDiltN.jpg","genre_ids":[27],"id":675024,"original_language":"es","original_title":"El exorcismo de Carmen Farías","overview":"Carmen, a brave journalist, discovers soon after her mother's death that she has inherited her grandma's house. She decides to move there without knowing it hides dark secrets.","popularity":2581.669,"poster_path":"/uoTPjx07dxTrC1g3dYeaS2WNVGL.jpg","release_date":"2021-07-05","title":"The Exorcism of Carmen Farias","video":false,"vote_average":6.6,"vote_count":36},{"adult":false,"backdrop_path":"/wjQXZTlFM3PVEUmKf1sUajjygqT.jpg","genre_ids":[878,28,53],"id":581726,"original_language":"en","original_title":"Infinite","overview":"Evan McCauley has skills he never learned and memories of places he has never visited. Self-medicated and on the brink of a mental breakdown, a secret group that call themselves “Infinites” come to his rescue, revealing that his memories are real.","popularity":2045.089,"poster_path":"/niw2AKHz6XmwiRMLWaoyAOAti0G.jpg","release_date":"2021-06-10","title":"Infinite","video":false,"vote_average":7.2,"vote_count":564},{"adult":false,"backdrop_path":"/3OwaKVZf3A2NdnarqKbwzFEhKir.jpg","genre_ids":[16,14,10751,28,12,878],"id":730840,"original_language":"en","original_title":"Trollhunters: Rise of the Titans","overview":"Arcadia may look like an ordinary town, but it lies at the center of magical and mystical lines that makes it a nexus for many battles among otherworldly creatures, including trolls, aliens, and wizards. Now, various heroes will team-up in an epic adventure where they must fight the Arcane Order for control over the magic that binds them all together.","popularity":1837.168,"poster_path":"/zvUNFeTz0Sssb210wSiIiHRjA4W.jpg","release_date":"2021-07-21","title":"Trollhunters: Rise of the Titans","video":false,"vote_average":7.9,"vote_count":108},{"adult":false,"backdrop_path":"/iJ2HVOZT9Kjayrhy21pbGIJs9ey.jpg","genre_ids":[28,12,14],"id":525660,"original_language":"cn","original_title":"真·三国无双","overview":"Warlords, warriors and statesmen wage a battle for supremacy in this fantasy tale based on the hit video games and the \"Romance of the Three Kingdoms.\"","popularity":1915.982,"poster_path":"/7BCTdek5LFHglcgl7shsm7igJAH.jpg","release_date":"2021-04-29","title":"Dynasty Warriors","video":false,"vote_average":6.6,"vote_count":46},{"adult":false,"backdrop_path":"/6MKr3KgOLmzOP6MSuZERO41Lpkt.jpg","genre_ids":[35,80],"id":337404,"original_language":"en","original_title":"Cruella","overview":"In 1970s London amidst the punk rock revolution, a young grifter named Estella is determined to make a name for herself with her designs. She befriends a pair of young thieves who appreciate her appetite for mischief, and together they are able to build a life for themselves on the London streets. One day, Estella’s flair for fashion catches the eye of the Baroness von Hellman, a fashion legend who is devastatingly chic and terrifyingly haute. But their relationship sets in motion a course of events and revelations that will cause Estella to embrace her wicked side and become the raucous, fashionable and revenge-bent Cruella.","popularity":1635.546,"poster_path":"/rTh4K5uw9HypmpGslcKd4QfHl93.jpg","release_date":"2021-05-26","title":"Cruella","video":false,"vote_average":8.4,"vote_count":4478},{"adult":false,"backdrop_path":"/AsqUSUqXrK8JfH8WEQnCXVbIAv6.jpg","genre_ids":[878,53,27],"id":520763,"original_language":"en","original_title":"A Quiet Place Part II","overview":"Following the events at home, the Abbott family now face the terrors of the outside world. Forced to venture into the unknown, they realize that the creatures that hunt by sound are not the only threats that lurk beyond the sand path.","popularity":1436.462,"poster_path":"/4q2hz2m8hubgvijz8Ez0T2Os2Yv.jpg","release_date":"2021-05-21","title":"A Quiet Place Part II","video":false,"vote_average":7.7,"vote_count":2303},{"adult":false,"backdrop_path":"/5HjzYTihkH7EvOWSE7KcsF6pBMM.jpg","genre_ids":[10751,35,12,16,14],"id":522478,"original_language":"en","original_title":"Peter Rabbit 2: The Runaway","overview":"Bea, Thomas, and the rabbits have created a makeshift family, but despite his best efforts, Peter can’t seem to shake his mischievous reputation. Adventuring out of the garden, Peter finds himself in a world where his mischief is appreciated, but when his family risks everything to come looking for him, Peter must figure out what kind of bunny he wants to be.","popularity":1481.849,"poster_path":"/cycDz68DtTjJrDJ1fV8EBq2Xdpb.jpg","release_date":"2021-03-25","title":"Peter Rabbit 2: The Runaway","video":false,"vote_average":7.4,"vote_count":223},{"adult":false,"backdrop_path":"/zsH3iW60T1t2HBTtrSKzzxJ406J.jpg","genre_ids":[16,35,10751],"id":846214,"original_language":"en","original_title":"The Simpsons: The Good, the Bart, and the Loki","overview":"Loki is banished from Asgard once again and must face his toughest opponents yet: the Simpsons and Springfield’s mightiest heroes. The God of Mischief teams up with Bart Simpson in the ultimate crossover event paying tribute to the Marvel Cinematic Universe of superheroes and villains.","popularity":1278.673,"poster_path":"/rtMdtzywcAGOrF6t8fbxJBqpdcq.jpg","release_date":"2021-07-07","title":"The Simpsons: The Good, the Bart, and the Loki","video":false,"vote_average":7.9,"vote_count":316},{"adult":false,"backdrop_path":"/x9p2syPxeK2OYCpz35fsg0EFjlG.jpg","genre_ids":[16,28,12,35,10751,14,878],"id":834404,"original_language":"en","original_title":"Teen Titans Go! See Space Jam","overview":"The Teen Titans are visited by the Nerdlucks, the Space Jam villains who tried to capture Michael Jordan and the Looney Tunes. Astonished to discover his fellow Titans have never seen Space Jam, Cyborg organizes an exclusive watch party. Of course, if the Titans are watching a movie, don't expect silence to be golden. Raven and Starfire provide the commentary, Cyborg presents the fun facts, Beast Boy points out the butt shots, and Robin, but Robin doesn't trust their new alien friends. Are the Nerdlucks here to attend an innocent watch party, or do they have more sinister motives up their sleeves?","popularity":1326.877,"poster_path":"/rMoVOCw6DF3zC6hS76ZhQMWiXNX.jpg","release_date":"2021-06-20","title":"Teen Titans Go! See Space Jam","video":false,"vote_average":7.2,"vote_count":76},{"adult":false,"backdrop_path":"/70AV2Xx5FQYj20labp0EGdbjI6E.jpg","genre_ids":[80,28,53],"id":637649,"original_language":"en","original_title":"Wrath of Man","overview":"A cold and mysterious new security guard for a Los Angeles cash truck company surprises his co-workers when he unleashes precision skills during a heist. The crew is left wondering who he is and where he came from. Soon, the marksman's ultimate motive becomes clear as he takes dramatic and irrevocable steps to settle a score.","popularity":1558.624,"poster_path":"/M7SUK85sKjaStg4TKhlAVyGlz3.jpg","release_date":"2021-04-22","title":"Wrath of Man","video":false,"vote_average":7.9,"vote_count":1672},{"adult":false,"backdrop_path":null,"genre_ids":[28,80],"id":385687,"original_language":"en","original_title":"Fast & Furious 10","overview":"The tenth installment in the Fast Saga.","popularity":1168.467,"poster_path":"/2DyEk84XnbJEdPlGF43crxfdtHH.jpg","title":"Fast & Furious 10","video":false,"vote_average":0,"vote_count":0},{"adult":false,"backdrop_path":"/6FzuNrApEc71aJ3CwwkpadbNled.jpg","genre_ids":[28,35,80],"id":581644,"original_language":"en","original_title":"The Misfits","overview":"After being recruited by a group of unconventional thieves, renowned criminal Richard Pace finds himself caught up in an elaborate gold heist that promises to have far-reaching implications on his life and the lives of countless others.","popularity":1460.728,"poster_path":"/dPOyYnCkRbWAEem85N3VFpQODf5.jpg","release_date":"2021-06-10","title":"The Misfits","video":false,"vote_average":5.4,"vote_count":85}],"total_pages":500,"total_results":10000} \ No newline at end of file From be8996887f857ad8e7e73b9b5bb0b6024a2132e9 Mon Sep 17 00:00:00 2001 From: imalovelyghost Date: Mon, 2 Aug 2021 17:33:36 +0200 Subject: [PATCH 31/36] function started --- src/utils/getMethods.js | 6 +++- src/utils/movies/now-popular-movies.json | 1 + src/utils/notifier.js | 41 ++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 src/utils/movies/now-popular-movies.json create mode 100644 src/utils/notifier.js diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 5de5c43..5032b76 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -3,6 +3,7 @@ const https = require("https"); const ora = require("ora"); const fs = require("fs"); +const notifier = require("node-notifier"); const file = require("./fileReader.js"); const httpConstants = require("./httpConstants.js"); @@ -12,7 +13,6 @@ const { chalkPersonId, chalkSingleMovie, } = require("./chalks.js"); - /** * get People by Pages * @param page: number of page to render @@ -33,6 +33,10 @@ function PersonsByPage(page = 1, option) { if (option) { file.savePeople(JSON.parse(body)); spinner.succeed("Popular Persons data loaded"); + // notifier.notify({ + // title: "Popular Persons", + // message: "Popular Persons data loaded", + // }); } else { chalkPeople(JSON.parse(body), spinner); } diff --git a/src/utils/movies/now-popular-movies.json b/src/utils/movies/now-popular-movies.json new file mode 100644 index 0000000..ed6ff11 --- /dev/null +++ b/src/utils/movies/now-popular-movies.json @@ -0,0 +1 @@ +{"page":2,"results":[{"adult":false,"backdrop_path":"/3RMbkXS4ocMmoJyAD3ZsWbm32Kx.jpg","genre_ids":[18,878,53],"id":615658,"original_language":"en","original_title":"Awake","overview":"After a sudden global event wipes out all electronics and takes away humankind’s ability to sleep, chaos quickly begins to consume the world. Only Jill, an ex-soldier with a troubled past, may hold the key to a cure in the form of her own daughter. The question is, can Jill safely deliver her daughter and save the world before she herself loses her mind.","popularity":1136.254,"poster_path":"/uZkNbB8isWXHMDNoIbqXvmslBMC.jpg","release_date":"2021-06-09","title":"Awake","video":false,"vote_average":6.1,"vote_count":570},{"adult":false,"backdrop_path":"/s15olg5LwRqTjgDd5KIfVXhcoqs.jpg","genre_ids":[27,53,28],"id":760883,"original_language":"de","original_title":"Blood Red Sky","overview":"A woman with a mysterious illness is forced into action when a group of terrorists attempt to hijack a transatlantic overnight flight. In order to protect her son she will have to reveal a dark secret, and unleash the inner monster she has fought to hide.","popularity":1427.675,"poster_path":"/ky8Fua6PD7FyyOA7JACh3GDETli.jpg","release_date":"2021-07-23","title":"Blood Red Sky","video":false,"vote_average":7.4,"vote_count":473},{"adult":false,"backdrop_path":"/c0izdYdnTe4uMRifHgvTA85wPz0.jpg","genre_ids":[28,12,27,80],"id":503736,"original_language":"en","original_title":"Army of the Dead","overview":"Following a zombie outbreak in Las Vegas, a group of mercenaries take the ultimate gamble: venturing into the quarantine zone to pull off the greatest heist ever attempted.","popularity":1140.14,"poster_path":"/z8CExJekGrEThbpMXAmCFvvgoJR.jpg","release_date":"2021-05-14","title":"Army of the Dead","video":false,"vote_average":6.4,"vote_count":2055},{"adult":false,"backdrop_path":"/ok7RdHhVngnwkvKj09tvtOvypG.jpg","genre_ids":[80,18,53,9648],"id":649409,"original_language":"en","original_title":"No Sudden Move","overview":"A group of criminals are brought together under mysterious circumstances and have to work together to uncover what's really going on when their simple job goes completely sideways.","popularity":1054.1,"poster_path":"/34BmdJkdvRweC3xJJFlOFQ2IbYc.jpg","release_date":"2021-06-24","title":"No Sudden Move","video":false,"vote_average":6.6,"vote_count":145},{"adult":false,"backdrop_path":"/qi6Edc1OPcyENecGtz8TF0DUr9e.jpg","genre_ids":[27,9648,53],"id":423108,"original_language":"en","original_title":"The Conjuring: The Devil Made Me Do It","overview":"Paranormal investigators Ed and Lorraine Warren encounter what would become one of the most sensational cases from their files. The fight for the soul of a young boy takes them beyond anything they'd ever seen before, to mark the first time in U.S. history that a murder suspect would claim demonic possession as a defense.","popularity":1156.593,"poster_path":"/xbSuFiJbbBWCkyCCKIMfuDCA4yV.jpg","release_date":"2021-05-25","title":"The Conjuring: The Devil Made Me Do It","video":false,"vote_average":7.9,"vote_count":3279},{"adult":false,"backdrop_path":"/9yBVqNruk6Ykrwc32qrK2TIE5xw.jpg","genre_ids":[28,14,12],"id":460465,"original_language":"en","original_title":"Mortal Kombat","overview":"Washed-up MMA fighter Cole Young, unaware of his heritage, and hunted by Emperor Shang Tsung's best warrior, Sub-Zero, seeks out and trains with Earth's greatest champions as he prepares to stand against the enemies of Outworld in a high stakes battle for the universe.","popularity":1009.889,"poster_path":"/nkayOAUBUu4mMvyNf9iHSUiPjF1.jpg","release_date":"2021-04-07","title":"Mortal Kombat","video":false,"vote_average":7.4,"vote_count":3422},{"adult":false,"backdrop_path":"/inJjDhCjfhh3RtrJWBmmDqeuSYC.jpg","genre_ids":[28,12,14],"id":399566,"original_language":"en","original_title":"Godzilla vs. Kong","overview":"In a time when monsters walk the Earth, humanity’s fight for its future sets Godzilla and Kong on a collision course that will see the two most powerful forces of nature on the planet collide in a spectacular battle for the ages.","popularity":992.262,"poster_path":"/pgqgaUx1cJb5oZQQ5v0tNARCeBp.jpg","release_date":"2021-03-24","title":"Godzilla vs. Kong","video":false,"vote_average":8,"vote_count":6564},{"adult":false,"backdrop_path":"/pfcj8IYB5bK8RTWiHwOCGfIzVw6.jpg","genre_ids":[18,14,53],"id":845222,"original_language":"ko","original_title":"킹덤: 아신전","overview":"Tragedy, betrayal and a mysterious discovery fuel a woman's vengeance for the loss of her tribe and family in this special episode of \"Kingdom.\"","popularity":807.065,"poster_path":"/cE9SBjWMUK0HFxmT1cVFDtu5CLT.jpg","release_date":"2021-07-23","title":"Kingdom: Ashin of the North","video":false,"vote_average":7.7,"vote_count":194},{"adult":false,"backdrop_path":"/q2mtFwvQQbun4nM9p16gA3Hqb0H.jpg","genre_ids":[9648,53,27],"id":631843,"original_language":"en","original_title":"Old","overview":"A group of families on a tropical holiday discover that the secluded beach where they are staying is somehow causing them to age rapidly – reducing their entire lives into a single day.","popularity":806.465,"poster_path":"/cGLL4SY6jFjjUZkz2eFxgtCtGgK.jpg","release_date":"2021-07-21","title":"Old","video":false,"vote_average":6.4,"vote_count":238},{"adult":false,"backdrop_path":"/xPpXYnCWfjkt3zzE0dpCNME1pXF.jpg","genre_ids":[16,28,12,14],"id":635302,"original_language":"ja","original_title":"劇場版「鬼滅の刃」無限列車編","overview":"Tanjirō Kamado, joined with Inosuke Hashibira, a boy raised by boars who wears a boar's head, and Zenitsu Agatsuma, a scared boy who reveals his true power when he sleeps, boards the Infinity Train on a new mission with the Fire Hashira, Kyōjurō Rengoku, to defeat a demon who has been tormenting the people and killing the demon slayers who oppose it!","popularity":885.572,"poster_path":"/h8Rb9gBr48ODIwYUttZNYeMWeUU.jpg","release_date":"2020-10-16","title":"Demon Slayer -Kimetsu no Yaiba- The Movie: Mugen Train","video":false,"vote_average":8.4,"vote_count":1444},{"adult":false,"backdrop_path":"/syjh4WJARo5gwjyUYxOPOElWGWh.jpg","genre_ids":[27,53],"id":698320,"original_language":"en","original_title":"The Mad Hatter","overview":"An eccentric professor takes four of his students to the mansion of the “Mad Hatter”, an urban legend driven insane by mercury poisoning and grief. He says that there’s nothing to worry about now: the strange, shambling “caretakers” that haunt the home are merely servants that have fallen to inbreeding, and the Hatter himself has been dead for years. But as the students start disappearing one by one, those that remain start to question if the professor’s experiment is truly scientific...and if the Hatter didn’t just succumb to his madness, but decided to spread it...","popularity":940.814,"poster_path":"/lTUfalNirpq7SBASa6lnzs27iam.jpg","release_date":"2021-01-29","title":"The Mad Hatter","video":false,"vote_average":6.3,"vote_count":34},{"adult":false,"backdrop_path":"/5C8bfwglg91uZhc2fbfpSjNGamV.jpg","genre_ids":[27,9648],"id":591273,"original_language":"en","original_title":"Fear Street: 1994","overview":"In 1994, a group of teenagers discovers that the terrifying events which have haunted their town for generations ​are all connected — and that they may be the next targets.","popularity":761.372,"poster_path":"/9J9Wy39ZjrVmfk7yMkulpcI5sy0.jpg","release_date":"2021-06-28","title":"Fear Street: 1994","video":false,"vote_average":6.8,"vote_count":855},{"adult":false,"backdrop_path":"/yC4DRg5aGgNpkHpUDpLtBqzownS.jpg","genre_ids":[878,28],"id":586047,"original_language":"ko","original_title":"서복","overview":"A former intelligence agent gets involved with the first human clone, Seo Bok, who others seek, causing trouble.","popularity":752.875,"poster_path":"/nxxuWC32Y6TULj4VnVwMPUFLIpK.jpg","release_date":"2021-04-12","title":"Seobok","video":false,"vote_average":7.6,"vote_count":69},{"adult":false,"backdrop_path":"/pVNXmfZvQKFdUKVYNJxZAiy69DC.jpg","genre_ids":[28,12],"id":529106,"original_language":"ru","original_title":"Майор Гром: Чумной Доктор","overview":"Igor Grom is a skilled policeman from St. Petersburg, known for his daring nature and uncompromising attitude towards the criminals of all kinds. Incredible strength, analytical mind and integrity – these qualities make Major Grom the perfect policeman. Working tirelessly, he always pushes through, and meets the challenges standing in the way.","popularity":830.05,"poster_path":"/wnesEmcq7xdw1Rm1Bn6XEFTkenR.jpg","release_date":"2021-04-01","title":"Major Grom: Plague Doctor","video":false,"vote_average":7,"vote_count":223},{"adult":false,"backdrop_path":"/7jpj6ek9dftr3IXm7Pnq2pkhir3.jpg","genre_ids":[27,9648],"id":591274,"original_language":"en","original_title":"Fear Street: 1978","overview":"In 1978, two rival groups at Camp Nightwing must band together to solve a terrifying mystery when horrors from their towns' history come alive.","popularity":695.095,"poster_path":"/5dNTxhoGDTHHGqUTdxcr4H1dqlU.jpg","release_date":"2021-07-08","title":"Fear Street: 1978","video":false,"vote_average":7.4,"vote_count":683},{"adult":false,"backdrop_path":"/rlNnwObbMu5G2FaOUlacnUIdIIA.jpg","genre_ids":[16,35,10751,12],"id":726684,"original_language":"fr","original_title":"Miraculous World : Shanghai, la légende de Ladydragon","overview":"On school break, Marinette heads to Shanghai to meet Adrien. But after arriving, Marinette loses all her stuff, including the Miraculous that allows her to turn into Ladybug!","popularity":703.442,"poster_path":"/qQ0VKsGRQ2ofAmswGNzZnvC1xPE.jpg","release_date":"2021-04-04","title":"Miraculous World: Shanghai – The Legend of Ladydragon","video":false,"vote_average":7.9,"vote_count":521},{"adult":false,"backdrop_path":"/A0xW7GgeFQoQmPOn7HcHkBQ5nlb.jpg","genre_ids":[53,28],"id":817451,"original_language":"en","original_title":"Endangered Species","overview":"Jack Halsey takes his wife, their adult kids, and a friend for a dream vacation in Kenya. But as they venture off alone into a wilderness park, their safari van is flipped over by an angry rhino, leaving them injured and desperate. Then, as two of them go in search of rescue, a bloody, vicious encounter with a leopard and a clan of hyenas incites a desperate fight for survival.","popularity":793.01,"poster_path":"/ccsSqbpEqr2KK9eMvoeF8ERFCd5.jpg","release_date":"2021-05-27","title":"Endangered Species","video":false,"vote_average":6.3,"vote_count":74},{"adult":false,"backdrop_path":"/rAgsOIhqRS6tUthmHoqnqh9PIAE.jpg","genre_ids":[28,12,35,878],"id":436969,"original_language":"en","original_title":"The Suicide Squad","overview":"Supervillains Harley Quinn, Bloodsport, Peacemaker and a collection of nutty cons at Belle Reve prison join the super-secret, super-shady Task Force X as they are dropped off at the remote, enemy-infused island of Corto Maltese.","popularity":666.854,"poster_path":"/464N3J1i6L5SsazPmX9m3q1GiZ3.jpg","release_date":"2021-07-28","title":"The Suicide Squad","video":false,"vote_average":8.3,"vote_count":64},{"adult":false,"backdrop_path":"/vqEjXzWdzPbV2DZ7bk29weDFiDl.jpg","genre_ids":[16,12,10751,37],"id":637693,"original_language":"en","original_title":"Spirit Untamed","overview":"Lucky Prescott's life is changed forever when she moves from her home in the city to a small frontier town and befriends a wild mustang named Spirit.","popularity":688.728,"poster_path":"/5cbGVDmRMYVzkq5cItZ7cYlDdDR.jpg","release_date":"2021-05-20","title":"Spirit Untamed","video":false,"vote_average":7.7,"vote_count":184},{"adult":false,"backdrop_path":"/uWeffFhprUohUL5GO3YfQqdsVrI.jpg","genre_ids":[18,80,28,53],"id":615457,"original_language":"en","original_title":"Nobody","overview":"Hutch Mansell, a suburban dad, overlooked husband, nothing neighbor — a \"nobody.\" When two thieves break into his home one night, Hutch's unknown long-simmering rage is ignited and propels him on a brutal path that will uncover dark secrets he fought to leave behind.","popularity":649.242,"poster_path":"/oBgWY00bEFeZ9N25wWVyuQddbAo.jpg","release_date":"2021-03-26","title":"Nobody","video":false,"vote_average":8.4,"vote_count":2878}],"total_pages":500,"total_results":10000} \ No newline at end of file diff --git a/src/utils/notifier.js b/src/utils/notifier.js new file mode 100644 index 0000000..d88c451 --- /dev/null +++ b/src/utils/notifier.js @@ -0,0 +1,41 @@ +/** @format */ + +const notifier = require("node-notifier"); +const os = require("os"); + +//console.log("Platform: " + os.platform()); +name(os); +function name(os) { + if (os == "linux") { + console.log("Platform: " + os.platform()); + + //Use linux notifier --notify-osd + notifier.notify({ + title: mytitle, + message: msg, + }); + + }elseif (os == "win32"){ + console.log("Platform: " + os.platform()); + + //Use win notifier --node-notifier --libnotify-bin + notifier.notify({ + title: mytitle, + message: msg, + }); + + }elseif (os == "darwin"){ + console.log("Platform: " + os.platform()); + + //Use mac notifier + notifier.notify({ + title: mytitle, + message: msg, + }); + } + } + + + + + From 04221e1f38c9bc74decfdb0acf103f55286284b2 Mon Sep 17 00:00:00 2001 From: imalovelyghost Date: Mon, 2 Aug 2021 17:51:12 +0200 Subject: [PATCH 32/36] finished --- src/utils/getMethods.js | 26 +++++++++--- src/utils/notifier.js | 41 ------------------- .../src/utils/movies/now-popular-movies.json | 1 + .../src/utils/persons/popular-persons.json | 1 + 4 files changed, 23 insertions(+), 46 deletions(-) delete mode 100644 src/utils/notifier.js create mode 100644 src/utils/src/utils/movies/now-popular-movies.json create mode 100644 src/utils/src/utils/persons/popular-persons.json diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 5032b76..8f60726 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -32,11 +32,11 @@ function PersonsByPage(page = 1, option) { res.on("end", () => { if (option) { file.savePeople(JSON.parse(body)); - spinner.succeed("Popular Persons data loaded"); - // notifier.notify({ - // title: "Popular Persons", - // message: "Popular Persons data loaded", - // }); + spinner.succeed("Popular Persons - Loaded"); + notifier.notify({ + title: "Popular Persons", + message: "Popular Persons data loaded", + }); } else { chalkPeople(JSON.parse(body), spinner); } @@ -97,6 +97,10 @@ function MoviesByPage(page = 1, nowPlaying, option) { if (option) { file.saveMovies(JSON.parse(body), nowPlaying); spinner.succeed("Now playing movies data loaded"); + notifier.notify({ + title: "Popular Movies - Loaded", + message: "Now playing movies data loaded", + }); } else { chalkMovie(JSON.parse(body), spinner, nowPlaying); } @@ -152,6 +156,10 @@ function JsonPersonByPage(page = 1) { }); } else { spinner.fail("File doesn't exist"); + notifier.notify({ + title: "File Error", + message: "File doesn't exist", + }); } } catch (err) { console.log(err.message); @@ -173,9 +181,17 @@ function JsonMoviesByPage(page = 1, nowPlaying) { const user = JSON.parse(data.toString(), null, 4); chalkMovie(user, spinner, nowPlaying); spinner.succeed("Now playing movies data loaded"); + notifier.notify({ + title: "Now Playing Movies - Loaded", + message: "Now playing movies data loaded", + }); }); } else { spinner.fail("File doesn't exist"); + notifier.notify({ + title: "Error", + message: "File doesn't exist", + }); } } catch (err) { console.log(err.message); diff --git a/src/utils/notifier.js b/src/utils/notifier.js deleted file mode 100644 index d88c451..0000000 --- a/src/utils/notifier.js +++ /dev/null @@ -1,41 +0,0 @@ -/** @format */ - -const notifier = require("node-notifier"); -const os = require("os"); - -//console.log("Platform: " + os.platform()); -name(os); -function name(os) { - if (os == "linux") { - console.log("Platform: " + os.platform()); - - //Use linux notifier --notify-osd - notifier.notify({ - title: mytitle, - message: msg, - }); - - }elseif (os == "win32"){ - console.log("Platform: " + os.platform()); - - //Use win notifier --node-notifier --libnotify-bin - notifier.notify({ - title: mytitle, - message: msg, - }); - - }elseif (os == "darwin"){ - console.log("Platform: " + os.platform()); - - //Use mac notifier - notifier.notify({ - title: mytitle, - message: msg, - }); - } - } - - - - - diff --git a/src/utils/src/utils/movies/now-popular-movies.json b/src/utils/src/utils/movies/now-popular-movies.json new file mode 100644 index 0000000..07655c0 --- /dev/null +++ b/src/utils/src/utils/movies/now-popular-movies.json @@ -0,0 +1 @@ +{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false} \ No newline at end of file diff --git a/src/utils/src/utils/persons/popular-persons.json b/src/utils/src/utils/persons/popular-persons.json new file mode 100644 index 0000000..07655c0 --- /dev/null +++ b/src/utils/src/utils/persons/popular-persons.json @@ -0,0 +1 @@ +{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false} \ No newline at end of file From 97ee5cc71a6e5d32163015dfe3f50b8479ccb546 Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Mon, 2 Aug 2021 18:07:27 +0200 Subject: [PATCH 33/36] fix: Error handling into not existing local page --- src/moviedb.js | 2 +- src/utils/getMethods.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/moviedb.js b/src/moviedb.js index d0b1e5b..75380ec 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -39,7 +39,7 @@ program .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { if (!opt.local) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); - if (opt.local) get.JsonMoviesByPage(opt.nowPlaying); + if (opt.local) get.JsonMoviesByPage(opt.page, opt.nowPlaying); }); program diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index c0e3c94..18fcab4 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -148,7 +148,8 @@ function JsonPersonByPage() { if (fs.existsSync(path)) { fs.readFile(path, "utf-8", (err, data) => { const user = JSON.parse(data.toString(), null, 4); - chalkPeople(user, spinner); + if(user.page == page) chalkPeople(user, spinner); + else spinner.fail("The page you want to load doesn't exist - Existing Page: " + user.page); }); } else { spinner.fail("File doesn't exist"); @@ -163,7 +164,7 @@ function JsonPersonByPage() { * @param page: number of page to render * @param nowPlaying: bool, movies that are playing npw */ -function JsonMoviesByPage(nowPlaying) { +function JsonMoviesByPage(page, nowPlaying) { const spinner = ora("Reading movies JSON file").start(); let path = "./src/utils/movies/popular-movies.json"; @@ -173,7 +174,8 @@ function JsonMoviesByPage(nowPlaying) { if (fs.existsSync(path)) { fs.readFile(path, "utf-8", (err, data) => { const user = JSON.parse(data.toString(), null, 4); - chalkMovie(user, spinner, nowPlaying); + if(user.page == page) chalkMovie(user, spinner, nowPlaying); + else spinner.fail("The page you want to load doesn't exist - Existing Page: " + user.page); }); } else { spinner.fail("File doesn't exist"); From 1d7bcfc3c96fb49053cb9ff414af52eb4572e8d5 Mon Sep 17 00:00:00 2001 From: Hayk Petrosyan Date: Mon, 2 Aug 2021 19:20:27 +0200 Subject: [PATCH 34/36] clean: code cleaned and notifier functionality moved to file --- src/moviedb.js | 5 ++++- src/utils/fileReader.js | 8 ++++---- src/utils/getMethods.js | 29 +++++++++++++---------------- src/utils/notifier.js | 14 ++++++++++++++ 4 files changed, 35 insertions(+), 21 deletions(-) create mode 100644 src/utils/notifier.js diff --git a/src/moviedb.js b/src/moviedb.js index 75380ec..fdd3e1e 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -39,7 +39,10 @@ program .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { if (!opt.local) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); - if (opt.local) get.JsonMoviesByPage(opt.page, opt.nowPlaying); + if (opt.local) { + if (opt.save) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); + get.JsonMoviesByPage(opt.page, opt.nowPlaying); + } }); program diff --git a/src/utils/fileReader.js b/src/utils/fileReader.js index 685c2ca..63d37e5 100644 --- a/src/utils/fileReader.js +++ b/src/utils/fileReader.js @@ -11,15 +11,15 @@ function savePeople(page) { } function saveMovies(page, flag) { - const path = './src/utils/movies/popular-movies.json'; - const nowPath = './src/utils/movies/now-popular-movies.json'; const dir = './src/utils/movies'; + let path = './src/utils/movies/popular-movies.json'; + + if (flag) path = './src/utils/movies/now-popular-movies.json'; if (!fs.existsSync(dir)) { fs.mkdirSync(dir, {recursive: true}); } - if (flag) fs.writeFileSync(nowPath, JSON.stringify(page) , 'utf-8'); - else fs.writeFileSync(path, JSON.stringify(page) , 'utf-8'); + fs.writeFileSync(path, JSON.stringify(page) , 'utf-8'); } module.exports = { savePeople, saveMovies }; \ No newline at end of file diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 9230e18..94ab177 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -3,9 +3,8 @@ const https = require("https"); const ora = require("ora"); const fs = require("fs"); -const notifier = require("node-notifier"); const file = require("./fileReader.js"); -const os = require("os"); +const notify = require("./notifier.js"); const httpConstants = require("./httpConstants.js"); const { @@ -34,10 +33,7 @@ function PersonsByPage(page = 1, option) { if (option) { file.savePeople(JSON.parse(body)); spinner.succeed("Popular Persons - Loaded"); - notifier.notify({ - title: "Popular Persons", - message: "Popular Persons data loaded", - }); + notify("Popular person data loaded to JSON"); } else { chalkPeople(JSON.parse(body), spinner); } @@ -98,13 +94,11 @@ function MoviesByPage(page = 1, nowPlaying, option) { if (option && nowPlaying) { file.saveMovies(JSON.parse(body), nowPlaying); spinner.succeed("Now playing movies data loaded"); + notify("Now playing movies data loaded to JSON"); } else if (option){ file.saveMovies(JSON.parse(body), nowPlaying); spinner.succeed("Popular movies data loaded"); - notifier.notify({ - title: "Popular Movies - Loaded", - message: "Now playing movies data loaded", - }); + notify("Popular movies data loaded to JSON"); } else { chalkMovie(JSON.parse(body), spinner, nowPlaying); } @@ -156,15 +150,15 @@ function JsonPersonByPage() { if (fs.existsSync(path)) { fs.readFile(path, "utf-8", (err, data) => { const user = JSON.parse(data.toString(), null, 4); - if(user.page == page) chalkPeople(user, spinner); + if(user.page == page) { + chalkPeople(user, spinner); + notify("Popular people data loaded from JSON"); + } else spinner.fail("The page you want to load doesn't exist - Existing Page: " + user.page); }); + } else { spinner.fail("File doesn't exist"); - notifier.notify({ - title: "File Error", - message: "File doesn't exist", - }); } } catch (err) { console.log(err.message); @@ -186,7 +180,10 @@ function JsonMoviesByPage(page, nowPlaying) { if (fs.existsSync(path)) { fs.readFile(path, "utf-8", (err, data) => { const user = JSON.parse(data.toString(), null, 4); - if(user.page == page) chalkMovie(user, spinner, nowPlaying); + if(user.page == page) { + chalkMovie(user, spinner, nowPlaying); + notify("Movies data loaded from JSON"); + } else spinner.fail("The page you want to load doesn't exist - Existing Page: " + user.page); }); } else { diff --git a/src/utils/notifier.js b/src/utils/notifier.js new file mode 100644 index 0000000..6540d55 --- /dev/null +++ b/src/utils/notifier.js @@ -0,0 +1,14 @@ +const notifier = require("node-notifier"); +const path = require("path") + +function notify(message){ + const imgPath = path.resolve(__dirname, '..') + "/img/nodejs.png" + notifier.notify({ + title: "NodeDB-CLI Noti", + message: message, + icon: imgPath, + contentImage: undefined + }); +} + +module.exports = notify; \ No newline at end of file From 7e84b7e268223a199008505d03fe616cae042e90 Mon Sep 17 00:00:00 2001 From: Brahim Date: Mon, 2 Aug 2021 22:04:04 +0200 Subject: [PATCH 35/36] Fix: get-persons with both flags --save and --local --- src/moviedb.js | 14 +++++-- src/utils/fileReader.js | 32 +++++++-------- src/utils/getMethods.js | 55 +++++++++++++++----------- src/utils/persons/popular-persons.json | 1 - 4 files changed, 58 insertions(+), 44 deletions(-) delete mode 100644 src/utils/persons/popular-persons.json diff --git a/src/moviedb.js b/src/moviedb.js index fdd3e1e..b0a9769 100755 --- a/src/moviedb.js +++ b/src/moviedb.js @@ -17,8 +17,16 @@ program .option("-s, --save", "The page of data to JSON file") .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { - if (!opt.local) get.PersonsByPage(opt.page, opt.save); - if (opt.local) get.JsonPersonByPage(opt.page); + if (!opt.local) get.PersonsByPage(opt); + + if (opt.local) { + if (opt.save) { + get.PersonsByPage(opt, (page) => get.JsonPersonByPage(page)); + return; + } + + get.JsonPersonByPage(opt.page); + } }); program @@ -39,7 +47,7 @@ program .option("-l, --local", "Read data from local JSON") .action(function handleAction(opt) { if (!opt.local) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); - if (opt.local) { + if (opt.local) { if (opt.save) get.MoviesByPage(opt.page, opt.nowPlaying, opt.save); get.JsonMoviesByPage(opt.page, opt.nowPlaying); } diff --git a/src/utils/fileReader.js b/src/utils/fileReader.js index 63d37e5..f347b90 100644 --- a/src/utils/fileReader.js +++ b/src/utils/fileReader.js @@ -1,25 +1,23 @@ -const fs = require('fs'); +const fs = require("fs"); function savePeople(page) { - const path = './src/utils/persons/popular-persons.json'; - const dir = './src/utils/persons'; - if (!fs.existsSync(dir)) { - fs.mkdirSync(dir, {recursive: true}); - } - fs.writeFileSync(path, JSON.stringify(page) , 'utf-8'); + const path = "./src/utils/persons/popular-persons.json"; + const dir = "./src/utils/persons"; + if (!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true }); + + fs.writeFileSync(path, JSON.stringify(page), "utf-8"); } function saveMovies(page, flag) { - const dir = './src/utils/movies'; - let path = './src/utils/movies/popular-movies.json'; - - if (flag) path = './src/utils/movies/now-popular-movies.json'; - - if (!fs.existsSync(dir)) { - fs.mkdirSync(dir, {recursive: true}); - } - fs.writeFileSync(path, JSON.stringify(page) , 'utf-8'); + const dir = "./src/utils/movies"; + let path = "./src/utils/movies/popular-movies.json"; + + if (flag) path = "./src/utils/movies/now-popular-movies.json"; + + if (!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true }); + + fs.writeFileSync(path, JSON.stringify(page), "utf-8"); } -module.exports = { savePeople, saveMovies }; \ No newline at end of file +module.exports = { savePeople, saveMovies }; diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index 94ab177..b59c29c 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -13,15 +13,16 @@ const { chalkPersonId, chalkSingleMovie, } = require("./chalks.js"); + /** * get People by Pages * @param page: number of page to render * @param option: save option */ -function PersonsByPage(page = 1, option) { +function PersonsByPage(commandOpt, callback) { const options = { ...httpConstants, - path: `/3/person/popular?page=${page}&api_key=${process.env.API_KEY}`, + path: `/3/person/popular?page=${commandOpt.page}&api_key=${process.env.API_KEY}`, }; const spinner = ora("Loading popular people").start(); @@ -30,10 +31,12 @@ function PersonsByPage(page = 1, option) { res.on("data", (chunk) => (body += chunk)); res.on("end", () => { - if (option) { + if (commandOpt.save) { file.savePeople(JSON.parse(body)); spinner.succeed("Popular Persons - Loaded"); notify("Popular person data loaded to JSON"); + + if (callback) callback(commandOpt.page); } else { chalkPeople(JSON.parse(body), spinner); } @@ -95,7 +98,7 @@ function MoviesByPage(page = 1, nowPlaying, option) { file.saveMovies(JSON.parse(body), nowPlaying); spinner.succeed("Now playing movies data loaded"); notify("Now playing movies data loaded to JSON"); - } else if (option){ + } else if (option) { file.saveMovies(JSON.parse(body), nowPlaying); spinner.succeed("Popular movies data loaded"); notify("Popular movies data loaded to JSON"); @@ -142,7 +145,7 @@ function SingleMovie(id, reviews) { * get People by Pages from JSON * @param page: number of page to render */ -function JsonPersonByPage() { +function JsonPersonByPage(page) { const spinner = ora("Reading people JSON file").start(); const path = "./src/utils/persons/popular-persons.json"; @@ -150,13 +153,16 @@ function JsonPersonByPage() { if (fs.existsSync(path)) { fs.readFile(path, "utf-8", (err, data) => { const user = JSON.parse(data.toString(), null, 4); - if(user.page == page) { + + if (user.page == page) { chalkPeople(user, spinner); notify("Popular people data loaded from JSON"); - } - else spinner.fail("The page you want to load doesn't exist - Existing Page: " + user.page); + } else + spinner.fail( + "The page you want to load doesn't exist - Existing Page: " + + user.page + ); }); - } else { spinner.fail("File doesn't exist"); } @@ -170,25 +176,28 @@ function JsonPersonByPage() { * @param page: number of page to render * @param nowPlaying: bool, movies that are playing npw */ -function JsonMoviesByPage(page, nowPlaying) { +function JsonMoviesByPage(page, nowPlaying) { const spinner = ora("Reading movies JSON file").start(); let path = "./src/utils/movies/popular-movies.json"; - if(nowPlaying) path = "./src/utils/movies/now-popular-movies.json"; + if (nowPlaying) path = "./src/utils/movies/now-popular-movies.json"; try { - if (fs.existsSync(path)) { - fs.readFile(path, "utf-8", (err, data) => { - const user = JSON.parse(data.toString(), null, 4); - if(user.page == page) { - chalkMovie(user, spinner, nowPlaying); - notify("Movies data loaded from JSON"); - } - else spinner.fail("The page you want to load doesn't exist - Existing Page: " + user.page); - }); - } else { - spinner.fail("File doesn't exist"); - } + if (fs.existsSync(path)) { + fs.readFile(path, "utf-8", (err, data) => { + const user = JSON.parse(data.toString(), null, 4); + if (user.page == page) { + chalkMovie(user, spinner, nowPlaying); + notify("Movies data loaded from JSON"); + } else + spinner.fail( + "The page you want to load doesn't exist - Existing Page: " + + user.page + ); + }); + } else { + spinner.fail("File doesn't exist"); + } } catch (err) { console.log(err.message); } diff --git a/src/utils/persons/popular-persons.json b/src/utils/persons/popular-persons.json deleted file mode 100644 index 91cad1f..0000000 --- a/src/utils/persons/popular-persons.json +++ /dev/null @@ -1 +0,0 @@ -{"page":1,"results":[{"adult":false,"gender":1,"id":2472427,"known_for":[{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[53],"id":673407,"media_type":"movie","original_language":"ko","original_title":"불량탐정: 먹이사슬","overview":"Jeong-mi, a pickpocket ex-convict, ends up pickpocketing again to repay Dae-sik off of her father's debt. One day, Hae-joo, who is secretly meeting a detective, has been kidnapped and turned into Dae-sik's prey. The detective then went on a search to find Hae-joo's whereabouts.","poster_path":"/wyGNUFVpXSVGTRHSylyPqn3qZcT.jpg","release_date":"2020-01-22","title":"Bad Detective: Food Chain","video":false,"vote_average":6,"vote_count":1},{"adult":false,"backdrop_path":"/4mFrNiawrfHz2W9yryFcsrahYxA.jpg","genre_ids":[10749],"id":658228,"media_type":"movie","original_language":"ko","original_title":"딸의 애인 3","overview":"Mi-seon loves her family, but she loves having sex with younger men. One day, she hears her sex partner, Jeong-woo, has a brother and she feels more attracted to the younger man. Mi-seon goes to Jeong-woo's house and tries to seduce his brother when he's alone. However, her new sex partner is her daughter's boyfriend.","poster_path":"/4zqJPk4NghDpBKWtPOa5fC74tKx.jpg","release_date":"2019-12-05","title":"My Daughter's Lover 3","video":false,"vote_average":0,"vote_count":0}],"known_for_department":"Acting","name":"Tae Joo","popularity":91.381,"profile_path":"/nGpa3za6yxSciko2J8tY8gbsgyT.jpg"},{"adult":false,"gender":1,"id":5081,"known_for":[{"adult":false,"backdrop_path":"/auZIuHEUec5tBTns3tCRXfayxZq.jpg","genre_ids":[28,878],"id":137113,"media_type":"movie","original_language":"en","original_title":"Edge of Tomorrow","overview":"Major Bill Cage is an officer who has never seen a day of combat when he is unceremoniously demoted and dropped into combat. Cage is killed within minutes, managing to take an alpha alien down with him. He awakens back at the beginning of the same day and is forced to fight and die again... and again - as physical contact with the alien has thrown him into a time loop.","poster_path":"/uUHvlkLavotfGsNtosDy8ShsIYF.jpg","release_date":"2014-05-27","title":"Edge of Tomorrow","video":false,"vote_average":7.6,"vote_count":10809},{"adult":false,"backdrop_path":"/roYyPiQDQKmIKUEhO912693tSja.jpg","genre_ids":[27,18,878],"id":447332,"media_type":"movie","original_language":"en","original_title":"A Quiet Place","overview":"A family is forced to live in silence while hiding from creatures that hunt by sound.","poster_path":"/nAU74GmpUk7t5iklEp3bufwDq4n.jpg","release_date":"2018-04-03","title":"A Quiet Place","video":false,"vote_average":7.4,"vote_count":10444},{"adult":false,"backdrop_path":"/3tWw50B1xXlCnJ9A7NX4nNzZF4j.jpg","genre_ids":[35,18,10749],"id":350,"media_type":"movie","original_language":"en","original_title":"The Devil Wears Prada","overview":"Andy moves to New York to work in the fashion industry. Her boss is extremely demanding, cruel and won't let her succeed if she doesn't fit into the high class elegant look of their magazine.","poster_path":"/8912AsVuS7Sj915apArUFbv6F9L.jpg","release_date":"2006-06-30","title":"The Devil Wears Prada","video":false,"vote_average":7.4,"vote_count":9387}],"known_for_department":"Acting","name":"Emily Blunt","popularity":78.564,"profile_path":"/jqlqq3knztTnty5rcMg5evqZRCa.jpg"},{"adult":false,"gender":2,"id":5009,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8953},{"backdrop_path":"/nVRyd8hlg0ZLxBn9RaI7mUMQLnz.jpg","first_air_date":"2005-09-13","genre_ids":[18,9648,10765],"id":1622,"media_type":"tv","name":"Supernatural","origin_country":["US"],"original_language":"en","original_name":"Supernatural","overview":"When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ","poster_path":"/KoYWXbnYuS3b0GyQPkbuexlVK9.jpg","vote_average":8.2,"vote_count":5288},{"backdrop_path":"/xSM3Ba3Nabs2p0wW8vTJP0yx3Zv.jpg","first_air_date":"2012-10-10","genre_ids":[80,18,9648,10759],"id":1412,"media_type":"tv","name":"Arrow","origin_country":["US"],"original_language":"en","original_name":"Arrow","overview":"Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.","poster_path":"/gKG5QGz5Ngf8fgWpBsWtlg5L2SF.jpg","vote_average":6.7,"vote_count":4652}],"known_for_department":"Acting","name":"Peter Benson","popularity":72.87,"profile_path":"/btcuZXvGZcO1AyCQXcAeWWLf0jI.jpg"},{"adult":false,"gender":2,"id":18918,"known_for":[{"adult":false,"backdrop_path":"/zJDMuXQDraHjtF53wikmyBQIcYe.jpg","genre_ids":[28,12,35,14],"id":353486,"media_type":"movie","original_language":"en","original_title":"Jumanji: Welcome to the Jungle","overview":"The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.","poster_path":"/pSgXKPU5h6U89ipF7HBYajvYt7j.jpg","release_date":"2017-12-09","title":"Jumanji: Welcome to the Jungle","video":false,"vote_average":6.8,"vote_count":10866},{"adult":false,"backdrop_path":"/oWU6dgu3RgdSZElkhbZuoPtkWAJ.jpg","genre_ids":[12,35,10751,16],"id":277834,"media_type":"movie","original_language":"en","original_title":"Moana","overview":"In Ancient Polynesia, when a terrible curse incurred by Maui reaches an impetuous Chieftain's daughter's island, she answers the Ocean's call to seek out the demigod to set things right.","poster_path":"/4JeejGugONWpJkbnvL12hVoYEDa.jpg","release_date":"2016-11-23","title":"Moana","video":false,"vote_average":7.6,"vote_count":9671},{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8794}],"known_for_department":"Acting","name":"Dwayne Johnson","popularity":66.067,"profile_path":"/cgoy7t5Ve075naBPcewZrc08qGw.jpg"},{"adult":false,"gender":2,"id":12835,"known_for":[{"adult":false,"backdrop_path":"/ko4N6wWp0UYlMmsVyfIfLyRAZtP.jpg","genre_ids":[28,878,12],"id":118340,"media_type":"movie","original_language":"en","original_title":"Guardians of the Galaxy","overview":"Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser.","poster_path":"/r7vmZjiyZw9rpJMQJdXpjgiCOk9.jpg","release_date":"2014-07-30","title":"Guardians of the Galaxy","video":false,"vote_average":7.9,"vote_count":22837},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22307},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18696}],"known_for_department":"Acting","name":"Vin Diesel","popularity":52.966,"profile_path":"/7rwSXluNWZAluYMOEWBxkPmckES.jpg"},{"adult":false,"gender":1,"id":1245,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25080},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22307},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18696}],"known_for_department":"Acting","name":"Scarlett Johansson","popularity":52.473,"profile_path":"/6NsMbJXRlDZuDzatN2akFdGuTvx.jpg"},{"adult":false,"gender":1,"id":1039305,"known_for":[{"adult":false,"backdrop_path":"/sbtqmaprl6fzhPLaOrFWYJ8ZDli.jpg","genre_ids":[16,18],"id":242828,"media_type":"movie","original_language":"ja","original_title":"思い出のマーニー","overview":"Upon being sent to live with relatives in the countryside due to an illness, an emotionally distant adolescent girl becomes obsessed with an abandoned mansion and infatuated with a girl who lives there - a girl who may or may not be real.","poster_path":"/vug1dvDI1tSa60Z8qjCuUE7ntkO.jpg","release_date":"2014-07-19","title":"When Marnie Was There","video":false,"vote_average":8,"vote_count":1208},{"adult":false,"backdrop_path":"/hnVxxTK1IC9VVivyqf1v74P0Ent.jpg","genre_ids":[28,878,14,27],"id":276624,"media_type":"movie","original_language":"ja","original_title":"アイアムアヒーロー","overview":"Hideo Suzuki is a 35-year-old mangaka assistant, whose life seem to be stuck around his exhausting but low-paying job, unfulfilled dreams, strange hallucinations and unsatisfying relationships. He sees himself as a supporting character in his own life, has low self-esteem, resulting in frustration. One day, the world as Hideo knows it is shattered by the presence of a disease that turns people into homicidal maniacs, whose first instinct is to attack and devour the nearest human.","poster_path":"/4RnmHtCLtbBHD9jagVlcSzJTWX6.jpg","release_date":"2016-04-23","title":"I Am a Hero","video":false,"vote_average":7.3,"vote_count":214},{"adult":false,"backdrop_path":"/nR6tcBslmfpC6tHW6GPs7fcHV8g.jpg","genre_ids":[28,12,18],"id":602063,"media_type":"movie","original_language":"ja","original_title":"るろうに剣心 最終章 The Final","overview":"In 1879, Kenshin and his allies face their strongest enemy yet: his former brother-in-law Enishi Yukishiro and his minions, who've vowed their revenge.","poster_path":"/7bbEASVf9XWtfxWiuWUMY3uyhTb.jpg","release_date":"2021-04-23","title":"Rurouni Kenshin: The Final","video":false,"vote_average":7.9,"vote_count":197}],"known_for_department":"Acting","name":"Kasumi Arimura","popularity":45.913,"profile_path":"/irMWWtJQu3kWEOB9JUflKBuhh8H.jpg"},{"adult":false,"gender":2,"id":976,"known_for":[{"adult":false,"backdrop_path":"/mRfI3y2oAd7ejur2di09xC9niqp.jpg","genre_ids":[28,53,80],"id":82992,"media_type":"movie","original_language":"en","original_title":"Fast & Furious 6","overview":"Hobbs has Dominic and Brian reassemble their crew to take down a team of mercenaries: Dominic unexpectedly gets convoluted also facing his presumed deceased girlfriend, Letty.","poster_path":"/n31VRDodbaZxkrZmmzyYSFNVpW5.jpg","release_date":"2013-05-21","title":"Fast & Furious 6","video":false,"vote_average":6.8,"vote_count":8794},{"adult":false,"backdrop_path":"/cHkhb5A4gQRK6zs6Pv7zorHs8Nk.jpg","genre_ids":[28,53,80,18],"id":168259,"media_type":"movie","original_language":"en","original_title":"Furious 7","overview":"Deckard Shaw seeks revenge against Dominic Toretto and his family for his comatose brother.","poster_path":"/wurKlC3VKUgcfsn0K51MJYEleS2.jpg","release_date":"2015-04-01","title":"Furious 7","video":false,"vote_average":7.3,"vote_count":8555},{"adult":false,"backdrop_path":"/jzdnhRhG0dsuYorwvSqPqqnM1cV.jpg","genre_ids":[28,80,53],"id":337339,"media_type":"movie","original_language":"en","original_title":"The Fate of the Furious","overview":"When a mysterious woman seduces Dom into the world of crime and a betrayal of those closest to him, the crew face trials that will test them as never before.","poster_path":"/dImWM7GJqryWJO9LHa3XQ8DD5NH.jpg","release_date":"2017-04-12","title":"The Fate of the Furious","video":false,"vote_average":6.9,"vote_count":8407}],"known_for_department":"Acting","name":"Jason Statham","popularity":43.232,"profile_path":"/lldeQ91GwIVff43JBrpdbAAeYWj.jpg"},{"adult":false,"gender":1,"id":3967,"known_for":[{"adult":false,"backdrop_path":"/mXBDQ9n2osF0BqBjXY9JDyadyRb.jpg","genre_ids":[35,18,14],"id":9339,"media_type":"movie","original_language":"en","original_title":"Click","overview":"A married workaholic, Michael Newman doesn't have time for his wife and children, not if he's to impress his ungrateful boss and earn a well-deserved promotion. So when he meets Morty, a loopy sales clerk, he gets the answer to his prayers: a magical remote that allows him to bypass life's little distractions with increasingly hysterical results.","poster_path":"/x7rM5dwQefvpXqHKQs4TrpoRyz3.jpg","release_date":"2006-06-23","title":"Click","video":false,"vote_average":6.2,"vote_count":5437},{"adult":false,"backdrop_path":"/kGhk3N1Q3AfO3uLB2zWcysj3Ddz.jpg","genre_ids":[14,28,53],"id":277,"media_type":"movie","original_language":"en","original_title":"Underworld","overview":"Vampires and werewolves have waged a nocturnal war against each other for centuries. But all bets are off when a female vampire warrior named Selene, who's famous for her strength and werewolf-hunting prowess, becomes smitten with a peace-loving male werewolf, Michael, who wants to end the war.","poster_path":"/zsnQ41UZ3jo1wEeemF0eA9cAIU0.jpg","release_date":"2003-09-19","title":"Underworld","video":false,"vote_average":6.8,"vote_count":4913},{"adult":false,"backdrop_path":"/zv1xOEQzebKyku349qDZ085FZlO.jpg","genre_ids":[10752,36,10749,18],"id":676,"media_type":"movie","original_language":"en","original_title":"Pearl Harbor","overview":"The lifelong friendship between Rafe McCawley and Danny Walker is put to the ultimate test when the two ace fighter pilots become entangled in a love triangle with beautiful Naval nurse Evelyn Johnson. But the rivalry between the friends-turned-foes is immediately put on hold when they find themselves at the center of Japan's devastating attack on Pearl Harbor on Dec. 7, 1941.","poster_path":"/ftkKVbk4sQEcekuaGJvpvXcNs32.jpg","release_date":"2001-05-21","title":"Pearl Harbor","video":false,"vote_average":6.9,"vote_count":4853}],"known_for_department":"Acting","name":"Kate Beckinsale","popularity":37.205,"profile_path":"/1mdRhTJGqFwo9Xuul7XO6oXpzhb.jpg"},{"adult":false,"gender":1,"id":58369,"known_for":[{"backdrop_path":"/wvdWb5kTQipdMDqCclC6Y3zr4j3.jpg","first_air_date":"2010-10-31","genre_ids":[10759,18,10765],"id":1402,"media_type":"tv","name":"The Walking Dead","origin_country":["US"],"original_language":"en","original_name":"The Walking Dead","overview":"Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.","poster_path":"/w21lgYIi9GeUH5dO8l3B9ARZbCB.jpg","vote_average":8.1,"vote_count":11220},{"backdrop_path":"/1gGRY9bnIc0Jaohgc6jNFidjgLK.jpg","first_air_date":"2011-10-05","genre_ids":[18,9648,10765],"id":1413,"media_type":"tv","name":"American Horror Story","origin_country":["US"],"original_language":"en","original_name":"American Horror Story","overview":"An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.","poster_path":"/8NMACR0OE5bwC27rE15f8ManNBO.jpg","vote_average":8.1,"vote_count":3779},{"backdrop_path":"/jbTqU6BJMufoMnPSlO4ThrcXs3Y.jpg","first_air_date":"1999-01-31","genre_ids":[16,35],"id":1434,"media_type":"tv","name":"Family Guy","origin_country":["US"],"original_language":"en","original_name":"Family Guy","overview":"Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.","poster_path":"/eWWCRjBfLyePh2tfZdvNcIvKSJe.jpg","vote_average":7,"vote_count":2866}],"known_for_department":"Acting","name":"Alexandra Breckenridge","popularity":36.376,"profile_path":"/7HQAXqAELDwzZzxpmp1ZSb4yM5V.jpg"},{"adult":false,"gender":1,"id":1522703,"known_for":[{"backdrop_path":"/sVmEr2z1kD2H5lhi4G9qQoVLLsD.jpg","first_air_date":"2020-07-08","genre_ids":[18,35],"id":104877,"media_type":"tv","name":"Love Is In The Air","origin_country":["TR"],"original_language":"tr","original_name":"Sen Çal Kapımı","overview":"Eda, who ties all her hopes to her education, confronts Serkan Bolat, who cuts off her international education scholarship and leaves her with high school diploma. Serkan Bolat offers Eda to give her scholarship back if she pretends to be his fiance for two months. Although Eda rejects the offer of this man as she hates him, she has to accept it when the conditions change. While pretending to be engaged, Serkan and Eda begin to experience a passionate, challenging relationship that will make them forget all they know right. Because love is difficult. And that's why it's amazing.","poster_path":"/nzBenFJ2D2MCWTwTt2uc4BGWLtA.jpg","vote_average":8.2,"vote_count":976},{"backdrop_path":"/vKV0XxFTWJDdzL39Dddp4uLri0A.jpg","first_air_date":"2015-06-18","genre_ids":[18],"id":64164,"media_type":"tv","name":"Sun's Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Güneşin Kızları","overview":"A teacher and a mother of three teenage daughters , gunes agrees to move from her home city Izmir to Istanbul to be with mysterious wealthy man who has fallen for her. Gunesin kizlari follows the never ending drama of Güneş and her daughters they face the events of their newly transformed lives.","poster_path":"/kVJbUlcWGyLp0H1xXLo1OicmU8x.jpg","vote_average":7.7,"vote_count":53},{"backdrop_path":"/eOLGKXZZrjJ8bvZvC5eGzQPlyGU.jpg","first_air_date":"2016-06-15","genre_ids":[35,18],"id":67570,"media_type":"tv","name":"Ask Laftan Anlamaz","origin_country":["TR"],"original_language":"tr","original_name":"Ask Laftan Anlamaz","overview":"Hayat is a country girl with strict parents. She is in a love hate relationship with her boss Murat. Hayat is full of secrets that can ruin her career and relationship.","poster_path":"/tnyM86EpqVRTHZKQenaUrbsTAGG.jpg","vote_average":8.8,"vote_count":8}],"known_for_department":"Acting","name":"Hande Erçel","popularity":36.07,"profile_path":"/heZOn03SAJkwbmTAdk7IXA5yMTV.jpg"},{"adult":false,"gender":1,"id":109513,"known_for":[{"adult":false,"backdrop_path":"/mMoG4nPSDupXIXOwVvpexZY2W0N.jpg","genre_ids":[28,18,53],"id":254128,"media_type":"movie","original_language":"en","original_title":"San Andreas","overview":"In the aftermath of a massive earthquake in California, a rescue-chopper pilot makes a dangerous journey across the state in order to rescue his estranged daughter.","poster_path":"/2Gfjn962aaFSD6eST6QU3oLDZTo.jpg","release_date":"2015-05-27","title":"San Andreas","video":false,"vote_average":6.2,"vote_count":6703},{"adult":false,"backdrop_path":"/6QmX2BDVr1hIOIPHqnxvp1C1ZZp.jpg","genre_ids":[35,28,80],"id":339846,"media_type":"movie","original_language":"en","original_title":"Baywatch","overview":"Devoted lifeguard Mitch Buchannon butts heads with a brash new recruit. Together, they uncover a local criminal plot that threatens the future of the Bay.","poster_path":"/6HE4xd8zloDqmjMZuhUCCw2UcY1.jpg","release_date":"2017-05-12","title":"Baywatch","video":false,"vote_average":6.1,"vote_count":6508},{"adult":false,"backdrop_path":"/sEyNWq9985lyUrwayWnvicT4FHA.jpg","genre_ids":[12,14,10751],"id":32657,"media_type":"movie","original_language":"en","original_title":"Percy Jackson & the Olympians: The Lightning Thief","overview":"Accident prone teenager, Percy discovers he's actually a demi-God, the son of Poseidon, and he is needed when Zeus' lightning is stolen. Percy must master his new found skills in order to prevent a war between the Gods that could devastate the entire world.","poster_path":"/nmyrUTjmvZ3OQYZJrUKAoiBfMq5.jpg","release_date":"2010-02-01","title":"Percy Jackson & the Olympians: The Lightning Thief","video":false,"vote_average":6.2,"vote_count":5857}],"known_for_department":"Acting","name":"Alexandra Daddario","popularity":35.572,"profile_path":"/lh5zibQXYH1MNqkuX8TmxyNYHhK.jpg"},{"adult":false,"gender":2,"id":1991255,"known_for":[{"backdrop_path":"/A4V6jJNHNNvMdICvs3CaH70zIvh.jpg","first_air_date":"2017-03-25","genre_ids":[18],"id":76560,"media_type":"tv","name":"Mrs. Fazilet and Her Daughters","origin_country":["TR"],"original_language":"tr","original_name":"Fazilet Hanım ve Kızları","overview":"The story of Fazilet, mother of Hazan and Ece, eager to make money using the modeling skills of her younger daughter, Ece. While Hazan pursues a career as a coach in sports, far from her mother's wishes and falls in love with a rich spoiled man.","poster_path":"/hJe1m8eKqb14xE0ers6dAZm1QrS.jpg","vote_average":9.4,"vote_count":5},{"backdrop_path":"/lDbRMHVAGdkySaabD7KyyEbouoG.jpg","first_air_date":"2018-07-22","genre_ids":[18],"id":80229,"media_type":"tv","name":"Never Let My Hand Go","origin_country":["TR"],"original_language":"tr","original_name":"Elimi Bırakma","overview":"The story revolves around a girl named Azra who is studying abroad in America to be a professional cook like her father. She met Cenk, the grandson of Ferida Celen, on the plane and took his bag instead of hers at the airport by mistake. Cenk who was expelled from his university in America and struggling to choose his own destiny will get to witness the huge turn in Azra's life when her father dies in a fire accident leaving her and his autistic son with his greedy wife.","poster_path":"/v4mhRAhCh8JYUqN7YdiHwZ61r0Y.jpg","vote_average":10,"vote_count":4},{"backdrop_path":"/jAyGGji9j9pF6EUFEjMOh4hKbzN.jpg","first_air_date":"2021-06-15","genre_ids":[10766,18,35],"id":126255,"media_type":"tv","name":"Bir Ada Masali","origin_country":["TR"],"original_language":"tr","original_name":"Ada Masalı","overview":"","poster_path":"/1HTkpyo3UskzeLnRw0w9ofMJ0Na.jpg","vote_average":10,"vote_count":1}],"known_for_department":"Acting","name":"Alp Navruz","popularity":35.135,"profile_path":"/xUWOeOIuRhA8EjMXW6wRQ2z6SN3.jpg"},{"adult":false,"gender":1,"id":98591,"known_for":[{"backdrop_path":"/7ggAjuO3g4AMt3p1ZsGeBNqLMsb.jpg","first_air_date":"1999-04-03","genre_ids":[10759],"id":896,"media_type":"tv","name":"The Lost World","origin_country":["AU"],"original_language":"en","original_name":"The Lost World","overview":"Early 20th-century adventurers find themselves fighting for survival after their hot-air balloon crashes into a remote part of the Amazon, stranding them on a prehistoric plateau.","poster_path":"/whA1PLf8nslT3R7kSvCssTCCUba.jpg","vote_average":7,"vote_count":50},{"adult":false,"genre_ids":[28,35,18,27],"id":48314,"media_type":"movie","original_language":"en","original_title":"Scarecrow","overview":"A high school outcast who lives in a trailer with his mother finally meets a friend. He wants to ask her if they can go the next step, but then sees her kissing another boy at a party. He runs home only to find his mother having sex with a drunk. He starts yelling, but is countered by the drunk when he suffocates him and makes him look like he hung himself. The scarecrow comes in when the boy's soul is pushed into it. He goes out for revenge.","poster_path":"/7K0SAUgDlcP2iymUypBeU0A7c0v.jpg","release_date":"2002-12-30","title":"Scarecrow","video":false,"vote_average":4.9,"vote_count":31},{"adult":false,"genre_ids":[27,53],"id":74807,"media_type":"movie","original_language":"en","original_title":"Cubbyhouse","overview":"Following a messy divorce, Lynn Graham moves back home to Australia with her three American-born children in tow. Buying an old house on the same street as her sister seems like a good idea, but its low price reflects a unpleasant history of murder and satanic ritual. Before long, her two youngest kids have fallen under the spell of an evil force emanating from a sinister cubbyhouse in the back garden, and bloody past events look set to repeat themselves.","poster_path":"/cBXOXhC315cyqZZkUvZV7mLoDDu.jpg","release_date":"2001-12-10","title":"Cubbyhouse","video":false,"vote_average":3.2,"vote_count":13}],"known_for_department":"Acting","name":"Belinda Gavin","popularity":34.416,"profile_path":"/mKaV0ClUBBl6oJtPPEGW5BK48ej.jpg"},{"adult":false,"gender":1,"id":142115,"known_for":[{"backdrop_path":"/eyG9srihv68ScRdEbJZj66WT4O0.jpg","first_air_date":"2014-10-07","genre_ids":[18,10765],"id":60735,"media_type":"tv","name":"The Flash","origin_country":["US"],"original_language":"en","original_name":"The Flash","overview":"After a particle accelerator causes a freak storm, CSI Investigator Barry Allen is struck by lightning and falls into a coma. Months later he awakens with the power of super speed, granting him the ability to move through Central City like an unseen guardian angel. Though initially excited by his newfound powers, Barry is shocked to discover he is not the only \"meta-human\" who was created in the wake of the accelerator explosion -- and not everyone is using their new powers for good. Barry partners with S.T.A.R. Labs and dedicates his life to protect the innocent. For now, only a few close friends and associates know that Barry is literally the fastest man alive, but it won't be long before the world learns what Barry Allen has become...The Flash.","poster_path":"/lJA2RCMfsWoskqlQhXPSLFQGXEJ.jpg","vote_average":7.7,"vote_count":8180},{"adult":false,"backdrop_path":"/5C8bfwglg91uZhc2fbfpSjNGamV.jpg","genre_ids":[27,9648],"id":591273,"media_type":"movie","original_language":"en","original_title":"Fear Street: 1994","overview":"In 1994, a group of teenagers discovers that the terrifying events which have haunted their town for generations ​are all connected — and that they may be the next targets.","poster_path":"/9J9Wy39ZjrVmfk7yMkulpcI5sy0.jpg","release_date":"2021-06-28","title":"Fear Street: 1994","video":false,"vote_average":6.8,"vote_count":855},{"adult":false,"backdrop_path":"/7jpj6ek9dftr3IXm7Pnq2pkhir3.jpg","genre_ids":[27,9648],"id":591274,"media_type":"movie","original_language":"en","original_title":"Fear Street: 1978","overview":"In 1978, two rival groups at Camp Nightwing must band together to solve a terrifying mystery when horrors from their towns' history come alive.","poster_path":"/5dNTxhoGDTHHGqUTdxcr4H1dqlU.jpg","release_date":"2021-07-08","title":"Fear Street: 1978","video":false,"vote_average":7.4,"vote_count":683}],"known_for_department":"Acting","name":"Kiana Madeira","popularity":34.048,"profile_path":"/mTXIwrrek6mDt8ODLmoV32fe7IO.jpg"},{"adult":false,"gender":1,"id":1734,"known_for":[{"backdrop_path":"/iDbIEpCM9nhoayUDTwqFL1iVwzb.jpg","first_air_date":"2017-09-25","genre_ids":[18],"id":71712,"media_type":"tv","name":"The Good Doctor","origin_country":["US"],"original_language":"en","original_name":"The Good Doctor","overview":"A young surgeon with Savant syndrome is recruited into the surgical unit of a prestigious hospital. The question will arise: can a person who doesn't have the ability to relate to people actually save their lives","poster_path":"/6tfT03sGp9k4c0J3dypjrI8TSAI.jpg","vote_average":8.6,"vote_count":8941},{"backdrop_path":"/8A2IYYRLM5rR0hYwbWJr9KLPnUu.jpg","first_air_date":"2001-10-16","genre_ids":[10765,10759,18],"id":4604,"media_type":"tv","name":"Smallville","origin_country":["US"],"original_language":"en","original_name":"Smallville","overview":"The origins of the world’s greatest hero–from Krypton refugee Kal-el’s arrival on Earth through his tumultuous teen years to Clark Kent’s final steps toward embracing his destiny as the Man of Steel.","poster_path":"/pUhJGETy2sec4vEkiqJ9eGeIywc.jpg","vote_average":8.2,"vote_count":2601},{"backdrop_path":"/1ot3DeWBHaI3cbfQtqZqOI1VoPI.jpg","first_air_date":"1990-11-18","genre_ids":[10765,18,9648],"id":19614,"media_type":"tv","name":"It","origin_country":["US"],"original_language":"en","original_name":"It","overview":"In 1960, seven outcast kids known as \"The Losers' Club\" fight an evil demon who poses as a child-killing clown. Thirty years later, they reunite to stop the demon once and for all when it returns to their hometown.","poster_path":"/4ybQ6gopB3H3cu0seVZLznDnIKo.jpg","vote_average":6.9,"vote_count":2275}],"known_for_department":"Acting","name":"Annette O'Toole","popularity":33.58,"profile_path":"/z5BS5EeuhpM2KGFfUjOhVXtjmMy.jpg"},{"adult":false,"gender":1,"id":2374721,"known_for":[{"adult":false,"backdrop_path":"/h1BoDAepuEmEMC2qhjBONAYhre7.jpg","genre_ids":[10749],"id":698009,"media_type":"movie","original_language":"en","original_title":"어린 처제 3","overview":"Yoo-jin and Myeong-seok get a call from Hye-jin in the middle of the night. She finally escapes from domestic violence and comes to live with her sister. However, Myeong-seok is nice to her and Hye-jin starts to feel fond of him...","poster_path":"/swEYylf53k2aGZHjv9PuIxalWQE.jpg","release_date":"2019-05-24","title":"Young Sister-in-law 3 - 2019","video":false,"vote_average":5,"vote_count":2},{"adult":false,"backdrop_path":"/ejaldIt8gb0t6nNU1xtgQEwEY2l.jpg","genre_ids":[10749],"id":656273,"media_type":"movie","original_language":"ko","original_title":"막내 형수 2","overview":"Hwa-jeong and Geon-woo are getting married soon. Geon-woo introduces his friends, Jae-kyeong and Yi-soo, to Hwa-jeong. After a few drinks, everyone goes to Yi-soo's house for a second round. The party ends late at night and Jae-kyeong, who is a lightweight, staggers to the bathroom. He then mixes up the rooms and falls asleep in the room Hwa-jeong is sleeping in. By accident, Jae-kyeong ends up sleeping with his friend's bride.","poster_path":"/6wv4PGxeNdNqtuoZ8sYdr319kyW.jpg","release_date":"2019-11-27","title":"Youngest Sister-in-law 2","video":false,"vote_average":6,"vote_count":1},{"adult":false,"genre_ids":[10749],"id":699173,"media_type":"movie","original_language":"ko","original_title":"유부녀들: 남편 바꾸기","overview":"After marriage, Sun-ah and Joo-hee seem to have become bored with their husbands. They meet and talked about their worries. Because their husbands coldness, they can't even remember when was the last time they had sex. Joo-hee says she can't take it anymore so she tried to find someone through a dating app but Sun-ah stopped her. After contemplating, they both wore sexy lingeries and tried to seduce their husbands, but it didn't work. Finally, as a last resort, they change husbands for a night and make love...","poster_path":"/1XyStZnmbSlDQ4muChXiUawe4Q3.jpg","release_date":"2020-01-23","title":"Married Women: Husband Change","video":false,"vote_average":5,"vote_count":1}],"known_for_department":"Acting","name":"Han Seo-ah","popularity":32.855,"profile_path":"/x2aYtUJN3bHwvvyISrwNx5uJ41k.jpg"},{"adult":false,"gender":2,"id":10859,"known_for":[{"adult":false,"backdrop_path":"/en971MEXui9diirXlogOrPKmsEn.jpg","genre_ids":[28,12,35],"id":293660,"media_type":"movie","original_language":"en","original_title":"Deadpool","overview":"Deadpool tells the origin story of former Special Forces operative turned mercenary Wade Wilson, who after being subjected to a rogue experiment that leaves him with accelerated healing powers, adopts the alter ego Deadpool. Armed with his new abilities and a dark, twisted sense of humor, Deadpool hunts down the man who nearly destroyed his life.","poster_path":"/3E53WEZJqP6aM84D8CckXx4pIHw.jpg","release_date":"2016-02-09","title":"Deadpool","video":false,"vote_average":7.6,"vote_count":25249},{"adult":false,"backdrop_path":"/3P52oz9HPQWxcwHOwxtyrVV1LKi.jpg","genre_ids":[28,35,12],"id":383498,"media_type":"movie","original_language":"en","original_title":"Deadpool 2","overview":"Wisecracking mercenary Deadpool battles the evil and powerful Cable and other bad guys to save a boy's life.","poster_path":"/to0spRl1CMDvyUbOnbb4fTk3VAd.jpg","release_date":"2018-05-10","title":"Deadpool 2","video":false,"vote_average":7.5,"vote_count":13505},{"adult":false,"backdrop_path":"/nEcEy7iVOh04dzZWP2e6AcwpLvI.jpg","genre_ids":[35,14],"id":72105,"media_type":"movie","original_language":"en","original_title":"Ted","overview":"John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear or his girlfriend, Lori.","poster_path":"/osJNr64CNyGhCzdlg6oHt3a6vNA.jpg","release_date":"2012-06-29","title":"Ted","video":false,"vote_average":6.4,"vote_count":9915}],"known_for_department":"Acting","name":"Ryan Reynolds","popularity":32.364,"profile_path":"/yk6lt6KYeYE8QjQr2SXTGEssBGL.jpg"},{"adult":false,"gender":2,"id":91606,"known_for":[{"adult":false,"backdrop_path":"/nNmJRkg8wWnRmzQDe2FwKbPIsJV.jpg","genre_ids":[878,28,12],"id":24428,"media_type":"movie","original_language":"en","original_title":"The Avengers","overview":"When an unexpected enemy emerges and threatens global safety and security, Nick Fury, director of the international peacekeeping agency known as S.H.I.E.L.D., finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins!","poster_path":"/RYMX2wcKCBAr24UyPD7xwmjaTn.jpg","release_date":"2012-04-25","title":"The Avengers","video":false,"vote_average":7.7,"vote_count":25087},{"adult":false,"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","genre_ids":[12,28,878],"id":299536,"media_type":"movie","original_language":"en","original_title":"Avengers: Infinity War","overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","release_date":"2018-04-25","title":"Avengers: Infinity War","video":false,"vote_average":8.3,"vote_count":22311},{"adult":false,"backdrop_path":"/7RyHsO4yDXtBv1zUU3mTpHeQ0d5.jpg","genre_ids":[12,878,28],"id":299534,"media_type":"movie","original_language":"en","original_title":"Avengers: Endgame","overview":"After the devastating events of Avengers: Infinity War, the universe is in ruins due to the efforts of the Mad Titan, Thanos. With the help of remaining allies, the Avengers must assemble once more in order to undo Thanos' actions and restore order to the universe once and for all, no matter what consequences may be in store.","poster_path":"/or06FN3Dka5tukK1e9sl16pB3iy.jpg","release_date":"2019-04-24","title":"Avengers: Endgame","video":false,"vote_average":8.3,"vote_count":18703}],"known_for_department":"Acting","name":"Tom Hiddleston","popularity":32.1,"profile_path":"/mclHxMm8aPlCPKptP67257F5GPo.jpg"},{"adult":false,"gender":1,"id":1373737,"known_for":[{"adult":false,"backdrop_path":"/lqxxwTRk0l7CubY6JkJdhnwJEkn.jpg","genre_ids":[18,10749],"id":331482,"media_type":"movie","original_language":"en","original_title":"Little Women","overview":"Four sisters come of age in America in the aftermath of the Civil War.","poster_path":"/yn5ihODtZ7ofn8pDYfxCmxh8AXI.jpg","release_date":"2019-12-25","title":"Little Women","video":false,"vote_average":7.9,"vote_count":3939},{"adult":false,"backdrop_path":"/g6GtOfXtzDpY73ef7wludoorTti.jpg","genre_ids":[27,18,9648],"id":530385,"media_type":"movie","original_language":"en","original_title":"Midsommar","overview":"Several friends travel to Sweden to study as anthropologists a summer festival that is held every ninety years in the remote hometown of one of them. What begins as a dream vacation in a place where the sun never sets, gradually turns into a dark nightmare as the mysterious inhabitants invite them to participate in their disturbing festive activities.","poster_path":"/7LEI8ulZzO5gy9Ww2NVCrKmHeDZ.jpg","release_date":"2019-07-03","title":"Midsommar","video":false,"vote_average":7.1,"vote_count":3907},{"adult":false,"backdrop_path":"/keIxh0wPr2Ymj0Btjh4gW7JJ89e.jpg","genre_ids":[28,12,53,878],"id":497698,"media_type":"movie","original_language":"en","original_title":"Black Widow","overview":"Natasha Romanoff, also known as Black Widow, confronts the darker parts of her ledger when a dangerous conspiracy with ties to her past arises. Pursued by a force that will stop at nothing to bring her down, Natasha must deal with her history as a spy and the broken relationships left in her wake long before she became an Avenger.","poster_path":"/qAZ0pzat24kLdO3o8ejmbLxyOac.jpg","release_date":"2021-07-07","title":"Black Widow","video":false,"vote_average":7.9,"vote_count":3662}],"known_for_department":"Acting","name":"Florence Pugh","popularity":31.988,"profile_path":"/75PvULemW8BvheSKtPMoBBsvPLh.jpg"}],"total_pages":500,"total_results":10000} \ No newline at end of file From c56f3f1ba6c6011c63e1017ff44f6516f551bea6 Mon Sep 17 00:00:00 2001 From: Brahim Date: Mon, 2 Aug 2021 22:06:07 +0200 Subject: [PATCH 36/36] added comments --- src/utils/getMethods.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/getMethods.js b/src/utils/getMethods.js index b59c29c..a13f3a7 100644 --- a/src/utils/getMethods.js +++ b/src/utils/getMethods.js @@ -16,8 +16,8 @@ const { /** * get People by Pages - * @param page: number of page to render - * @param option: save option + * @param commandOpt: command options to render + * @param callback: a callback function to execute with --save flag */ function PersonsByPage(commandOpt, callback) { const options = {