Page 1 of 2

Question about embeds

Posted: Wed Jun 06, 2018 11:34 am
by tubeman
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,

Re: Question about embeds

Posted: Wed Jun 06, 2018 2:22 pm
by admin

Re: Question about embeds

Posted: Wed Jun 06, 2018 5:28 pm
by tubeman
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.

Re: Question about embeds

Posted: Thu Jun 07, 2018 3:58 pm
by admin
If you added it w\o source url - then sorry, it can not check just embedded code.

Re: Question about embeds

Posted: Tue Jun 19, 2018 2:02 pm
by tubeman
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,

Re: Question about embeds

Posted: Tue Jun 19, 2018 6:37 pm
by admin
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.

Re: Question about embeds

Posted: Fri Jun 29, 2018 11:51 am
by tubeman
Hi,
Does the gallery checker check the source URL's html?
Also how do I manually run the gallery checker from ssh?

Regards,

Re: Question about embeds

Posted: Fri Jun 29, 2018 4:45 pm
by admin
Hi!

Yes

php gallery_checker.php

Re: Question about embeds

Posted: Sat Jun 30, 2018 12:15 am
by tubeman
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?

Re: Question about embeds

Posted: Sat Jun 30, 2018 4:57 am
by admin
Yes, it checks galleries once a day
What was not deleted and do you have that URL in log?