Question about embeds

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

Question about embeds

Post 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,
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about embeds

Post by admin »

Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about embeds

Post 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.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about embeds

Post by admin »

If you added it w\o source url - then sorry, it can not check just embedded code.
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about embeds

Post 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,
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about embeds

Post 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.
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about embeds

Post 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,
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about embeds

Post by admin »

Hi!

Yes

php gallery_checker.php
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Question about embeds

Post 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?
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: Question about embeds

Post by admin »

Yes, it checks galleries once a day
What was not deleted and do you have that URL in log?
Don't forget to run script update
Post Reply