当前位置:网站首页>One click filtering to select Baidu online disk files
One click filtering to select Baidu online disk files
2022-07-04 05:37:00 【a10615】
background
Today, the photo gallery sent me through Baidu online disk 266 A picture , Let me choose 20 Zhang Yinshu . But the other party put .CR2 and .JPG Both formats have been sent , In fact, I just need to .JPG Download it , Then choose . But I need to choose from 133 Zhang , This kind of quantity is large 、 Repetitive work , It's quite a test of endurance . As a programmer , We must find a lazy way to solve it , without doubt , Just from the front (Ctrl+Shift+I, Browser developer tools ) To solve
Find the differences between the two files

Corresponding element layout :
<dd class="g-clearfix AuPKyz open-enable" _position="132" _cmd_installed="1" _installed="1">
<span node-type="EOGexf" class="EOGexf"></span>
<div class="JS-fileicon fileicon-small-pic"></div>
<div class="file-name" style="width:60%">
<div class="text">
<a href="javascript:void(0);" class="filename" title="_P5A1453.JPG">_P5A1453.JPG</a>
</div>
...
</div>
</dd>
<dd class="g-clearfix AuPKyz" _position="133" _cmd_installed="1" _installed="1">
<span node-type="EOGexf" class="EOGexf"></span>
<div class="JS-fileicon default-small"></div>
<div class="file-name" style="width:60%">
<div class="text">
<a href="javascript:void(0);" class="filename" title="_P5A1397.CR2">_P5A1397.CR2</a>
</div>
...
</div>
</dd>
The difference is <dd> Inside the label class in . So as long as such a fishing ,133 All the documents are fished out :
document.getElementsByClassName('g-clearfix AuPKyz open-enable')
Execute click event
The rest , Is to perform click operations :
document.getElementsByClassName('g-clearfix AuPKyz open-enable').forEach(item => item.firstElementChild.click())
Be careful :
item.click(), It is a single choice function , And multiple choice , Its child elements must be used<span>
边栏推荐
- left_and_right_net可解释性设计
- 2022 t elevator repair operation certificate examination question bank and simulation examination
- LM small programmable controller software (based on CoDeSys) note XXI: error 3703
- BUU-Reverse-easyre
- [matlab] communication signal modulation general function interpolation function
- Leetcode 184 Employees with the highest wages in the Department (July 3, 2022)
- Unity is connected to the weather system
- BUU-Crypto-[GUET-CTF2019]BabyRSA
- flink1.13 sql基础语法(二)join操作
- 2022年A特种设备相关管理(电梯)考试题模拟考试平台操作
猜你喜欢

The data mark is a piece of fat meat, and it is not only China Manfu technology that focuses on this meat
![[interested reading] advantageous filtering modeling on long term user behavior sequences for click through rate pre](/img/3e/b5df691ca1790469eb1b4e8ea5b4c0.png)
[interested reading] advantageous filtering modeling on long term user behavior sequences for click through rate pre

2022年R2移动式压力容器充装复训题库及答案

Flask
![BUU-Crypto-[GXYCTF2019]CheckIn](/img/b8/ad6c05977f6943f30e9975acb6eb6e.jpg)
BUU-Crypto-[GXYCTF2019]CheckIn
![BUU-Crypto-[GUET-CTF2019]BabyRSA](/img/87/157066155e8d3a93e30a68eaf1781b.jpg)
BUU-Crypto-[GUET-CTF2019]BabyRSA

Just do it with your hands 7 - * project construction details 2 - hook configuration

空洞卷积、可变形卷积、可变形ROI Pooling

2022g2 power station boiler stoker special operation certificate examination question bank and answers

Flutter ‘/usr/lib/libswiftCore. dylib‘ (no such file)
随机推荐
Daily question brushing record (12)
19. Framebuffer application programming
Appearance of LabVIEW error dialog box
Li Kou's 300th weekly match
Introduction to AMBA
PostgreSQL has officially surpassed mysql. Is this guy too strong!
2022危险化学品经营单位安全管理人员上岗证题库及答案
BUU-Reverse-easyre
BUU-Crypto-[GXYCTF2019]CheckIn
Remote desktop client RDP
BUU-Crypto-Cipher
[paper summary] zero shot semantic segmentation
JS string splicing
[wechat applet] template and configuration (wxml, wxss, global and page configuration, network data request)
Zhanrui tankbang | jointly build, cooperate and win-win zhanrui core ecology
Notepad++--显示相关的配置
Leetcode 184 Employees with the highest wages in the Department (July 3, 2022)
BUU-Crypto-[GUET-CTF2019]BabyRSA
BUU-Real-[PHP]XXE
ansys命令