# Link grabber i archiwa

**Link grabber** gathers many links at once, sorts them into packages, and lets you tick the ones to download. VDM can then extract the archives it downloaded (zip, 7z, rar and more), by itself or when you ask.

[![Link grabber](https://vdm.mikaillab.com/help/images/grabber.webp)](https://vdm.mikaillab.com/help/images/grabber.webp)

## Skąd pochodzą łącza

- **The browser.** Right-click a page for **Download all links with Volt Download Manager**, or select part of it for **Download selected links with Volt Download Manager**. The page's referrer and cookies go with each link. Both also send the pictures located on the page (or in the selection), hidden at first (see **Hide images located on this web page** below).
- **Obrazy ze strony.** Przycisk paska narzędzi dodatku do przeglądarki, **Ta strona → Znajdź obrazy**, wysyła obrazy ze strony w największym rozmiarze, jaki jest dla nich podany, te, które zostały zachowane według rozmiaru i typu ([Obrazy na tej stronie](https://vdm.mikaillab.com/pl/help/browser-integration.html#images-on-this-page)).
- **Zadania → Importuj → Z pliku tekstowego** i **Z pliku eksportu IDM**. Plik `.ef2` zawiera odsyłacz i pliki cookie każdego pobierania oraz nazwę pliku, jeśli jest podana na liście (linia `filename:`; tylko nazwa, nigdy folder).
- Kilka linków lub lista `.txt` albo `.ef2` upuszczona na listę pobierania.
- **Schowek.** **Zadania → Dodaj pobieranie wsadowe ze schowka** (**Ctrl+B**, również w menu ikony w zasobniku) odczytuje skopiowany tekst po jego wybraniu i wyświetla każde łącze do pobrania, które się w nim znajduje: `http`, `https`, `ftp` i łącza magnet, w postaci listy, wpisu na forum, Markdown lub HTML, każde raz. Łącze `thunder://`, `flashget://` lub `qqdl://` jest wyświetlane jako adres w nim zawarty, więc ten sam plik połączony w opakowaniu i zwykły to jeden wiersz; dotyczy to również wklejonego tekstu i importowanych list.
- **Wklejanie.** Wybierz **Zadania → Link grabber...** i naciśnij **Ctrl+V**: wszystkie linki do pobrania z skopiowanego tekstu zostaną dodane.
- **A web page's address.** Paste or copy the address of a page (`https://example.com/downloads`) and VDM reads the page and lists the links on it, as the browser's **Download all links** does, in a package named after the page. The page itself is left unticked. This works for addresses that came on their own (pasted, copied, typed, in a list), not for the links found on a page, so VDM never wanders off through a site. VDM reads only what the page itself holds: links a page's scripts add after it loads come only through the browser.
- **A folder.** Paste or copy the address of an `ftp://` folder (`ftp://ftp.example.org/pub/`) or of the page a web server makes of a folder ("Index of /pub/"), and VDM lists every file in it and in its subfolders, each folder's files in a package of their own. See [Folders](#folders).
- **A Hugging Face model or dataset, a GitHub release.** Paste the address of a model or dataset on Hugging Face, of a folder in one, or of a release on GitHub, in **Add URL** or here, and VDM lists every file in it, with its size and folder. See [Models, datasets and releases](#models-datasets-and-releases).
- **A Google Drive folder.** Paste a shared folder's link (`https://drive.google.com/drive/folders/…`) in **Add URL** or here, or right-click it in the browser and choose **Download with Volt Download Manager**, and VDM lists every file in it and in its subfolders. See [Google Drive folders](#google-drive-folders).
- Przyciski **Click'n'Load** na stronach z linkami, po włączeniu tej funkcji. Zobacz [Click'n'Load](#clicknload).

A magnet link shows as **Magnet link** and isn't looked up: once you click **Start** or **Add to queue**, VDM finds the torrent's files and adds it with all of them, in the package's folder (or the **Torrents** folder when the package has none).

Łącza, które pojawią się, gdy okno jest otwarte, dołączają do już znajdujących się w nim. To samo łącze nie jest dodawane do okna dwukrotnie. Łącze, które jest już na liście pobierania, pojawia się w sekcji **Już na liście** i nie jest zaznaczone.

## Pakiety

Każdy pakiet to wiersz, który można otworzyć i zamknąć (klikając jego strzałkę, klikając go dwukrotnie lub naciskając **Right** i **Left**). Zaznaczenie pakietu zaznacza wszystkie jego łącza; pole pakietu jest częściowo zaznaczone, gdy zaznaczono tylko niektóre łącza.

- **Woluminy jednego archiwum** (`movie.part1.rar`, `movie.part2.rar`… lub `backup.7z.001`, `backup.7z.002`…) tworzą jeden pakiet o nazwie takiej jak archiwum, o ile pochodzą z tej samej witryny.
- **Pozostałe łącza jednej strony** tworzą pakiet nazwany tak jak strona.
- **Wszystkie pozostałe łącza** trafiają do **Różne pliki**.
- **Linki spakowane przez witrynę** (Click'n'Load) zachowują pakiety i nazwy witryny, wraz z hasłem do archiwum, jeśli witryna je podała.
- **Pliki folderu** tworzą pakiet dla każdego folderu, nazwany jego imieniem, którego **Zapisz w** zachowuje drzewo folderu (zobacz [Foldery](#folders)).
- **Pliki modelu, zbioru danych lub wydania** tworzą jeden pakiet, którego **Zapisz w** zachowuje ich foldery (zobacz [Modele, zbiory danych i wydania](#models-datasets-and-releases)).

## Foldery

Podaj Link grabberowi adres folderu, tak jak podajesz adres strony: wklej go za pomocą **Ctrl+V**, skopiuj go dla **Zadania → Dodaj pobieranie wsadowe ze schowka**, umieść go na liście dla **Zadania → Importuj** lub upuść go na listę pobierania.

- **An FTP folder**: an `ftp://`, `ftpes://` or `ftps://` address that ends in `/` (`ftp://ftp.example.org/pub/`). VDM logs in as it does for a download from that address (its user name and password, else your Sites Logins, else as anonymous) and asks the server for the folder's list. Each file comes with the size the server lists, so it isn't looked up again.
- **A web server's folder listing**: the page Apache, nginx, IIS and other servers make of a folder without its own page, titled **Index of /pub/** (or **Directory listing for /pub/**). VDM recognizes it, so it reads the folder instead of listing the page's links.

Link grabber wyświetla następnie każdy plik w folderze i w jego podfolderach. Pliki każdego folderu są pakietem nazwanym jego imieniem, a jego **Zapisz w** to ten folder w Twoim folderze pobierania (**Opcje → Zapisz w**), więc drzewo jest zachowane: `ftp://ftp.example.org/pub/iso/disc.iso` trafia do `Downloads\pub\iso\disc.iso`. Zaznacz, co chcesz; **Ukryj strony internetowe** i pola pakietów działają tak samo jak w przypadku innych łączy.

**Options → Archives and Link grabber → Folders: 3 levels deep, types: ...** sets how far VDM goes and what it keeps:

- **Poziomy głębokości**: ile poziomów podfolderów jest odczytywanych, domyślnie 3, maksymalnie 10. 0 wyświetla tylko pliki samego folderu.
- **Typy**: tylko pliki tych typów, zapisane tak, jak na stronie **Typy plików** (`ISO ZIP R0*`). Puste (domyślnie) zachowuje każdy typ.

VDM stays inside the folder you gave. It never goes up to the folder above (`../`), never onto another site, never through a link the listing makes to somewhere else, and an FTP folder's links to other folders (symbolic links) aren't followed. A name that isn't a plain file or folder name (one with `/` or `\` in it, `..`) is left out. One folder lists at most 10,000 files, and VDM reads at most 500 folders for it; past that, the window's **Source** line says the folder was listed only in part (**pub: only its first 10000 files**).

Foldery są odczytywane tylko z włączoną opcją **Wyszukuj łącza po ich nadejściu** (domyślnie), tak jak strony internetowe. Adres FTP bez końcowego `/` jest traktowany jako plik.

## Modele, zbiory danych i wydania

Wklej jeden z tych adresów w **Dodaj URL** (**Ctrl+N**) lub w Link grabberze za pomocą **Ctrl+V** (skopiowany, zaimportowany lub upuszczony również działa):

- **Model lub zbiór danych z Hugging Face**: `https://huggingface.co/<owner>/<name>` lub `https://huggingface.co/datasets/<owner>/<name>`, całe repozytorium.
- **Folder jednego z nich**, w gałęzi, tagu lub commicie: adres strony folderu, `https://huggingface.co/<owner>/<name>/tree/<revision>/<folder>`.
- **Wydanie z GitHub**: `https://github.com/<owner>/<repo>/releases/tag/<tag>` lub `…/releases/latest` dla najnowszego. Tag bez wydania wyświetla jego kod źródłowy.

VDM asks the site's public API for the list of files and opens Link grabber with all of them in one package: each file with its size and the folder it is in, **unticked**, so you tick only what you need (the package's box ticks them all). Its **Save to** is the address's path under your download folder (**Options → Save to**), and each file keeps its folder inside it: `onnx/model.onnx` of `huggingface.co/org/tiny` goes to `Downloads\org\tiny\onnx\model.onnx`, a dataset's files under `Downloads\datasets\…`, a release's under `Downloads\<owner>\<repo>\<tag>`. A folder of a repository keeps its place in it (`org\tiny\onnx\…`), so files you take later from another folder land beside it. **Start** or **Add to queue** adds them as one group, with one summary when the last is done.

- **Checked against the site's digest.** Hugging Face publishes a SHA-256 for each large file, GitHub for each release file. VDM checks the finished file against it, as **Verify checksum** does; a file that doesn't match stays unfinished and says so (**the file's SHA-256 checksum doesn't match**), and **Redownload** fetches it again. Small files kept in the repository itself, and a release's source code, have no digest of their own to check.
- **Jedna wersja.** Pliki repozytorium są pobierane z commita, na który wskazywała jego gałąź lub tag w momencie ich listowania, więc gałąź, która przesuwa się podczas pobierania, nigdy nie miesza dwóch wersji.
- **Straight from the sites.** Files come from Hugging Face's and GitHub's own servers, never through a mirror, through VDM's own connections, speed limits and proxy, like any download.
- **Modele z bramką.** Repozytorium, którego pliki wymagają akceptacji warunków, pobiera się za pomocą tokenu dostępu Hugging Face: zaakceptuj warunki na jego stronie, utwórz token w ustawieniach Hugging Face i dodaj go w **Opcje → Loginy do witryn** z witryną `huggingface.co`, dowolną nazwą użytkownika i tokenem jako hasłem. Jest on przechowywany z innymi hasłami w systemowym pęku kluczy i wysyłany tylko do `huggingface.co`, nigdy do serwerów, z których wysyła pliki. Linia Źródło informuje, gdy repozytorium z bramką nie ma jeszcze tokenu.
- **Limity.** Obie witryny przepuszczają tylko określoną liczbę żądań z komputera bez konta (GitHub 60 na godzinę). Po osiągnięciu limitu wiersz adresu wyświetla **Spróbuj ponownie później**, a jego podpowiedź informuje, na jak długo.

To, co mówi lista witryny, jest sprawdzane przed użyciem: plik, którego ścieżka prowadziłaby poza jego folder (`..`, ścieżka bezwzględna, litera dysku, nazwa urządzenia, taka jak `CON`), jest pomijany, a linia Źródło zlicza je. Dla jednego adresu listowanych jest maksymalnie 10 000 plików. Foldery są odczytywane tylko z włączoną opcją **Wyszukuj linki po ich otrzymaniu** (domyślnie).

## Google Drive folders

Paste a shared folder's link, the one Drive's **Share → Copy link** gives (`https://drive.google.com/drive/folders/…?usp=sharing`), in **Add URL** (**Ctrl+N**) or in Link grabber with **Ctrl+V**. VDM reads the folder's page, the one your browser opens, and its subfolders' pages, one after the other, and opens Link grabber with all their files in one package, **ticked**, each with its name and size and the subfolder it is in. Its **Save to** is a folder of the Drive folder's name under your download folder (**Options → Save to**), and each file keeps its subfolders inside it: `Day 2/hills.jpg` of a folder named `Holiday photos` goes to `Downloads\Holiday photos\Day 2\hills.jpg`. **Start** or **Add to queue** adds them as one group, with one summary when the last is done.

- **Each file as a single Drive file.** Every file downloads the way a Drive file's own link does ([Google Drive links](https://vdm.mikaillab.com/pl/help/adding-downloads.html#google-drive-links)): from Google's own servers, through VDM's connections, speed limits and proxy, past the **can't scan this file for viruses** page as **Download anyway** does. When Drive refuses one (too many downloads lately, a sign-in needed, no access), that file says so in its row, and the others go on.
- **Google Docs, Sheets and Slides** come as Word (`.docx`), Excel (`.xlsx`) and PowerPoint (`.pptx`) files, Drawings as `.png`; their size shows once they are looked up. **Forms, shortcuts and Sites** aren't files: they are left out, and the Source line says how many.
- **Folders shared with your account only.** Sign in to Google in your browser, right-click the folder's link there and choose **Download with Volt Download Manager**: the browser add-on passes your Google sign-in with it, and VDM uses it for the folder's pages and its files, on Google Drive only. Pasted without one, the folder's row says **Needs a sign-in**.
- **50 items a folder.** Drive's page lists a folder's first 50 items, so a folder (or a subfolder) with more shows only 50 of them. The Source line says so when a folder shows 50; Drive's own **Download** on the folder gets all of it, as a zip, which the browser add-on hands to VDM.
- **Names.** Drive lets a name hold characters a disk doesn't take (`a/b`, `x:y`) or be a Windows device's name (`CON`); VDM makes them plain names (`a_b`, `x_y`, `_CON`), as for any download. A name that is only dots (`..`) is left out, and the Source line counts it. A file's address is made from its Drive ID, never taken from the page.

## Click'n'Load

Many link sites have a **Click'n'Load** button that sends their links straight to a download manager on your computer, as JDownloader's documentation for web sites describes. Turn it on in **Options → Archives and Link grabber → Accept Click'n'Load from web pages** (off by default). VDM then listens on port 9666 of this computer only, and the links a page sends open in Link grabber, with the page's package name and archive password.

Any web page can send links there, not only the link site you are on, so VDM is careful with them:

- **The first time a site sends links, VDM asks**: **Allow** (that site's links go to Link grabber from now on), **Block** (they never do), or **Not now** (these links are dropped, and the site is asked again next time). The site is the one your browser names, never what the page claims. When the browser names none (a page that hides where it is, or one inside a sandboxed frame), the window says **An unknown site**: it is asked about every time, and its answer is never kept. Turning Click'n'Load off forgets the answers.
- **Linki wysłane przez stronę nie są wyszukiwane**: Link grabber wyświetla je jako **Nie wyszukano**, i żadne żądanie nie jest dla nich wysyłane, z Twoimi loginami do witryn lub kontami debrid, dopóki nie dodasz ich do kolejki. Nic nie jest pobierane przedtem.
- **Links to this computer or your network are left out**: a link to `localhost`, to a private or link-local address (`192.168.…`, `10.…`, `172.16.…`, `169.254.…`, their IPv6 kin), or to a name without a dot or under `.local`, `.lan` or `.internal` never reaches Link grabber. A link site's files aren't there, and such an address could be your router or another device. VDM judges the address as written: a public-looking name that points into your network isn't recognized, so look at a package before you add it.
- **Limits**: at most 10 posts a minute from one site, 500 links and 256 KB a post; more is refused, and one site's posts don't use up another's. At most 20 posts wait for an answer. A site brings VDM's window to the front at most once a minute; its links still arrive in Link grabber in between.
- Własny adres strony nie jest wysyłany jako referer linków: strona może podać dowolny.
- **VDM doesn't say it is JDownloader.** Some sites first ask whether JDownloader is running (a script named `jdcheck.js`) and show their button only then. VDM doesn't answer that question, so such a site may say no program was found; a site that simply sends its form works.
- Only one program can listen on port 9666. If JDownloader is running, VDM says so: close it, then turn the option off and on again.
- A button that sends a DLC container instead of links isn't taken: reading one needs a key VDM can't use. The site's plain links, or its Click'n'Load button, are the way.
- Some sites hide the key in a script VDM doesn't run (only the plain form the documentation shows is read): then their button reports a failure, and the site's plain links are the way.

## Sprawdzanie łączy

As links arrive, VDM asks each server about its file, as IDM's **Download all links** does. A few links are checked at a time, and only a few from any one site. Each link then shows its real name and size, and a status:

- **Online**: serwer udostępnia plik.
- **Offline (404)**: serwer nie udostępnia pliku. Łącze nie jest zaznaczone.
- **Wymaga logowania**: serwer żąda nazwy użytkownika i hasła lub plików cookie strony.
- **Zajęty, spróbuj później**: serwer prosi o odczekanie.

Turn the look-ups off in **Options → Archives → Look links up when they arrive**. Some file hosts count a look-up as a download. With the look-ups off, VDM asks nothing of the network until you start, so a web page's address isn't read for its links either.

**Ukryj strony internetowe** (domyślnie włączone) pomija linki do stron (`.html`, `.php` i podobne, oraz wszelkie linki, których sprawdzenie wykryło stronę internetową): nie są one ani wyświetlane, ani pobierane.

**Ukryj obrazy znajdujące się na tej stronie internetowej** pomija obrazy znalezione przez przeglądarkę i wyświetlone na stronie (jej obrazy, w największym rozmiarze, jaki strona podaje dla każdego), więc lista zawiera łącza do strony. Jest ona zaznaczana ponownie za każdym razem, gdy łącza do strony zawierają takie obrazy, i nie jest zapamiętywana: odznacz ją, aby zobaczyć obrazy i zaznacz te, które chcesz; gdy jest zaznaczona, nie są one ani wyświetlane, ani pobierane. Łącze do obrazu (miniatura prowadząca do jego pełnego rozmiaru) jest łączem jak każde inne i zawsze się wyświetla, nawet jeśli ten sam obraz jest również wyświetlany na stronie.

## Pole pakietu

Pole pod listą służy do edycji wybranego pakietu:

- **Nazwa**: nazwa pakietu, przechowywana wraz z jego pobranymi plikami.
- **Zapisz w**: folder, do którego trafiają pliki z pakietu. Gdy pakiet zawiera pliki różnych typów, w polu pojawia się **Folder kategorii każdego pliku**: każdy plik trafia do folderu przypisanego do jego kategorii (**Opcje → Zapisz w**), tak jak dotąd działała funkcja Importuj.
- **Hasło**: hasło do archiwów, jeśli je mają. Jest ono przechowywane tylko w pamięci i nigdy nie jest zapisywane samodzielnie: aby zachować je dla innych pakietów, dodaj je do [haseł archiwów](#archive-passwords).
- **Wyodrębnij po zakończeniu**: zaznaczane automatycznie, gdy pakiet zawiera archiwum.
- **Usuń archiwa po wyodrębnieniu**: po wyodrębnieniu archiwa trafiają do Kosza (na macOS i Linux).

## Dodawanie łączy

- **Rozpocznij** dodaje zaznaczone łącza do **Głównej kolejki pobierania** i uruchamia kolejkę. Pobiera tyle plików naraz, ile pozwala kolejka.
- **Dodaj do kolejki** dodaje je do **Głównej kolejki pobierania** bez ich uruchamiania, tak jak robi to import IDM.
- **Anuluj** zamyka okno i niczego nie dodaje.

## Wyodrębnianie archiwów

VDM itself extracts zip archives (AES-encrypted and Deflate64 ones too), tar, tar.gz and tar.xz archives, and single `.gz` and `.xz` files.

**7z and RAR archives need 7-Zip**, a free program ([7-zip.org](https://www.7-zip.org/)). VDM runs it when it is installed, for split and encrypted archives too. RAR's own extraction code can't be part of a free program like VDM, and 7-Zip extracts 7z best.

**Options → Archives** says whether 7-Zip was found. Without it, a 7z or RAR archive isn't extracted, and the **7-Zip needed** window says so, with a **Get 7-Zip** button. On Linux, install your distribution's `7zip` (or `p7zip`) package: VDM finds `7zz`, `7z` or `7za` on its own.

Another archiver built on 7-Zip does as well, so there is no need for a second copy. On Windows VDM finds the 7-Zip that **PeaZip** brings with it (`PeaZip\res\bin\7z\7z.exe` in Program Files) and **NanaZip**'s command line (`NanaZipC.exe`) by itself, after 7-Zip's own folders. For any other, such as a portable copy or one installed for your user only, press **Use another program...** in **Options → Archives** and choose its 7-Zip command line program: `7z.exe`, `7za.exe` or `7zz`, not the archiver's own window. VDM runs it once to see that it answers as 7-Zip, then uses it for 7z and RAR archives, with the same arguments as always. **Find 7-Zip automatically** goes back to the one VDM finds, which is also used if the chosen program is removed.

### Na miejscu, z HatchZip

[HatchZip](https://hatchzip.dev) is another free extractor (MIT or Apache-2.0), optional. VDM uses its command line program, `hatchzip`, when it is on the PATH (its installers and packages put it there; the desktop app alone isn't enough):

- **Options → Archives → Extract in place with HatchZip** (off by default): HatchZip removes the archive while its files come out, so a 180 GB download that unpacks to 200 GB needs a little over 200 GB, not 380 GB. It reads zip, 7z, RAR and tar archives, split ones too; single `.gz` and `.xz` files are still extracted by VDM. A solid RAR archive can't be extracted in place (HatchZip says so before it changes anything): VDM then extracts it as usual, with 7-Zip, and keeps the archive. HatchZip's own release builds read RAR; a build from crates.io doesn't.
- Zanim cokolwiek zmieni, HatchZip sprawdza, czy pliki pasują i weryfikuje hasło. Brak lub błędne hasło, albo za mało miejsca, niczego nie zmienia: dziennik o tym informuje, a okno **Hasło archiwum** pyta jak zwykle. Hasło jest przekazywane do HatchZip poprzez jego środowisko, nigdy w wierszu poleceń.
- Pliki trafiają tam, gdzie wskazuje **Gdzie trafia zawartość archiwum**, tak jak przy każdym innym wyodrębnianiu. Po drodze znajdują się w folderze o nazwie `<archive>.hatchzip-out` obok archiwum.
- If it stops partway (VDM closed, the download deleted, the disk filled by something else), the files extracted so far stay in that folder and the rest is still in the archive. **Extract** continues where it stopped, even with the option off: only HatchZip can finish such an archive. VDM continues only a run it started itself (it keeps a note of it in its own data): a HatchZip progress file (`<archive>.hatchzip`) that comes with a download or a torrent starts nothing, and that archive is extracted as usual.
- Nothing HatchZip extracted is ever deleted, those files are no longer in the archive. Entries VDM leaves out (links, names leading outside the folder) stay in that folder, and so do the files a failed move couldn't put in place (a file held open by another program); the log says where. So after an extraction in place, a link an archive held that VDM considers unsafe is still in your download folder, inside `<archive>.hatchzip-out`: it is never followed or moved, but it isn't removed either, as it is by every other extraction. Look at what is left in that folder before you open it.
- **Następnie przenieś archiwa do Kosza** nie ma nic do przeniesienia: archiwum już zniknęło.
- Archiwa 7z i RAR nadal wymagają 7-Zip, gdy opcja jest wyłączona.

Archiwum jest wyodrębniane:

- gdy jego pakiet ma zaznaczoną opcję **Wyodrębnij po zakończeniu**,
- gdy opcja **Opcje → Archiwa → Wyodrębnij archiwa po zakończeniu pobierania** jest włączona (domyślnie wyłączona) dla każdego innego pobierania,
- gdy klikniesz prawym przyciskiem myszy na ukończonym archiwum i wybierzesz **Wypakuj**.

Podzielone archiwum jest wypakowywane jednorazowo, po pobraniu ostatniego woluminu. Pliki trafiają obok archiwum:

- do folderu nazwanego tak samo jak archiwum, gdy zawiera ono kilka elementów na najwyższym poziomie (lub zawsze, lub nigdy: **Opcje → Archiwa**),
- istniejący już plik jest zachowywany, a nowy jest numerowany: `report (1).txt`.

Wypakowane pliki są oznaczane jako pochodzące z internetu, tak jak archiwum, więc system Windows nadal ostrzega przed uruchomieniem z nich programu.

VDM extracts safely. A name that would lead outside the folder is left out, and so is a link to somewhere else on the disk. An archive that would write far more than its size, or more than the disk has room for, stops before it fills it. When something goes wrong, nothing but the archive is left behind.

Dziennik pobierania (najedź na niego na liście) informuje, co się stało: **Wyodrębniono 12 plików do…**, lub dlaczego nie, na przykład **Nie można wyodrębnić movie.7z.001: brakuje tomu 3**. Każde archiwum jest najpierw próbowane bez hasła. Archiwum, które okazuje się zaszyfrowane, jest próbowane z hasłem pakietu, a następnie z każdym z zapisanych haseł (**Opcje → Archiwa → Hasła archiwów...**), w ich kolejności, więc archiwum, które nie wymaga hasła, nigdy ich nie spotyka. Dopiero gdy żadne nie pasuje, otwiera się okno **Hasło archiwum**. Wpisz hasło i kliknij **Wyodrębnij**, lub **Anuluj**, aby pozostawić archiwum w niezmienionym stanie. Zaznacz **Zapamiętaj dla innych archiwów** (domyślnie niezaznaczone), aby dodać je do zapisanych haseł. 7-Zip otrzymuje każde hasło na swoim wejściu, nigdy w wierszu poleceń, gdzie inne programy na komputerze mogłyby je odczytać.

### Hasła archiwów

**Options → Archives → Archive passwords...** keeps the passwords you use again and again (a site's own, say), one per line. The download's log says **Trying the saved archive passwords...** while VDM tries them. The one that opens an archive moves to the top of the list, so the passwords you need most are tried first. A package's password (one you typed in Link grabber, or one that came with the links) is tried first and never added to the list by itself; when it is one of your saved passwords already, it moves to the top like any other. A password typed in the **Archive password** window is added only with **Remember it for other archives** ticked, and only once it fits. The list is kept in the system's keychain, as the other passwords are (see [Where the sign-in is kept](https://vdm.mikaillab.com/pl/help/debrid.html#where-the-sign-in-is-kept)).

Każda próba rozpoczyna wyodrębnianie od nowa: przy długiej liście i dużym archiwum, którego nazwy plików nie są zaszyfrowane, znalezienie właściwego może zająć chwilę.

## Testowanie archiwów

A finished archive can still be broken: a server sent wrong bytes, or a proxy on the way mangled part of the file. It shows only when someone opens it, often much later. So VDM tests ZIP, 7z and RAR archives, split ones too once every volume is in, when their download completes: **Options → Archives → Test archives when their download completes** is on by default, up to 4 GB. A test reads the whole archive, so a larger one is tested only when you ask: right-click a finished archive and choose **Test archive**, whatever its size.

- The test is 7-Zip's (`7z t`, with the 7-Zip that **Options → Archives** names): every file in the archive is read back and checked, and nothing is written. Without 7-Zip, VDM tests ZIP archives itself; 7z and RAR archives aren't tested.
- Pobieranie jest uznawane za zakończone po zakończeniu testu. W międzyczasie lista pokazuje **Sprawdzanie 45%**, kolejka czeka na zakończenie testu, a okno **Pobieranie zakończone**, dźwięk i ekstrakcja następują po teście.
- Archiwum chronione hasłem nie jest testowane, ponieważ jego plików nie można odczytać bez hasła: w dzienniku pojawia się komunikat **Nie można przetestować photos.zip: wymaga hasła**. Nie są też testowane pliki tar, gz i xz.
- Uszkodzone archiwum ma status **Uszkodzone** na liście, w dzienniku są wymienione uszkodzone pliki, a okno **Uszkodzone archiwum** oferuje **Pobierz ponownie**: pobiera archiwum (każdy wolumin podzielonego archiwum) ponownie od początku. Nie jest ono automatycznie wyodrębniane; **Wyodrębnij** nadal próbuje to zrobić.
- A ZIP in one file is repaired instead, when VDM can tell where its damaged files are in it: their bytes alone are downloaded again, from the same server, and the archive is tested once more. The log says **Downloading the damaged parts again (1.20 MB)**, then **Tested again: the archive has no errors now**. The bytes come only from the same version of the file: VDM asks for them as it resumes any download (with the file's ETag or date, `If-Range`), and checks the bytes just before each part against the ones on disk. A file that changed on the server stops the download with **the file changed on the server** instead of mixing two versions: **Redownload** downloads the new one. An archive still damaged after that is offered for **Redownload**.
- Archiwa 7z i RAR przechowują swoje pliki w blokach, których miejsca w pliku test 7-Zip nie podaje, a woluminy podzielonego archiwum są osobnymi pobieraniami: są one testowane i oferowane do **Pobierz ponownie**, gdy są uszkodzone, nigdy nie są naprawiane częściowo.
- Podzielone archiwum (`photos.zip.001`, `photos.z01`, `notes.7z.001`, `movie.part1.rar`, `movie.r00`) jest testowane raz, od pierwszego woluminu, gdy wszystkie woluminy zostaną pobrane, niezależnie od tego, który z nich zakończy się ostatni. Jego woluminy często kończą się jeden po drugim (kolejka, która pobiera jeden plik naraz, host, który każe czekać między plikami), a te, które już są, są odczytywane jako skrócone archiwum, więc nie są testowane samodzielnie. **Testuj archiwum** na jeszcze nieukończonym podzielonym archiwum informuje o tym: **Nie przetestowano jeszcze: photos.zip.001 nie jest kompletny (wolumin 3 jeszcze nie jest dostępny)**.
- Closing VDM stops a test; the archive is tested again at the next start.

## Następne kroki

- [Dodawanie pobierania →](https://vdm.mikaillab.com/pl/help/adding-downloads.html)
- [Opcje → Archiwa →](https://vdm.mikaillab.com/pl/help/options.html#archives)
- [Integracja z przeglądarką →](https://vdm.mikaillab.com/pl/help/browser-integration.html)

## Powiązane

- [Dodawanie pobierania](https://vdm.mikaillab.com/pl/help/adding-downloads.html)
- [Integracja z przeglądarką](https://vdm.mikaillab.com/pl/help/browser-integration.html)
- [Run VDM on a server](https://vdm.mikaillab.com/pl/help/server.html)
- [Control VDM from your phone](https://vdm.mikaillab.com/pl/help/remote-control.html)

[Edytuj tę stronę na GitHubie](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/link-grabber.md) [Zgłoś problem z tą stroną](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20Link%20grabber%20and%20archives&page=https%3A//vdm.mikaillab.com/help/link-grabber.html) [Historia strony](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/link-grabber.md)

Darmowy, open source, bez reklam, bez wersji próbnej.

[Download Volt Download Manager](https://vdm.mikaillab.com/pl/download.html)
