Компьютерные сети
4
Вклад в тег
@[0-9a-zA-Z]{1,5}\)
)
@[0-9a-zA-Z]{1,5}"\)
")
#!/bin/bash
for i in `find . -depth -type d`
do
cd "${i}"
for j in *.*@*; do
IFS='@' read -r -a NAME <<< "${j}"
mv "${j}" "${NAME[0]}"
done
cd -
done
<iframe width="560" height="315" src="https://www.youtube.com/embed/4fY9kOpACI8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
setTimeout(function() {
var iframe = document.querySelector('iframe');
iframe.src = iframe.src + '?autoplay=1';
}, 2000);
});
</script>
npm i website-scraper website-scraper-puppeteer
const scrape = require('website-scraper');
const PuppeteerPlugin = require('website-scraper-puppeteer');
scrape({
urls: ['https://www.instagram.com/gopro/'],
directory: '/path/to/save',
plugins: [ new PuppeteerPlugin() ]
});