topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday February 25, 2021, 4:14 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 1029 times)

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 138
  • Call me Vic!
    • View Profile
    • PublicDomainWeekly.com
    • Read more about this member.
    • Donate to Member
URLplayer thread
« on: January 06, 2021, 10:39 PM »
URLplayer.
Browse link lists, one website at a time.

Original threadDONE: Have list of URLs, and, in Chrome, manually load one, then next, etc.
Source codehttps://github.com/p...blicdomain/urlplayer
2021-02-01 version0.2.0
Imageurlister_v0-2-0.png
Made fornkormanik

Download: https://www.dcmember...oad/urlister-v0-2-0/



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
Latest release: AppFolderIcon v0.1.0
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Coding URLister v0.3.0, Holy Stop v0.1.0, AppFolderIcon v0.2.0
--Victor
« Last Edit: February 01, 2021, 10:12 PM by publicdomain »

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 466
    • 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: 466
    • 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: 466
    • 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: 138
  • Call me Vic!
    • View Profile
    • PublicDomainWeekly.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
Latest release: AppFolderIcon v0.1.0
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Coding URLister v0.3.0, Holy Stop v0.1.0, AppFolderIcon v0.2.0
--Victor

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 466
    • 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: 138
  • Call me Vic!
    • View Profile
    • PublicDomainWeekly.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!
Latest release: AppFolderIcon v0.1.0
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Coding URLister v0.3.0, Holy Stop v0.1.0, AppFolderIcon v0.2.0
--Victor

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 466
    • 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.

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 138
  • Call me Vic!
    • View Profile
    • PublicDomainWeekly.com
    • Read more about this member.
    • Donate to Member
Re: URLplayer thread
« Reply #8 on: January 24, 2021, 09:59 AM »
Great, Vic.  Glad you are still game.

Always happy to assist! :)

If unloading browser is accepted, URLplayer may be usable presently

Sweet! Browser closing is programmed (Source: MainForm.cs).

I'm adding some more code to publish new release (save settings, open/import URL file, always on top).

except for needing a much, much larger list allowance.

Default MaxLength limit is addressed now.

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.

Hope we can make things easier on your end.

Thanks for working along Nick! It helps improve our software which in turn helps other fellows around :Thmbsup:

Vic
Latest release: AppFolderIcon v0.1.0
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Coding URLister v0.3.0, Holy Stop v0.1.0, AppFolderIcon v0.2.0
--Victor
« Last Edit: January 24, 2021, 10:25 AM by publicdomain »

publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 138
  • Call me Vic!
    • View Profile
    • PublicDomainWeekly.com
    • Read more about this member.
    • Donate to Member
Re: URLplayer thread
« Reply #9 on: February 01, 2021, 10:14 PM »
URLister v0.2.0:

urlister_v0-2-0.png

Download page: https://www.dcmember...oad/urlister-v0-2-0/
Latest release: AppFolderIcon v0.1.0
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Coding URLister v0.3.0, Holy Stop v0.1.0, AppFolderIcon v0.2.0
--Victor

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 466
    • View Profile
    • Donate to Member
Re: URLplayer thread
« Reply #10 on: February 02, 2021, 05:24 AM »
Nice, Vic.  Coming along!

Enhancement Requests:

-- Allow .txt list of bookmarks to be dragged to URLister icon, to automatically open into program.

-- Allow .htm/.html list of bookmarks to be dragged to URLister icon, to automatically open into program.

The above two items will allow URLister to be placed into the SendTo folder as well.

-- Allow .txt list of bookmarks to be dragged to URLister opened program window to open.

-- Allow .htm/.html list of bookmarks to be dragged to URLister opened program window to open.

Copied and pasted a list of URLs into program okay.

Received the following error message:

Error.pngURLplayer thread

Thanks!










publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 138
  • Call me Vic!
    • View Profile
    • PublicDomainWeekly.com
    • Read more about this member.
    • Donate to Member
Re: URLplayer thread
« Reply #11 on: February 02, 2021, 06:03 AM »
Copied and pasted a list of URLs into program okay.

Good! New code at work :)

Received the following error message:

Holy potatoes! What's your exact Windows version?

Got it running on Win7:



(May need to fall back to previous launch code for v0.3.0 with your drag & drop additions)
Latest release: AppFolderIcon v0.1.0
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Coding URLister v0.3.0, Holy Stop v0.1.0, AppFolderIcon v0.2.0
--Victor

nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 466
    • View Profile
    • Donate to Member
Re: URLplayer thread
« Reply #12 on: February 02, 2021, 06:22 AM »
Excellent video.   Can't get clearer than that.

Windows 10 Pro, 20H2, 19042.746, Windows Feature Experience Pack 120.2212.1070.0

And presently using the new Edge browser.

But willing to use ANY browser with URLister.  Noticed the only option is "Default."  If user can insert in the .xml file their preferred browser (path, etc.), that would be sweet.




nkormanik

  • Participant
  • Joined in 2010
  • *
  • Posts: 466
    • View Profile
    • Donate to Member
Re: URLplayer thread
« Reply #13 on: February 03, 2021, 05:24 AM »
By the way, Vic, and others... I had asked about this functionality years ago.  One person that worked on it is at this link:

RegaLink

He, Stephen66515, did a pretty good job, until he stopped.  He left available his code for others to use if they wanted.


publicdomain

  • Moderator
  • Joined in 2019
  • *****
  • Posts: 138
  • Call me Vic!
    • View Profile
    • PublicDomainWeekly.com
    • Read more about this member.
    • Donate to Member
Re: URLplayer thread
« Reply #14 on: February 20, 2021, 12:52 PM »
Copied and pasted a list of URLs into program okay.

Received the following error message:

[ Invalid Attachment ]

Thanks!

Okay! the sure-fire solution is to have a file-browsing dialog for manual browser picking.

It gets added to next version for moving on from URLister this February to the original URLplayer program from March onward.

Cheers!
Latest release: AppFolderIcon v0.1.0
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Coding URLister v0.3.0, Holy Stop v0.1.0, AppFolderIcon v0.2.0
--Victor