Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Import videos

Habib — Mar 06, 2017 11:02AM CET

Hi
I can import aparat videos with following site config for dbazi.com
But i can't import video for other site like that zoomit.ir, zoomg.ir and techshot.ir
I think these sites use jwplayer (https://www.jwplayer.com/) for videos
Please help me
thank you

url:
http://techshot.ir/mobile/106235
http://www.zoomit.ir/2017/3/4/153308/highlight-207/

http://www.dbazi.com/1395/12/12/%D8%AA%D9%85%D8%A7%D8%B4%D8%A7-%DA%A9%D9%86%DB%8C%D8%AF-%D8%A2%D8%AE%D8%B1%DB%8C%D9%86-%D8%AA%D8%B1%DB%8C%D9%84%D8%B1-%D9%81%DB%8C%D9%84%D9%85-%DA%A9%D9%88%D9%86%DA%AF%D8%AC%D8%B2%DB%8C%D8%B1/

aparat.com

dbazi.com config that i used for import video:

body: //div[contains(@class, 'the-content')] | //a[contains(@class, 'featured-image')]

prune: no

test_url: http://www.dbazi.com/1395/12/12/%D8%AA%D9%85%D8%A7%D8%B4%D8%A7-%DA%A9%D9%86%DB%8C%D8%AF-%D8%A2%D8%AE%D8%B1%DB%8C%D9%86-%D8%AA%D8%B1%DB%8C%D9%84%D8%B1-%D9%81%DB%8C%D9%84%D9%85-%DA%A9%D9%88%D9%86%DA%AF%D8%AC%D8%B2%DB%8C%D8%B1/


3 Community Answers

Keyvan Minoukadeh - Mar 06, 2017 at 04:39PM CET

FiveFilters.org Agent

Hi there, we do not support content that relies on Javascript to be displayed. If you're curious whether the the content can be access via Full-Text RSS, please try disabling javascript in your browser and reloading the page, or try out Site Config Creator, which disables Javascript when loading the page: http://siteconfig.fivefilters.org/

In this case, the video is loaded via JS, so we can't access it.

rated : 0 Up Down

Habib - Mar 06, 2017 at 06:16PM CET

Hi Keyvan
If Javascript is not supported So why am I able to view videos with this configuration for dbazi.com ?
So perhaps there is a way
You can test it:
body: //div[contains(@class, 'the-content')] | //a[contains(@class, 'featured-image')]
prune: no
test_url: http://www.dbazi.com/1395/12/12/%D8%AA%D9%85%D8%A7%D8%B4%D8%A7-%DA%A9%D9%86%DB%8C%D8%AF-%D8%A2%D8%AE%D8%B1%DB%8C%D9%86-%D8%AA%D8%B1%DB%8C%D9%84%D8%B1-%D9%81%DB%8C%D9%84%D9%85-%DA%A9%D9%88%D9%86%DA%AF%D8%AC%D8%B2%DB%8C%D8%B1/

rated : 0 Up Down

Keyvan Minoukadeh - Mar 06, 2017 at 06:18PM CET

FiveFilters.org Agent

They use an iframe element to embed the video. We can preserve regular HTML elements like iframes. But if the video is inserted into the content through Javascript (even if what is ultimately getting inserted is an iframe) then we can't preserve it because we're not executing any Javascript.

rated : 0 Up Down

Post Your Public Answer