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 »

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: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: Adding something to the url in feeds

Post by admin »

You can add швы as custom var for example ?
Don't forget to run script update
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Adding something to the url in feeds

Post by filthlab »

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: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: Adding something to the url in feeds

Post by admin »

so how do you want to add those line for videos that has been added already ?
Don't forget to run script update
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Adding something to the url in feeds

Post by filthlab »

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 »

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: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: Adding something to the url in feeds

Post by admin »

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"
Don't forget to run script update
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Adding something to the url in feeds

Post by filthlab »

Yes, this will work.
Thank you.
admin
Site Admin
Posts: 37197
Joined: Wed Sep 10, 2008 11:43 am

Re: Adding something to the url in feeds

Post by admin »

NP
Don't forget to run script update
Post Reply