Question about embeds

tubeman
Posts: 321
Joined: Sat Mar 02, 2013 11:33 am

Question about embeds

Post by tubeman » Wed Jun 06, 2018 11:34 am

Hi,
If I import xvideos embeds onto my site, but only import embed,thumb and title and not source URL can the smart cj script check and delete embed if it has been deleted from xvideos? How to achieve this? Please let me know.

Regards,

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

Re: Question about embeds

Post by admin » Wed Jun 06, 2018 2:22 pm

Have you done script update ?

tubeman
Posts: 321
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about embeds

Post by tubeman » Wed Jun 06, 2018 5:28 pm

Yes I have read, but we are talking about embeds. Thats just a iframe code in gallery, in html source code it dosen't have any words like deleted, only in xvideos player it shows deleted. Thats why cannot figure out how to delete such galleries.

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

Re: Question about embeds

Post by admin » Thu Jun 07, 2018 3:58 pm

If you added it w\o source url - then sorry, it can not check just embedded code.
Have you done script update ?

tubeman
Posts: 321
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about embeds

Post by tubeman » Tue Jun 19, 2018 2:02 pm

Hi,
Suppose for EMBED field for all galleries I have this kind of link:

<iframe src="https://flashservice.xvideos.com/embedframe/29470729" frameborder="0" scrolling="no"></iframe>

and I want to change it to only

https://flashservice.xvideos.com/embedframe/29470729

What command do I run on the database in MYSQl?

2.) And then change the Source URL of all galleries update to same as as the EMBED field?

That way script can detect the galleries that are deleted from xvideos.Please let me know.

Regards,

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

Re: Question about embeds

Post by admin » Tue Jun 19, 2018 6:37 pm

1. you need mysql REPLACE command.
Please create a backup and refer to mysql docs if you'd like to work with mysql command line

2. right, you can use the same REPLACE command to update that field.
Have you done script update ?

tubeman
Posts: 321
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about embeds

Post by tubeman » Fri Jun 29, 2018 11:51 am

Hi,
Does the gallery checker check the source URL's html?
Also how do I manually run the gallery checker from ssh?

Regards,

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

Re: Question about embeds

Post by admin » Fri Jun 29, 2018 4:45 pm

Hi!

Yes

php gallery_checker.php
Have you done script update ?

tubeman
Posts: 321
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about embeds

Post by tubeman » Sat Jun 30, 2018 12:15 am

Hi,
Thanks, Most of the galleries got deleted properly, but some galleries did not get deleted by gallery checker and it had same condition like the other galleries, I have kept the checker on, and in logs just see:

2018-06-29 20:01:19: All galleries has been checked today. Sleep till tomorrow (46686 seconds) (0.0035710334777832, 0.001154899597168)
2018-06-29 20:11:49: Adding galleries from 0 Speed 0 b\s, 0 urls\min (0.0022029876708984, 0.0022101402282715)
2018-06-29 20:11:49: All galleries has been checked today. Sleep till tomorrow (46056 seconds) (0.003068208694458, 0.00085902214050293)

Does the gallery checker work accurately?

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

Re: Question about embeds

Post by admin » Sat Jun 30, 2018 4:57 am

Yes, it checks galleries once a day
What was not deleted and do you have that URL in log?
Have you done script update ?

Post Reply