Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-06-03 18:46:22

THS
Member
Registered: 2012-02-02
Posts: 313
Website

RSS Delete of Videos

I am not seeing a way to auto-delete videos from an RSS feed or import or such.  RedTube and the others provide a way for us to remove the videos that they had to remove.  Is there a way to automate this?

Offline

#2 2012-06-03 20:13:12

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: RSS Delete of Videos

yes they have a txt file with the deleted videos. On that file is every link or ID  with the deleted videos.

Creating a plugins that will run by cron every day. That will check that txt file and will remove every video that has those urls or ID


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

#3 2012-06-04 07:33:36

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Delete of Videos

I will add that, however not in 1.0. I sincerly never thaught about the XML/CSV importer as something to import videos from redtube/pornhub, i used the mass embedder for that, however i'm thinking this opens more doors for us and we can use it even for a adult search script :-)


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2012-06-04 15:06:19

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: RSS Delete of Videos

I use the mass embedder but I would like a simple way to keep my vids up-to-date.  After initial import, I use the RSS to get the new videos, but you need a way to remove videos that have been flagged from the source.  Currently, I am adding the video ID to the description field or searching the embed code for it to remove them.  A RSS feed / cron job would be a lot better.

Offline

#5 2012-06-05 07:51:23

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Delete of Videos

Its not so simple, because you need to save some information in the database. I will think on how to implement this.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2012-06-07 00:46:53

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: RSS Delete of Videos

I am probably just going to add a field to the table to store source_id this way I can add the video id there and just run a simple query and cron.  This will keep it hidden from the users.  PornHub and RedTube (the ones I use atm) both offer the video id field as a CSV export option.

Offline

#7 2012-06-07 06:57:52

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: RSS Delete of Videos

Its already there:

mysql> describe video_csv_imported;
+-----------+------------------+------+-----+---------+-------+
| Field     | Type             | Null | Key | Default | Extra |
+-----------+------------------+------+-----+---------+-------+
| unique_id | varchar(32)      | NO   | PRI |         |       |
| video_id  | int(11) unsigned | NO   | UNI | 0       |       |
+-----------+------------------+------+-----+---------+-------+
2 rows in set (0.05 sec)

mysql> 

unique_id is the md5sum of the URL from the CSV.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB