Skip to content

Commit b467fef

Browse files
committed
pytube3 support
1 parent 2831f4e commit b467fef

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ For details about version look at the [tags on this repository](https://www.gith
144144
- Thanks to [Itzik Kotler](https://github.com/ikotler) for some ideas.
145145
- Shout out to [@cac0ns3c](https://github.com/cac0ns3c) for resolving some dependency hell.
146146
- Thanks to [@Nilesh0301](https://github.com/Nilesh0301) for pointing out some Python compatibility issues.
147+
- Big thanks to [@hbmartin](https://github.com/hbmartin) for pointing us to [pytube3](https://github.com/get-pytube/pytube3) latest update and support.
147148

148149
### Resources
149150
- Thanks [Wireshark](https://wireshark.com/) for your awesome wiki and tool. Especially [packet dumps](http://wiki.wireshark.org/SampleCaptures).

pyexfil/Stega/video_dict/vid_to_dict.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
try:
2222
import numpy as np
2323
from PIL import Image
24-
from pytube import pytube
24+
from pytube import YouTube
2525
except ImportError, e:
2626
sys.stderr.write("Please install the dependencies needed.\n")
2727
sys.stderr.write("\t%s\n" % e)
@@ -35,10 +35,9 @@
3535
def _getYouTubeVideo(url):
3636
try:
3737
yt = YouTube(url)
38-
yt.set_filename('Current')
3938
sys.stdout.write("[.]\tGetting video.\n")
4039
video = yt.get('mp4', '720p')
41-
video.download('/tmp/main.mp4')
40+
video.download('/tmp/main.mp4', filename='Current')
4241
sys.stdout.write("[.]\tVideo saved to /tmp/main.mp4.\n")
4342
return True
4443
except:

pyexfil/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
NAME = "PyExfil"
22
SLOGAN = "Stress Testing Detection & Creativity"
3-
VERSION_CODE = 1.3.2
3+
VERSION_CODE = 1.3.3
44
VERSION_NAME = "Harpax"
55
AUTHORS = ['tisf']
66
RELEASE_DATE = '2020-12-31'

requirements2.7.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ slackclient
44
progressbar
55
numpy
66
pillow
7-
pytube
7+
pytube3
88
PyCryptodome
99
qrcode
1010
base58

requirements3.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ slackclient
44
progressbar
55
numpy
66
pillow
7-
pytube
7+
pytube3
88
PyCrypto
99
qrcode
1010
base58

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
required = [
1919
'requests>=1.0.0', 'impacket>=0.9.0', 'slackclient', 'progressbar',
20-
'zlib', 'numpy', 'Pillow', 'pytube', 'hashlib', 'urllib2', 'PyCrypto',
20+
'zlib', 'numpy', 'Pillow', 'pytube3', 'hashlib', 'urllib2', 'PyCrypto',
2121
'base58', 'names', 'Faker', 'luhn'
2222
]
2323

0 commit comments

Comments
 (0)