themaManager
http://manager.themasoftware.com/forum/

Automated links replacement from .txt files.
http://manager.themasoftware.com/forum/viewtopic.php?f=3&t=7122
Page 1 of 1

Author:  ziggyzab [ December 23rd, 2019, 10:04 am ]
Post subject:  Automated links replacement from .txt files.

Is it possible, to have option for the application automatically/on schedule, without user interaction, check specific dir for a txt file with links in it, match those links to dead links it found on its scan, matching by filename and domain, and after it did match some, auto replace it in all posts, as its done normally, but all of this without the need for user interactions.

Author:  Freddy [ December 26th, 2019, 8:29 pm ]
Post subject:  Re: Automated / Scheduled auto link replacement.

At the moment no, but loading the file takes less than a minute to do.

Will think about this, but without any confirmation you might accidentally replace with wrong links.

Author:  ziggyzab [ December 26th, 2019, 9:25 pm ]
Post subject:  Re: Automated / Scheduled auto link replacement.

Yea, I would want it to replace with matching domain + by filename.

I want the process to be fully automated, to quickly replace dead files without users interaction. So far there havent been any mistakes with this matching - so its the risk I would be willing to take.

Author:  Freddy [ December 27th, 2019, 2:25 pm ]
Post subject:  Re: Automated / Scheduled auto link replacement.

Might add.

Author:  ziggyzab [ December 27th, 2019, 2:26 pm ]
Post subject:  Re: Automated / Scheduled auto link replacement.

Freddy wrote:
Might add.


Would be great! Looking forward to it, thanks!

Author:  ad-team [ May 16th, 2020, 1:42 pm ]
Post subject:  Re: Automated / Scheduled auto link replacement.

this is great option for automated work

Author:  Crackpot [ October 9th, 2021, 1:03 pm ]
Post subject:  Automated post replace / from files.

it's almost same, so i did not open a new topic.

if a post link is dead i reupload those file using TC. TC has feature to save text file after upload finish. in text file only uploaded link is available without any imdb info.

wondering if you could add a feature that TM will check folder=>text files for link replace only.

Author:  Freddy [ October 15th, 2021, 1:34 pm ]
Post subject:  Re: Automated / Scheduled auto link replacement.

Merged with correct topic. Might add.

Author:  Freddy [ January 24th, 2023, 6:01 pm ]
Post subject:  Re: Automated link replacement from .txt files.

3.74:
* Added auto-replace links from .txt file option.

The .txt file with new links must be placed in: \user\auto-replace\links. It will automatically scan and search for the same links by matching with filename in URL and domain. Old links which are matched in posts will be replaced automatically with new links from .txt file.

Search progress can be viewed in "STATUS" -> "EDITS" -> "Background log" table.

Author:  Crackpot [ November 6th, 2023, 11:20 am ]
Post subject:  Re: Automated links replacement from .txt files.

this process has one flaw. if there is a lots of post. TM takes a lots of time.

for approx 30K post and SSD, for single text file replace it took 10min.
https://i.postimg.cc/HnG4Xq8Y/image.png

I think it's good if one text file has all links like 10K links or something.
---------------------------

but we can make a little bit automated, like with TC we re-upload and save text into the folder. may be we can have secondary option. like if save text \user\auto-replace\links\releasename.txt

TM will search for release name title. if found check link for that post. if the releasename.txt name does not match do not check other post.

Author:  Freddy [ November 6th, 2023, 7:07 pm ]
Post subject:  Re: Automated links replacement from .txt files.

Might add that option to check subject against filename.

Author:  champ of champs [ November 17th, 2023, 1:58 pm ]
Post subject:  Re: Automated links replacement from .txt files.

can you please add an options:

in my text file there is only rapidgator links. TM will search post based on text file name. if text file and post name match it will "REMOVE" all rapidgator link and replace the new rapidgator link in that place.
basically sometimes we use random file name when upload files.

Author:  Freddy [ December 3rd, 2023, 6:07 pm ]
Post subject:  Re: Automated links replacement from .txt files.

Crackpot wrote:
but we can make a little bit automated, like with TC we re-upload and save text into the folder. may be we can have secondary option. like if save text \user\auto-replace\links\releasename.txt

TM will search for release name title. if found check link for that post. if the releasename.txt name does not match do not check other post.


3.86
* Added option in "Settings" -> "Links" -> "For auto-replace links from .txt file always check if post subject has the filename".

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/