Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Handling of thumbnail_link in instagramDl Response #4

Description

@amiteshore

Description:

The instagramDl function returns an array of objects where each object contains download_link and thumbnail_link. However, there is an inconsistency in the thumbnail_link values:

  • The first three objects in the array have valid URLs for thumbnail_link that work correctly.
  • Starting from the fourth object onward, the thumbnail_link is set to "imgs/loader.gif", which is a placeholder and does not point to a valid resource.

Steps to Reproduce:

  1. Call the instagramDl function with a valid link.
  2. Observe the returned array of objects.
  3. Note that the first three objects have working thumbnail_links.
  4. For objects after the third one, thumbnail_link is "imgs/loader.gif", which does not work.

Expected Behavior:

  • All objects in the array should have valid and functional thumbnail_links or should handle the case where no valid thumbnail is available gracefully.

Actual Behavior:

  • Only the first three objects have functional thumbnail_links.
  • Subsequent objects have a non-functional thumbnail_link pointing to "imgs/loader.gif".

Suggested Solution:

  • Investigate why the thumbnail_link becomes "imgs/loader.gif" after the third object.
  • Ensure that instagramDl returns valid thumbnail_links for all objects or provide a proper fallback mechanism.

Additional Information:

Please let me know if further details or examples are needed to assist in resolving this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions