Offline browsers & login passwords
#1
I have to take a course for my work and it's only available online.  - So all study materials are available only online

The Problem:

A. There are not enough hours in the day
B. I do not have Internet access where I work. (Cell phones are NOT allowed on premises)


My work provides me with a small computer.  So if I could download the entire site I could study on my dinner and breaks.

Problem is that the site requires that I login and that I use a password.  So the ofline browser won't download the entire site.

Does anyone know of a solution?
Reply
#2
If it's merely reading reading material you can 'save page as' or 'print to PDF' from your browser while online and logged in. If there are videos you need behind a login wall it gets more problematic, but doable
Reply
#3
(Oct 28, 2020, 23:03 pm)ill88eagle Wrote: If it's merely reading reading material you can 'save page as' or 'print to PDF' from your browser while online and logged in. If there are videos you need behind a login wall it gets more problematic, but doable

I'm behind a login wall.

Plus there are so many pages that I'll spend a fortune on printer ink.
Reply
#4
Printing to .pdf files requires zero ink - but if you find it a hassle to do it for each page you could try out HTTrack. It's been years since I fumbled with this software, but I'm pretty sure you can configure it to use your login for the site.

Edit: the attached 'test.pdf' demonstrates the print to pdf concept. In firefox I chose print, then print to file, then pdf and filename - that's all there is to it Smile


Attached Files
.pdf   test.pdf (Size: 307.6 KB / Downloads: 3)
Reply
#5
(Oct 29, 2020, 06:57 am)ill88eagle Wrote: Printing to .pdf files requires zero ink - but if you find it a hassle to do it for each page you could try out HTTrack. It's been years since I fumbled with this software, but I'm pretty sure you can configure it to use your login for the site.

Edit: the attached 'test.pdf' demonstrates the print to pdf concept. In firefox I chose print, then print to file, then pdf and filename - that's all there is to it Smile

that's still a lot of individual pages to save.   (Is there a bulk way to do this? )

I've been playing with HTTrack and there doesn't seem to be a way to make it work past the login wall.

Arggh... my problems are minor but they're all a pain in the neck
Reply
#6
(Oct 29, 2020, 12:31 pm)soulcity Wrote: that's still a lot of individual pages to save.   (Is there a bulk way to do this? )

I've been playing with HTTrack and there doesn't seem to be a way to make it work past the login wall.

Arggh... my problems are minor but they're all a pain in the neck

Have a look here:

https://www.httrack.com/html/faq.html#Q1c Wrote:Q: I can not access several pages (access forbidden, or redirect to another location), but I can with my browser, what's going on?
A: You may need cookies! Cookies are specific data (for example, your username or password) that are sent to your browser once you have logged in certain sites so that you only have to log-in once. For example, after having entered your username in a website, you can view pages and articles, and the next time you will go to this site, you will not have to re-enter your username/password.
To "merge" your personnal cookies to an HTTrack project, just copy the cookies.txt file from your Netscape folder* (or the cookies located into the Temporary Internet Files folder for IE*) into your project folder (or even the HTTrack folder)

*wherever your particular browser stores its cookies

I'm sure it would be simple to script a bulk .pdf website copier - but the issue is getting behind the login wall. Your best bet is with HTTrack.
Reply
#7
wget is still a king at this. Unfortunately it is a command line tool.
Reply
#8
(Oct 29, 2020, 16:00 pm)ill88eagle Wrote: Have a look here:

https://www.httrack.com/html/faq.html#Q1c Wrote:Q: I can not access several pages (access forbidden, or redirect to another location), but I can with my browser, what's going on?
A: You may need cookies! Cookies are specific data (for example, your username or password) that are sent to your browser once you have logged in certain sites so that you only have to log-in once. For example, after having entered your username in a website, you can view pages and articles, and the next time you will go to this site, you will not have to re-enter your username/password.
To "merge" your personnal cookies to an HTTrack project, just copy the cookies.txt file from your Netscape folder* (or the cookies located into the Temporary Internet Files folder for IE*) into your project folder (or even the HTTrack folder)

*wherever your particular browser stores its cookies
OK..

But I think the last time I used Netscape I was 5 years old
right now I've got firefox and chrome.
(Oct 29, 2020, 17:44 pm)Moe Wrote: wget is still a king at this.  Unfortunately it is a command line tool.


Is it complicated?
Reply
#9
(Oct 30, 2020, 13:00 pm)soulcity Wrote: OK..

But I think the last time I used Netscape I was 5 years old
right now I've got firefox and chrome.

That was why I wrote

(Oct 29, 2020, 16:00 pm)ill88eagle Wrote: *wherever your particular browser stores its cookies

What you need to do, step by step:
Log into your website while online (duh)
Copy your browsers cookies into your HTTrack project folder
Tell HTTrack to start saving pages
Hope it werks

Where your cookies are stored depends on your browser and your OS. I can tell you where firefox stores it's cookies on linux but it wont help you much.

A few answers to the cookie location question that might be helpful:

https://support.mozilla.org/en-US/questions/904767 Wrote:Cookies are stored in the cookies.sqlite file in the Firefox profile folder.

https://stackoverflow.com/questions/3102...re-cookies Wrote:Google Chrome uses an SQLite file to save cookies. It resides under:

C:\Users\<your_username>\AppData\Local\Google\Chrome\User Data\Default\

inside Cookies file. (which is an SQLite database file)

And another one: https://www.digitalcitizen.life/cookies-...windows-10

(Oct 30, 2020, 13:00 pm)soulcity Wrote:
(Oct 29, 2020, 17:44 pm)Moe Wrote: wget is still a king at this.  Unfortunately it is a command line tool.
Is it complicated?

The complicatedness of command line tools comes from the user being used to a GUI. Are you comfortable running a typed in command from your msdos shell (or linux terminal) with options and flags?
Reply
#10
(Oct 30, 2020, 13:00 pm)soulcity Wrote:
(Oct 29, 2020, 17:44 pm)Moe Wrote: wget is still a king at this.  Unfortunately it is a command line tool.


Is it complicated?


It can be a bit daunting to start if you aren't familiar with command line tools, but if you spend a little time with it you will likely get the hang of using it.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Login Problem HoangFPS 2 4,385 Sep 20, 2023, 01:31 am
Last Post: kron
  How do login to The Pirate Bay ?? BigHat 3 7,519 Nov 13, 2022, 10:15 am
Last Post: RodneyYouPlonker
  WarezBB is Offline Again don_edwards 1 10,200 Jan 12, 2020, 04:36 am
Last Post: RobertX
  Login Polemistis_23 1 10,391 Aug 14, 2014, 20:28 pm
Last Post: stormium
  Login failed (2), check username and password. 1 10,471 Jul 08, 2014, 01:45 am
Last Post: Spud17



Users browsing this thread: 2 Guest(s)