Написание скриптов для phantom.js
Добрый день!
Нужно написать такой скрипт для PhantomJS:
- Заходим на сайт https://content-watch.ru/
- Логинимся в наш аккаунт
- Переходим на страницу проверки уникальности https://content-watch.ru/text/
- Вставляем текст в поле для текста и домен сайта который надо исключить из проверки (по умолчанию пустая строка )
- Ждем когда проверка завершится
- Получаем результат, парсим страницу берем необходимые данные (общий процент уникальности и ссылки с процентами на страницы с дублями)
- Делаем скриншот страницы, сохраням на диск в ./tmp/screenshoots/ с названием ("content-watch" + (new Date()).getTime() + ".jpg")
- Делаем return с полученными данными (проценты уникальности, ссылки дубликаты и пути к сохраненным скриншотам) в хеше.
Также нужна проверка если не входит в диапазон от 50 до 20000 символов.
поэтому
- если меньше 50 нам нужно добавить своето тексте (обязательно уникального).
Например: *************************************************, добавить его в начало текста походу лучше. - если больше 20000 на платном тарифе, то нужно разделить текст на N частей чтобы можно было проверить. и в отчет прислать Hash с 2 двумя проверками ( {0: ..... , 1: ......} )
- если больше 10000 на бесплатно тарифе, тоже самое как п.2. только на другое количество символов нужно дробить.
Это под вопросом, но в идеале нужно сделать проверку когда ругается на количество символов и исходя из этого выбирать 2й или 3й пункты.
https://i.imgur.com/vxzs1dW.jpg
Если сработаемся то позже будет еще подобная работа.
Спасибо!
-
146 2 0 Добрый день, работаю с nodejs уже больше 3 лет, готов реализовать для вас данную программу.
-
11 Добрый день!
готов реализовать на PhantomJS, но лучше на puppeteer, будет быстрее
"но в идеале нужно сделать проверку когда ругается на количество символов" - думаю это не проблема, можно сделать
обращайтесь!
-
Там же есть апи - https://content-watch.ru/api/
-
Current freelance projects in the category Javascript and Typescript
Game Developer
1200 USD
We are looking for an experienced game developer to refine an existing project on PixiJS. It is necessary to improve the game's mathematical system, redesign and balance the bonus rounds, as well as make changes to the current game logic. Experience in commercial game… Javascript and Typescript, Gaming Apps ∙ 3 hours 59 minutes back ∙ 11 proposals |
Development of a website according to the specifications on FramerYou need to create a website based on the parameters in the technical specification. https://docs.google.com/document/d/1ODO2C9Krb4AaMiJz9wfbNzWlAyA2FwCCHL8r0biajUY/edit?usp=sharing Please provide your actual rate based on this design. HTML & CSS, Javascript and Typescript ∙ 3 hours 59 minutes back ∙ 17 proposals |
Development of an interactive Palworld map for the websiteWe need to develop an interactive map for Palworld based on the example: https://palworld.gg/map We need not just a static image, but a full-fledged interactive map where users can view locations, toggle object categories on/off, search for specific points, and interact with… HTML & CSS, Javascript and Typescript ∙ 1 day 18 hours back ∙ 30 proposals |
Development of the AM Mobility platform (car service, parking, insurance, car rental)
5800 USD
We are looking for a team or an experienced Full Stack developer to create the MVP of the AM Mobility platform. AM Mobility is a unified digital ecosystem for motorists, combining in one application and web platform: parking; car service; tire fitting; car wash; car rental;… Javascript and Typescript, Web Programming ∙ 7 days 1 hour back ∙ 119 proposals |
Gsap animations
22 USD
Good day. Corrections need to be made in the current project. A specialist is needed who works well with gsap/lenis. Animation of cards needs to be done. Detailed specifications here:… Javascript and Typescript, Web Programming ∙ 7 days 6 hours back ∙ 21 proposals |