ChandimaPrabath commited on
Commit
042c718
·
1 Parent(s): c137f8e
Files changed (1) hide show
  1. api.py +2 -2
api.py CHANGED
@@ -29,7 +29,7 @@ class InstancesAPI:
29
  """
30
  data = {}
31
  try:
32
- response = requests.get(f"{instance_url}/api/film/{title}")
33
  response.raise_for_status()
34
  data = response.json()
35
 
@@ -52,7 +52,7 @@ class InstancesAPI:
52
  """
53
  data = {}
54
  try:
55
- response = requests.get(f"{instance_url}/api/tv/{title}/{season}/{episode}")
56
  response.raise_for_status()
57
  data = response.json()
58
 
 
29
  """
30
  data = {}
31
  try:
32
+ response = requests.get(f"{instance_url}/api/get/film/{title}")
33
  response.raise_for_status()
34
  data = response.json()
35
 
 
52
  """
53
  data = {}
54
  try:
55
+ response = requests.get(f"{instance_url}/api/get/tv/{title}/{season}/{episode}")
56
  response.raise_for_status()
57
  data = response.json()
58