Skip to content

ghrcdaac/bulk-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Title :

Earth Data Bulk Downloader Browser Extension

Description:

A browser extension to add bulk data download capability to Earthdata Search website.

Code Structure:

manifest.json:

Includes all the permissions and instructions for the file names to be picked up for the extension.

content.js:

The JavaScript code to change anything in the content of the web page is included here. For example, the code for appending the download button, observing granular mutations and fetching the download links from CMR data website when the button is clicked etc are written in it.

bg.js:

This is a JavaScript code to download the links in background which receives the links from content scripts in the form of messages and saves in the browser's local storage.

popup.html:

This is a html page which is shows up when the extension icon in the title bar of the browser is clicked.

popup.js:

This is a JavaScript file which has code fetching the names of the downloaded files from the local storage of the browser which is included in script of html page.

style.css:

This has the styling code css trick for the borders of pause and play buttons to toggle when clicked

images:

These have the images with .png extension to be used for the icons of the browser extension.

How to Run:

  • Clone the git repository to your local desktop
  • Open a web browser,
    • if Google Chrome, open chrome://extensions/
      • Switch on the Developer mode on the top right corner of the page
      • Click on load unpacked and browse the git cloned folder and select src and click on "Select Folder"
      • Now open Earth Data website in a new page, select the dataset and Click on Bulk Download now
    • if Firefox, open about:debugging
      • Click on load temporary add-on, navigate to src folder and open the manifest file
      • Now open Earth Data website in a new page, select the dataset and Click on Bulk Download now

How to Test:

Running the test file in an eclipse IDE with the selenium jar files included, automates the testing process and prints the success/failure of the listed test cases.

About

Prototype MVP for Earthdata Bulk Download Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •