Title: IMDB format change · Issue #10 · patrickloeber/python-docker-tutorial · GitHub
Open Graph Title: IMDB format change · Issue #10 · patrickloeber/python-docker-tutorial
X Title: IMDB format change · Issue #10 · patrickloeber/python-docker-tutorial
Description: When I run, I get the following error: docker run python-imdb Traceback (most recent call last): File "//./main.py", line 46, in
Open Graph Description: When I run, I get the following error: docker run python-imdb Traceback (most recent call last): File "//./main.py", line 46, in
X Description: When I run, I get the following error: docker run python-imdb Traceback (most recent call last): File "//./main.py", line 46, in <module> main() File "//./main.py", line 3...
Opengraph URL: https://github.com/patrickloeber/python-docker-tutorial/issues/10
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IMDB format change","articleBody":"When I run, I get the following error:\n\n`docker run python-imdb`\n`Traceback (most recent call last):\n File \"//./main.py\", line 46, in \u003cmodule\u003e\n main()\n File \"//./main.py\", line 33, in main\n idx = random.randrange(0, n_movies)\n File \"/usr/local/lib/python3.9/random.py\", line 316, in randrange\n raise ValueError(\"empty range for randrange() (%d, %d, %d)\" % (istart, istop, width))\nValueError: empty range for randrange() (0, 0, 0)`\n\nI can resolve the error by changing the URL from https://www.imdb.com/chart/top/ to a version archived from the wayback machine from March 2022: https://web.archive.org/web/20220314214330/https://www.imdb.com/chart/top, so it seems as though the error is from a change in how imdb formats its movie lists.\n","author":{"url":"https://github.com/ellisdoro","@type":"Person","name":"ellisdoro"},"datePublished":"2025-02-07T05:23:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10/python-docker-tutorial/issues/10"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:22ef0a34-05aa-c8e6-88c2-2ce9d13f22cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5F0:202C2:15A0606:1D51285:6A5967DF |
| html-safe-nonce | 89dcedd96c8606897e937cac07967f11feceb6b4bafaf7035f2ae36476bbc828 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUYwOjIwMkMyOjE1QTA2MDY6MUQ1MTI4NTo2QTU5NjdERiIsInZpc2l0b3JfaWQiOiI4ODEzMjE3Njc1OTU1MDE1MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8131652cae678c2e506f323855a7f626d26bbf8338406427d464f369793b0f52 |
| hovercard-subject-tag | issue:2837265139 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/patrickloeber/python-docker-tutorial/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a9f2571bdaefe534fafeb4d32f2384b6c89952c46f3a0c9af90d78a73589fd6d/patrickloeber/python-docker-tutorial/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a9f2571bdaefe534fafeb4d32f2384b6c89952c46f3a0c9af90d78a73589fd6d/patrickloeber/python-docker-tutorial/issues/10 |
| og:image:alt | When I run, I get the following error: docker run python-imdb Traceback (most recent call last): File "//./main.py", line 46, in |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ellisdoro |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| turbo-cache-control | no-preview |
| go-import | github.com/patrickloeber/python-docker-tutorial git https://github.com/patrickloeber/python-docker-tutorial.git |
| octolytics-dimension-user_id | 50772274 |
| octolytics-dimension-user_login | patrickloeber |
| octolytics-dimension-repository_id | 473260401 |
| octolytics-dimension-repository_nwo | patrickloeber/python-docker-tutorial |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 473260401 |
| octolytics-dimension-repository_network_root_nwo | patrickloeber/python-docker-tutorial |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4aa391d605ba491481565840251a4b0fec3f4807 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width