You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Need to add a feature that saves Only PNG files saves in a sepearate file #1148
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:
Create a new folder to save PNG files: mkdir png_folder
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.
@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!
Activity
Mzack9999 commentedon May 7, 2023
@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!