Adding something to the url in feeds

Post all bugs here
Post Reply
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Adding something to the url in feeds

Post by filthlab » Mon Oct 16, 2017 7:33 am

Hi,
Is it possible to add some text to the url?

I have a tube which provides me the IDs of the videos only, instead of the urls intheir feed for deleted videos. The feed looks like this:

1263317
2554871
5632789
.........

So, if there is a way to add "http://www.txxx.com/videos/" to the ID: 1263317, I'll be able to find the deleted videos in my database.
I think I can't do this with Import Replacements, as it is for replacing, only. Or I'm wrong?
Please, let me know. Thank you.
Last edited by filthlab on Mon Oct 16, 2017 7:36 am, edited 1 time in total.

admin
Site Admin
Posts: 28255
Joined: Wed Sep 10, 2008 11:43 am

Re: Adding something to the url in feeds

Post by admin » Mon Oct 16, 2017 7:35 am

You can add швы as custom var for example ?
Have you done script update ?

filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Adding something to the url in feeds

Post by filthlab » Mon Oct 16, 2017 7:39 am

Unfortunately, I've already imported more than 1M videos, without the IDs. I didn't notice that their feed for deleted videos is without urls :(

admin
Site Admin
Posts: 28255
Joined: Wed Sep 10, 2008 11:43 am

Re: Adding something to the url in feeds

Post by admin » Mon Oct 16, 2017 7:56 am

so how do you want to add those line for videos that has been added already ?
Have you done script update ?

filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Adding something to the url in feeds

Post by filthlab » Mon Oct 16, 2017 8:07 am

I do not want to add those lines to already imported videos.
I have to add a set for deleted videos for this tube. But they provide the feed with ID's only. I can't find the videos in my database with ID's only. But if I can add those lines to the ID's they provide me I'll be able to find these videos in my database and successfully delete them.
Here is the sample:
Their feed contains:
1263317
2554871
5632789
.........

After adding "http://www.txxx.com/videos/" I'll have:
http://www.txxx.com/videos/1263317
http://www.txxx.com/videos/2554871
http://www.txxx.com/videos/5632789
.........

Which is enough to find these videos in my database and delete them.

filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Adding something to the url in feeds

Post by filthlab » Mon Oct 16, 2017 8:52 am

Sorry I've lost your time.
Just found an option to get a feed with url's :)

Sorry again and thank you.

admin
Site Admin
Posts: 28255
Joined: Wed Sep 10, 2008 11:43 am

Re: Adding something to the url in feeds

Post by admin » Mon Oct 16, 2017 12:27 pm

Ah now I see

http://smartcj.com/wiki/doku.php?id=new ... is_gallery

the same way you can replaces whatever you want in "deletion set"
Have you done script update ?

filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Adding something to the url in feeds

Post by filthlab » Mon Oct 16, 2017 12:49 pm

Yes, this will work.
Thank you.

admin
Site Admin
Posts: 28255
Joined: Wed Sep 10, 2008 11:43 am

Re: Adding something to the url in feeds

Post by admin » Mon Oct 16, 2017 12:55 pm

NP
Have you done script update ?

Post Reply