randydev commited on
Commit
7fea43f
·
verified ·
1 Parent(s): 1e50068
Files changed (1) hide show
  1. akn/AllDownloaderBot/main.py +3 -1
akn/AllDownloaderBot/main.py CHANGED
@@ -684,7 +684,9 @@ async def fbdl_cmd(client: Client, message: Message):
684
  if not link.startswith("https://www.facebook.com/"):
685
  return await pro.edit_text("invalid link.")
686
  try:
687
- response = await js.AkenoXJs().connect().downloader.create(
 
 
688
  "fb",
689
  params_data={"url": link},
690
  is_obj=True
 
684
  if not link.startswith("https://www.facebook.com/"):
685
  return await pro.edit_text("invalid link.")
686
  try:
687
+ response = await js.AkenoXJs(
688
+ js.types.DifferentAPIDefault()
689
+ ).connect().downloader.create(
690
  "fb",
691
  params_data={"url": link},
692
  is_obj=True