Anthony Martin on 4 Nov 2016 11:31:58 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Packt downloading script update


Thats strange. Just replace the file with a new text file with the following:

requests
beautifulsoup4==4.5.1
future
wheel==0.24.0

Anthony Martin

Linux System Administrator


On Fri, Nov 4, 2016 at 1:56 PM, john boris <jborissr@gmail.com> wrote:
I think my problem is the requirements.txt file. It is an html file and when I try to do 

pip install -r requirements.txt

I get an error because the file is not a text file. I am new to git so when I click on the requirements.txt file I see four lines so I am not sure what is wrong. I will keep  looking into it and see what stupid thing I am doing wrong.

On Fri, Nov 4, 2016 at 1:35 PM, Anthony Martin <anthony.j.martin142@gmail.com> wrote:
At the top of the config file is the following:
[LOGIN_DATA]
password= yourpassword

replace the text after email= and password= with ur account info and also remember to remove the word template form the name of the file.

Anthony Martin

Linux System Administrator


On Fri, Nov 4, 2016 at 1:21 PM, john boris <jborissr@gmail.com> wrote:
Rich
I've tried to run this on a Ubuntu VM i have running but haven't got it working. Editing the config is a bit tough for me. I can't find where the login stuff needs to be edited.

On Tue, Nov 1, 2016 at 4:13 PM, Rich Mingin (PLUG) <plug@frags.us> wrote:
If you're also grabbing Packt Publishing's daily free ebook, and you don't have an automated setup, or if you're interested in starting to do so, I've found a better script. It's Python (either 2 or 3 works), config was very simple, it supports grabbing any or all formats and the code samples as well. You can also download all books you've previously grabbed, which was a big win for me.


I'm running it on my Linode via cron and it's nice and reliable.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug




--
John J. Boris, Sr.


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug



___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug




--
John J. Boris, Sr.


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug