# How to download all the files in a directory from Goindex Websites?

**URL:** <https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484>\
**Category:** Discussion & Solutions\
**Tags:** solved\
**Created:** [April 13, 2020, 1:55pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484 "2020-04-13T13:55:14Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![raghav\_pahwa](https://onehack.st/letter_avatar_proxy/v4/letter/r/6f9a4e/32.png) [@raghav\_pahwa](https://onehack.st/u/raghav_pahwa)\
**Post date:** [April 13, 2020, 1:55pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/1 "2020-04-13T13:55:15Z")

</div>

There are a lot of websites not publishing direct google drive links but providing Goindex links like this one-

> **[TuTNetFlix.com](https://edu.tuts.workers.dev/Udacity%20-%20Collections%20%5B300%20GB%5D/)**

Does anybody know how to either get a direct google drive link or download all the files present in one directory?

[For those who don’t know about Goindex, it is like publishing a (sort of) directory wesbite like above directly from google drive, even without providing direct google drive links to users.  
For more information about Goindex, check - [https://github.com/donwa/goindex](https://github.com/donwa/goindex)]

---

<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 13, 2020, 2:00pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/2 "2020-04-13T14:00:36Z")

</div>

Try wget or wget2 it will work  
or the simple thg would be jus asking for gdrive link to the owner of index  
for wget setup refer…I personally refered this guide to setup my wget

> **[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...

& incase ur not familiar with cmd

> **[How to Navigate in CMD: 13 Directory Commands you Should Know](https://www.digitalcitizen.life/command-prompt-how-use-basic-commands/)**
>
> Command Prompt (or CMD) has been part of Windows since the early days, and even if it's now often overshadowed by PowerShell, it's still a quick and reliable way to get things done. Whether you want to browse through folders without touching File...

Its working…here’s the proof…its downloading along with folders

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

---

<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 13, 2020, 2:33pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/3 "2020-04-13T14:33:28Z")

</div>

I have written a script which downloads all the content to your Google drive or on your local machine.

---

<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 13, 2020, 2:38pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/4 "2020-04-13T14:38:07Z")

</div>

so …where can we get it?

---

<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 13, 2020, 2:45pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/5 "2020-04-13T14:45:13Z")

</div>

Off course i will post it with some modifications,just give me some time

---

<div class="post-metadata">

**Author:** ![raghav\_pahwa](https://onehack.st/letter_avatar_proxy/v4/letter/r/6f9a4e/32.png) [@raghav\_pahwa](https://onehack.st/u/raghav_pahwa)\
**Post date:** [April 13, 2020, 4:36pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/7 "2020-04-13T16:36:34Z")

</div>

Can you please share that script?

---

<div class="post-metadata">

**Author:** ![T\_shikey](https://onehack.st/user_avatar/onehack.st/t_shikey/32/18692_2.png) [@T\_shikey](https://onehack.st/u/T_shikey)\
**Post date:** [April 13, 2020, 4:45pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/8 "2020-04-13T16:45:23Z")

</div>

[https://github.com/donwa/goindex](https://github.com/donwa/goindex)

---

<div class="post-metadata">

**Author:** ![T\_shikey](https://onehack.st/user_avatar/onehack.st/t_shikey/32/18692_2.png) [@T\_shikey](https://onehack.st/u/T_shikey)\
**Post date:** [April 13, 2020, 2:58pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/6 "2020-04-13T14:58:02Z")

</div>

> [@pankaj260](#):
>
> 然，

[https://shikey.com/2020/01/10/use-cloudflare-to-solve-google-drive-download-problem-after-wall.html](https://shikey.com/2020/01/10/use-cloudflare-to-solve-google-drive-download-problem-after-wall.html)  
You can read by [translate.google.com](http://translate.google.com)

---

<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 13, 2020, 5:47pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/10 "2020-04-13T17:47:15Z")

</div>

so …where can we get it? wats the point of boasting of script if ur not gonna give it to us 🤣

---

<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 14, 2020, 3:09am UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/12 "2020-04-14T03:09:25Z")

</div>

dude if i knew how to code why would i ask for script?  
u posted the dancing emoji on my comment initially thats why i thought u were trolling me  
we can see both the scripts wats the issue..haha  
and i m not sure wat do u guys mean by polished  
It jus has to work right…we r not asking for any fancy gui interface…a working cli with usage instructions will do jus fine

---

<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:21pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/14 "2020-04-14T19:21:32Z")

</div>

See i have done what i said . I am man of my word . Had i not been able to post i would have publically apologized to you guys . But wait for my post to get approved.

---

<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:32pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/15 "2020-04-14T19:32:49Z")

</div>

here is the overview instructions! coding is not that difficult.

1. python
2. use beautifulsoup4 + selenium (Goindex is javascript based. bs4 itself can’t grab folders and files link)
3. find all folders and files (ul id=“list” → li class=“{see html from inspection}”
4. stored all links (probably save in json file)
5. iterate all links then use aria2 to download
6. voila!

---

<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:17pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/13 "2020-04-14T19:17:31Z")

</div>

Hey every one i just created a new topic which contains the script to download Goindex contents . Waiting approval of my post. Stay tuned.

---

<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:55pm UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/16 "2020-04-14T19:55:57Z")

</div>

Script below.

> [@\[Script\] Download all the files in a directory from Goindex Websites](https://onehack.st/t/script-download-all-the-files-in-a-directory-from-goindex-websites/79800/2):
>
> Weldone boss. ok_hand pray 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:** ![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:29am UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/17 "2020-04-15T03:29:44Z")

</div>

Your a man of your word bro 🕶

---

<div class="post-metadata">

**Author:** ![raghav\_pahwa](https://onehack.st/letter_avatar_proxy/v4/letter/r/6f9a4e/32.png) [@raghav\_pahwa](https://onehack.st/u/raghav_pahwa)\
**Post date:** [April 15, 2020, 11:53am UTC](https://onehack.st/t/how-to-download-all-the-files-in-a-directory-from-goindex-websites/79484/18 "2020-04-15T11:53:03Z")

</div>

Thanks a lot man for the script.
