Fork me on GitHub

After code
  • Geeker
  • Gamer
  • JS
  • C
  • Node
  • React
  • Hippop
  • TDD
That Is An Byte of Me

[TIP]:Chrome devtool - Copy as cURL

10 Nov 2014

When you may need it

You want to download some content of some sites, you don’t have some sniffer at hand. Now Chrome devtool can help.

1. open the Chrome devtool, select the Network tab

2. find the content your want to download, right click it

3. choose Copy as cURL

4. open your terminal,paste in

you will find that Chrome have filled all the HEADERs your need to run the curl to download from the site.

P.S.

don't forget to add `-O` or `-o` to name the downloaded file name.

##Happy hacking.

EOF

分享到: QQ空间 新浪微博 腾讯微博 微信 更多
comments powered by Disqus