# \[Script\] Download all the files in a directory from Goindex Websites

**URL:** <https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800>\
**Category:** Tools & Scripts\
**Created:** [April 14, 2020, 7:39pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800 "2020-04-14T19:39:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![pankaj260](https://onehack.st/user_avatar/onehack.st/pankaj260/32/18769_2.png) [@pankaj260](https://onehack.st/u/pankaj260)\
**Post date:** [April 14, 2020, 7:39pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/1 "2020-04-14T19:39:02Z")

</div>

This script will download all the contents of Goindex websites in a specified directory . You just have to specify the download location where you want to download and give it the directory link of any Goindex website. Although i have written this script for linux based os but with little modification it can run on windows machine too , you just need a little bit knowledge of configuring selinium for windows.

# Requirements

Python \>3.5  
selenium

# Instructions/Installation/Usage

1. Go to my colab script [link](https://colab.research.google.com/drive/1tmsLGuswIZIZ_oM35EMW8TbJ6pQPt1rY#scrollTo=3bCnUMUg_SoT&forceEdit=true&sandboxMode=true)

2. Run the first cell (will mount google drive)

3. Run second cell (will install all modules required to run this script)

4. Left side you will see file icon click it and a (minimal) file explorer will open . Navigate to My Drive and right click on any folder in my drive to copy the path where you want to download the files from Goindex.

5. Go to line number 15 or look for “destinationDir” and paste the download path you just copied on step 4 like this destinationDir = “/content/drive/My Drive/Saves”

6. Then copy the Goindex directory link which you want to download go to line number 16 and assign the link like this  
url = ‘[https://edu.tuts.workers.dev/Udacity%20-%20Collections%20[300%20GB]/Nanodegrees/Business%20Analytics%20Nanodegree%20v2.0.0/](https://edu.tuts.workers.dev/Udacity%20-%20Collections%20%5B300%20GB%5D/Nanodegrees/Business%20Analytics%20Nanodegree%20v2.0.0/)’

7. Now just run the the third cell and it will download the data  
Bugs so far  
=

Not a bug really but it will download only to one level folder .

# Note

I am currently working on another project . Since i had give my word that i will post a script so i posted it in hurry . You might encounter some bug so just comment . But i will only consider it when i have some time. Please don’t start bashing me it takes lot of hard work to write such scripts . Hope you understand

> # Disclaimer

Use it however you want

---

<div class="post-metadata">

**Author:** ![Waga](https://onehack.st/user_avatar/onehack.st/waga/32/27787_2.png) [@Waga](https://onehack.st/u/Waga)\
**Post date:** [April 14, 2020, 7:43pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/2 "2020-04-14T19:43:12Z")

</div>

Weldone boss. 👌 🙏 Thanks for sharing your script.

Bookmarked to be tried out later.

Cheers!!!

> **… And Over Every Possessor of Knowledge, There is (Some) One (Else) More Knowledgeable.**

---

<div class="post-metadata">

**Author:** ![atlonxp](https://onehack.st/user_avatar/onehack.st/atlonxp/32/38549_2.png) [@atlonxp](https://onehack.st/u/atlonxp)\
**Post date:** [April 14, 2020, 7:54pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/3 "2020-04-14T19:54:31Z")

</div>

well-done dude! The solution I made is to download to my local machine. Yours is, to google drive, absolutely the best!

---

<div class="post-metadata">

**Author:** ![pankaj260](https://onehack.st/user_avatar/onehack.st/pankaj260/32/18769_2.png) [@pankaj260](https://onehack.st/u/pankaj260)\
**Post date:** [April 14, 2020, 7:58pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/4 "2020-04-14T19:58:32Z")

</div>

By just modifying two three lines it can download on local machine too .

---

<div class="post-metadata">

**Author:** ![Abd\_Shk](https://onehack.st/user_avatar/onehack.st/abd_shk/32/25814_2.png) [@Abd\_Shk](https://onehack.st/u/Abd_Shk)\
**Post date:** [April 14, 2020, 8:36pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/5 "2020-04-14T20:36:15Z")

</div>

Share local machine downloading script

---

<div class="post-metadata">

**Author:** ![kornbolt](https://onehack.st/user_avatar/onehack.st/kornbolt/32/8719_2.png) [@kornbolt](https://onehack.st/u/kornbolt)\
**Post date:** [April 14, 2020, 10:01pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/6 "2020-04-14T22:01:38Z")

</div>

Indeed. This banter tho. Good work buddy.

> [@](#):
>
> See i have done what i said . I am man of my word ..

---

<div class="post-metadata">

**Author:** ![atlonxp](https://onehack.st/user_avatar/onehack.st/atlonxp/32/38549_2.png) [@atlonxp](https://onehack.st/u/atlonxp)\
**Post date:** [April 14, 2020, 10:28pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/7 "2020-04-14T22:28:31Z")

</div>

I have just created the improved version of this script.

> [@Recursive GoIndex Downloader: Download all files in folders and sub-folders for GoIndex Website](https://onehack.st/t/recursive-goindex-downloader-download-all-files-in-folders-and-sub-folders-for-goindex-website/79823):
>
> Description This source code was developed and improved based on the script posted by pankaj260 (Thanks to pankaj260 [this post](https://forum.telugudjmusic.com/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800)) The main features are that Recursive crawler (atlonxp) Download all folders and files in a given url (atlonxp) Adaptive delay in fetching url (atlonxp) Store folders/files directly to your Google Drive (pankaj260) Folders and files exclusion filters Instructions/Installation/Usage [https://github.com/atlonxp/recursive-goIndex-downloader](https://github.com/atlonxp/recursive-goIndex-downloader) Go to my colab: [https://cola…](https://colab.research.google.com/drive/1VpAOxP_sM6bTmRM8xmrmbowznZP-mX4u)

---

<div class="post-metadata">

**Author:** ![FlashyFlash](https://onehack.st/user_avatar/onehack.st/flashyflash/32/36454_2.png) [@FlashyFlash](https://onehack.st/u/FlashyFlash)\
**Post date:** [April 15, 2020, 3:32am UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/8 "2020-04-15T03:32:27Z")

</div>

> **[How to download, install and use WGET in Windows 10](https://builtvisible.com/download-your-website-with-wget/)**
>
> How to download your website using WGET for Windows (updated for Windows 10). Download and mirror entire websites, or just useful assets such as images or other filetypes...

Try this for local downloading…it works i tried…heres the proof

 ![](https://onehack.st/uploads/default/original/3X/a/3/a30324d99f5159b3883578719de3b97b2a302293.png)

---

<div class="post-metadata">

**Author:** ![krishnadhan\_guha](https://onehack.st/user_avatar/onehack.st/krishnadhan_guha/32/18090_2.png) [@krishnadhan\_guha](https://onehack.st/u/krishnadhan_guha)\
**Post date:** [April 15, 2020, 6:32am UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/9 "2020-04-15T06:32:32Z")

</div>

nice info.. udemy colab???

---

<div class="post-metadata">

**Author:** ![TheJoker](https://onehack.st/user_avatar/onehack.st/thejoker/32/22660_2.png) [@TheJoker](https://onehack.st/u/TheJoker)\
**Post date:** [April 15, 2020, 9:21am UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/10 "2020-04-15T09:21:46Z")

</div>



---

<div class="post-metadata">

**Author:** ![Sourabh\_Bhandalkar](https://onehack.st/user_avatar/onehack.st/sourabh_bhandalkar/32/14463_2.png) [@Sourabh\_Bhandalkar](https://onehack.st/u/Sourabh_Bhandalkar)\
**Post date:** [April 15, 2020, 5:26pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/11 "2020-04-15T17:26:43Z")

</div>

Is there any way i can access the udacity files without running the script and installing anything on the laptop ?

---

<div class="post-metadata">

**Author:** ![atlonxp](https://onehack.st/user_avatar/onehack.st/atlonxp/32/38549_2.png) [@atlonxp](https://onehack.st/u/atlonxp)\
**Post date:** [April 15, 2020, 6:06pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/12 "2020-04-15T18:06:50Z")

</div>

Just updated little:

- Download queue supported
- Auto-domain URL detection

**Coming soon**

- TDQM multiple/paralelled downloader
- Aria2 integration

[https://github.com/atlonxp/recursive-goIndex-downloader](https://github.com/atlonxp/recursive-goIndex-downloader)

---

<div class="post-metadata">

**Author:** ![pankaj260](https://onehack.st/user_avatar/onehack.st/pankaj260/32/18769_2.png) [@pankaj260](https://onehack.st/u/pankaj260)\
**Post date:** [April 15, 2020, 7:47pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/13 "2020-04-15T19:47:35Z")

</div>

You must be enrolled in any udacity course to download. And you also need to pass login credentials to the script to download on your own.

Answer to your question is straight forward no. But you might find the course on internet Just give it a try.

---

<div class="post-metadata">

**Author:** ![atlonxp](https://onehack.st/user_avatar/onehack.st/atlonxp/32/38549_2.png) [@atlonxp](https://onehack.st/u/atlonxp)\
**Post date:** [April 15, 2020, 7:52pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/14 "2020-04-15T19:52:56Z")

</div>

hint: change the edu.tuts.workers.dev → lol.freecoronavirus.workers.dev

---

<div class="post-metadata">

**Author:** ![FlashyFlash](https://onehack.st/user_avatar/onehack.st/flashyflash/32/36454_2.png) [@FlashyFlash](https://onehack.st/u/FlashyFlash)\
**Post date:** [April 16, 2020, 4:05am UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/16 "2020-04-16T04:05:02Z")

</div>

Thks bro …very nice script…my only req is to add forms so noobs know where and what exactly is the user input required…instead of users editing in the code itself and messing it up

---

<div class="post-metadata">

**Author:** ![MikeBlueberry](https://onehack.st/user_avatar/onehack.st/mikeblueberry/32/34516_2.png) [@MikeBlueberry](https://onehack.st/u/MikeBlueberry)\
**Post date:** [April 16, 2020, 10:03am UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/17 "2020-04-16T10:03:33Z")

</div>

This ^

For example, as common mortal, I have no idea what do to with these wonderful scripts you guys made.

---

<div class="post-metadata">

**Author:** ![Adze\_Presh](https://onehack.st/user_avatar/onehack.st/adze_presh/32/18047_2.png) [@Adze\_Presh](https://onehack.st/u/Adze_Presh)\
**Post date:** [April 16, 2020, 10:22am UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/18 "2020-04-16T10:22:12Z")

</div>

Thanks great work

---

<div class="post-metadata">

**Author:** ![atlonxp](https://onehack.st/user_avatar/onehack.st/atlonxp/32/38549_2.png) [@atlonxp](https://onehack.st/u/atlonxp)\
**Post date:** [April 16, 2020, 6:55pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/19 "2020-04-16T18:55:35Z")

</div>

Version 2 is just added

[https://github.com/atlonxp/recursive-goIndex-downloader](https://github.com/atlonxp/recursive-goIndex-downloader)

**Features**

- Recursive crawler (atlonxp)
- Download all folders and files in a given url (atlonxp)
- Download all folders and files in in sub-folders (atlonxp)
- Adaptive delay in fetching url (atlonxp)
- Store folders/files directly to your Google Drive (pankaj260)
- Folders and files exclusion filters
- Download queue supported
- Auto-domain URL detection
- API-based GoIndex crawler
- Parallel/Multiple files downloader

You can download files faster 😃

---

<div class="post-metadata">

**Author:** ![Ajisafe\_Eniola](https://onehack.st/user_avatar/onehack.st/ajisafe_eniola/32/104727_2.png) [@Ajisafe\_Eniola](https://onehack.st/u/Ajisafe_Eniola)\
**Post date:** [April 16, 2020, 8:33pm UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/20 "2020-04-16T20:33:26Z")

</div>

Cool, you guys are really working good in this project. Thank you it will help many.

---

<div class="post-metadata">

**Author:** ![Kumar\_P](https://onehack.st/letter_avatar_proxy/v4/letter/k/8c91f0/32.png) [@Kumar\_P](https://onehack.st/u/Kumar_P)\
**Post date:** [May 10, 2020, 5:14am UTC](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/21 "2020-05-10T05:14:51Z")

</div>

The site mentioned to make use of this script has moved to other hosting provider. Making this script unusable.

[Next page](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800.md?page=2)
