topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 12, 2024, 7:07 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: IDEA: URL link updater  (Read 6616 times)

magician62

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 180
    • View Profile
    • Donate to Member
IDEA: URL link updater
« on: February 18, 2022, 04:56 AM »
I have in the past created local URL shortcuts to IMDB for some of the old movies I enjoy.

I would like to update them as newer links are in a slightly different format, which has become a bigger issue when you find some of those older titles were used in more than one year.

For example

The actual URL remains the same, but the descriptive has changed

Roll on Texas Moon - IMDb
http://www.imdb.com/title/tt0038889/

is now

Roll on Texas Moon (1946) - IMDb
http://www.imdb.com/title/tt0038889/

I haven't found anything through a google search.

Ideally any util must handle bulk from different folders.
Preferably drag and drop.

Though saying that what issue would there really be in updating a new format to a new format. :)

I guess the util would go to the existing destination
Delete existing link
Create new link from destination.

Or just update the existing link.

Thanks in advance
Why an I Magician62? Because Magician1 thru 61 were gone. :)

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 736
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: IDEA: URL link updater
« Reply #1 on: February 18, 2022, 04:13 PM »
Ideally any util must handle bulk from different folders.
Preferably drag and drop.

Got it! Added to February releases & repo open @ https://github.com/publicdomain/uprl :)

I take it you also want a checkbox/option for updated filename to match the new title, correct?

Cheers!
My name's Victor but do feel free to call me Vic! (now known as "paradisusvic")

❤️ Support on Patreon @ www.patreon.com/paradisusis
New Email/Paypal: paradisusvicgmail.com

magician62

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 180
    • View Profile
    • Donate to Member
Re: IDEA: URL link updater
« Reply #2 on: February 18, 2022, 06:27 PM »
I take it you also want a checkbox/option for updated filename to match the new title, correct?

The main purpose is to update the filename, so a checkbox is probably unnecessary, as the URL doesn't change except...

I found earlier some of my links were to "also known as" titles link. So the URL included "akas." An option to strip that might be good as the old links are dead. :) I have looked at skwire's SCURLed to fix those, but at present it doesn't seem to work..

Once I have the right name/year to click, if it took me to the obsolete akas link, it is only a couple of clicks to fix.
Why an I Magician62? Because Magician1 thru 61 were gone. :)

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 736
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: IDEA: URL link updater
« Reply #3 on: February 22, 2022, 09:44 AM »
Got it! First release comes out in the next following days to close February :Thmbsup:

(As every first release, it's malleable, so we can work on it until the program suits you perfectly :) Cheers!)
My name's Victor but do feel free to call me Vic! (now known as "paradisusvic")

❤️ Support on Patreon @ www.patreon.com/paradisusis
New Email/Paypal: paradisusvicgmail.com

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 736
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: IDEA: URL link updater
« Reply #4 on: February 28, 2022, 03:48 AM »
UpRL v0.1.0 (ALPHA 2022-02-08):

UpRL_v0-1-0.png

Direct download: UpRL_v0-1-ALPHA20020228-0.zip

GitHub release: https://github.com/publicdomain/uprl/releases/tag/v0.1-ALPHA20220228.0

It has drag & drop support (from Windows Explorer to list box).

This is an ALPHA/pre-release. Please test & report back!
My name's Victor but do feel free to call me Vic! (now known as "paradisusvic")

❤️ Support on Patreon @ www.patreon.com/paradisusis
New Email/Paypal: paradisusvicgmail.com
« Last Edit: February 28, 2022, 03:56 AM by publicdomain »

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 736
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: IDEA: URL link updater
« Reply #5 on: March 13, 2022, 04:29 PM »
My name's Victor but do feel free to call me Vic! (now known as "paradisusvic")

❤️ Support on Patreon @ www.patreon.com/paradisusis
New Email/Paypal: paradisusvicgmail.com

magician62

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 180
    • View Profile
    • Donate to Member
Re: IDEA: URL link updater
« Reply #6 on: May 04, 2022, 02:51 AM »
Hi Vic,

I finally got around to trying it, and it didn't seem to work. Well it did, but I didn't know it.

Part of the issue is I just found that some of the links I was testing were to the old aka subdomain, which is now obsolete

http://akas.imdb.com/title/tt0038889/

I don't know if there is a way to fix that as in insert "www" in place of "akas" at the same time, or at least accommodate it in the process, so the title gets fixed?


The only other issue is with "symbols in a name".

For example

It's

becomes

It's

Regards John
Why an I Magician62? Because Magician1 thru 61 were gone. :)

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 736
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: IDEA: URL link updater
« Reply #7 on: May 04, 2022, 02:32 PM »
Hi John! Thanks for your report. It's all fixable! :Thmbsup:

- Regular expressions for URL transformation.
- HTML decode for title.

(Likely later this month... I'm still finishing some releases from April to publish our newsletter --It's been hectic but joyful!)

Cheers!
My name's Victor but do feel free to call me Vic! (now known as "paradisusvic")

❤️ Support on Patreon @ www.patreon.com/paradisusis
New Email/Paypal: paradisusvicgmail.com