Skip to content

Need to add a feature that saves Only PNG files saves in a sepearate file #1148

Closed

Description

@aravindb26

Please describe your feature request:

A feature to save only PNG files in a separate folder after capturing screenshots.

Describe the use case of this feature:

Currently, the screenshots are saved individually for each domain, which requires manual effort to visit each website. By implementing this feature, all PNG files can be saved in a designated folder, saving time and effort.

Proposed Solution:

To address this feature request, the following solution can be implemented:

  1. Create a new folder to save PNG files: mkdir png_folder
  2. Use the find command to locate PNG files in the "screenshot" directory: find screenshot -type f -name "*.png" -exec cp {} png_folder/ \;

By implementing this solution, all PNG files will be copied to the "png_folder," consolidating them in one location.

Please let me know if you need any further information or clarification.

Activity

  1. Mzack9999 commented on May 7, 2023

    @Mzack9999
    Member

    @aravindb26 Thank you for raising this issue. The screenshot functionality uses an index to handle multiple input URLs that might refer to the same domain.
    Using a hashing mechanism, we can efficiently differentiate between different URLs (ex, with other methods, additional parameters, etc.) while still capturing screenshots for each unique domain. This approach helps us avoid duplicates and ensures we cover all the URLs provided.

    If you have any further questions or need more clarification, please feel free to ask. We're here to help!

  2. locked and limited conversation to collaborators on May 7, 2023
  3. converted this issue into a discussion #1149 on May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementMost issues will probably ask for additions or changes.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions