topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday January 17, 2021, 7:11 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: URLplayer thread  (Read 423 times)

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 123
  • Call me Vic!
    • View Profile
    • PublicDomainGift.com
    • Read more about this member.
    • Donate to Member
URLplayer thread
« on: January 06, 2021, 10:39 PM »
Thread devoted to development of URLplayer.

Original threadDONE: Have list of URLs, and, in Chrome, manually load one, then next, etc.
Source codehttps://github.com/p...blicdomain/urlplayer
2021-01-07 versionAlpha
ImageURLplayer-alpha_2021-01-07.png
Made fornkormanik



Well, URLister is needed, and will be greatly appreciated.

Requests:

-- Allow copy/paste to get list of URLs entered.
-- Allow drag-into-window to get list of URLs entered.
-- Allow drag-to-program-icon (on desktop), and SendTo, to get list of URLs entered.
-- Allow option to open each URL into separate tabs, OR into just the first tab, overwriting what was there.
-- Allow program window option to STAY ON TOP of other windows (i.e, browsers)

That would be a good start.

Thanks for keeping this alive!

Nicholas Kormanik
New release: N.A.N.Y. 2021 Entry: URLister
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Doing server maintenance & coding TabLinks!
--Victor

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 456
    • View Profile
    • Donate to Member
Re: URLplayer thread
« Reply #1 on: January 07, 2021, 04:49 AM »
As I get into it, would you like to add:

- Global hotkeys (for moving to next URL using the keyboard).

Cheers!
Vic

Thanks a million, Vic.  Yes, it would be helpful to have a keyboard shortcut, if possible, to move on to the next URL.

In my particular case, I have been using a macro program (Macro Express) and Flem (Waterfox extension), and moving mouse cursor specifically to a little box (need screen coordinates), clicking in that little box, to move on to the next URL.  This all depends on the screen, window, staying exactly as it was when the macro was 'programmed.'  I was anticipating doing similarly with your program.

Having a keyboard shortcut to move on to the next URL would indeed make life easier.

Let's take a little example:

Below is a list of direct-link URLs for six pdf books I would like to download:

http://digamo.free.fr/salva03.pdf
https://repub.eur.nl...o-Krsmanovic-lr-.pdf
http://www.thebestof...s/thebestrecipes.pdf
http://finpko.facult...0Finance-II_2005.pdf
https://www.pdfdrive...;u=cache&ext=pdf
https://www.pdfdrive...;u=cache&ext=pdf

I find it best to make sure one book is fully downloaded before starting to download the next.  So, let's assume, I sit and wait.  Then click on tiny box "Next" as needed when the right time comes, for the next URL.  Again and again.  Until all books are downloaded.

(Uhhmmm....  What about 100 books?  Or 1000....)

(Actually, I assume the worst case, and build that into a macro -- say, two minutes per book.  Macro waits, then repeats.  Set that all rolling, while I sleep at night.  By morning, a folder full of new reading material, images, songs, whatever.)

Thanks!
Nicholas Kormanik

« Last Edit: January 07, 2021, 06:27 AM by nkormanik »

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 456
    • View Profile
    • Donate to Member
Re: URLplayer thread
« Reply #2 on: January 07, 2021, 07:18 AM »
An additional point is, in what form are the URLs.

In the example above, the six URLs are in a list.  A text list.  Text file.

What, though, if user has Windows desktop links, six little icons, shortcuts?, sitting on desktop.  Or in a folder.

In such case, how is the user supposed to get those desktop links into your program?

Probably difficult to code, but ideally the user could simply drag those six desktop links over into your program, and *shazam*, all links suddenly are transformed into a list.

(Wonder how many out there have folder after folder of such links, not even remembering what they would lead to.  Wouldn't it be terrific to drag a folder over into your program, generate a big list, and zip through to all sorts of various web pages long forgotten....)

Such a conversion functionality would be pretty significant.  Not at all readily found out there.

If the list could then be saved (.txt, or, huge bonus, .html), well, people might be downloading your program simply to have such easy link conversion.  Let alone the primary ability to load those links one after the other.




nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 456
    • View Profile
    • Donate to Member
Re: URLplayer thread
« Reply #3 on: January 13, 2021, 05:32 AM »
Number of lines appears limited.  Increase that by tenfold.

i.e., from roughly 300 --> 3000.


publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 123
  • Call me Vic!
    • View Profile
    • PublicDomainGift.com
    • Read more about this member.
    • Donate to Member
Re: URLplayer thread
« Reply #4 on: January 13, 2021, 01:58 PM »
Hi there Nick! Got your suggestions and all of them are doable (We're tackling them one by one in code).

BTW I believe the PDF download part is perfect for our upcoming "pdGet" downloader project; a web macro input module fits your requirement perfectly since button clicking is performed via direct/internal browser automation.

Chances are both URLplayer and pdGet move from alphas to first public betas in the next few releases (I'm free enough this month).

Do monitor this thread! You're the very first tester :)
:Thmbsup:
Vic
New release: N.A.N.Y. 2021 Entry: URLister
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Doing server maintenance & coding TabLinks!
--Victor

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 456
    • View Profile
    • Donate to Member
Re: URLplayer thread
« Reply #5 on: January 14, 2021, 04:22 AM »
Thanks much, Vic.  Another thing I noticed is that URLplayer does not yet allow for opening JUST ONE tab of the browser (in my case, Edge -- seemed Chrome was suddenly sort of misbehaving on various fronts...).  Instead, multiple tabs are being opened, one per URL.  Perhaps that's unavoidable.  Since I am downloading so many files, it would be necessary to have the option of just a single tab being repeatedly used.  (Possible with the Waterfox/Firefox extension Flem, now history...)

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 123
  • Call me Vic!
    • View Profile
    • PublicDomainGift.com
    • Read more about this member.
    • Donate to Member
Re: URLplayer thread
« Reply #6 on: January 15, 2021, 07:48 AM »
My pleasure! :)

it would be necessary to have the option of just a single tab being repeatedly used.

Just checking... would closing & re-launching browser with new URL suffice?

There's a bit more of a delay yet it's certain to use only one tab to save memory.

Cheers!
New release: N.A.N.Y. 2021 Entry: URLister
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Doing server maintenance & coding TabLinks!
--Victor

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 456
    • View Profile
    • Donate to Member
Re: URLplayer thread
« Reply #7 on: January 16, 2021, 02:45 AM »
Great, Vic.  Glad you are still game.

Probably users in general would not want to be reloading their browsers.  But, I don't have a problem with doing that.

Actually, a clever idea.

If unloading browser is accepted, URLplayer may be usable presently -- except for needing a much, much larger list allowance.

If I am orchestrating the whole works on my system, I can tell my macro program (presently MacroExpress) to unload the browser -- after, say, two minutes (to download a .pdf file).  After browser is unloaded, go back to URLplayer, and load the next URL in the list.  Which will fire up the browser again, and go to the subsequent page (or download the next pdf in line).

So, what we would have is a nice 'semi-automatic', with a really long clip.