Coder Social home page Coder Social logo

getdouyin's People

Contributors

dakuohao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

getdouyin's Issues

国际版抖音无法使用

国内版抖音爬了几个视频後出错,
但国际版Tiktok,只建立了空白的文件夹。
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

运行python amemv-video-ripper.py代码报错

F:\GetDouYin-master>python amemv-video-ripper.py
F:\GetDouYin-master\amemv-video-ripper.py:169: SyntaxWarning: invalid escape sequence '\d'
challenge = re.findall('share/challenge/(\d+)', url)
Traceback (most recent call last):
File "F:\GetDouYin-master\amemv-video-ripper.py", line 14, in
import requests
File "C:\Users\1001\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests_init_.py", line 43, in
import urllib3
File "C:\Users\1001\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3_init_.py", line 8, in
from .connectionpool import (
File "C:\Users\001\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 11, in
from .exceptions import (
File "C:\Users\001\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\exceptions.py", line 2, in
from .packages.six.moves.http_client import (
ModuleNotFoundError: No module named 'urllib3.packages.six.moves

share/video 无法下载

有些短连接可以获取到下载视频的地址。如:短连接 http://v.douyin.com/9GEGSp/ 可以获取到视频并下载。但是用另外一个连接 https://v.douyin.com/CdC8kQ/ 就无法获取到视频

可以下载的短连接 http://v.douyin.com/9GEGSp/ 贴到浏览器后,地址显示如下
https://www.iesdouyin.com/share/user/73838190950?u_code=128dfi636&sec_uid=MS4wLjABAAAAHmQ4DqHKN8IdfWWd52sYaGS6zaZaOTghOZ4ysZ0z_YM&timestamp=1571884619&utm_source=copy&utm_campaign=client_share&utm_medium=android&share_app_name=douyin
地址中有关键字 share/user

不可以下载的短连接 https://v.douyin.com/CdC8kQ/ 地址贴到浏览器后,地址显示如下
https://www.iesdouyin.com/share/video/6760586675262328072/?region=CN&mid=6758364479400266499&u_code=m9f2m5mg&titleType=title&utm_source=copy_link&utm_campaign=client_share&utm_medium=android&app=aweme
地址中有关键字 share/video

运行python amemv-video-ripper.py代码报错

运行python amemv-video-ripper.py代码报错
share-url.txt写短网址的话,UnicodeDecodeError: 'utf-8' codec can't decode byte 0x98 in position 1: invalid start byte
写长网址的话:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 1: invalid continuation byte

请赐教

IndexError: list index out of range这个怎么解决的

下载某些视频失效

用短链接下载某用户的作品,只能下载到部分正确的视频,大部分是尺寸为0的视频。怀疑最近服务器升级了,目前请求导致失效,或者服务器对下载进行了访问频度限制。2019年9月18日发现此问题,以前是正常的

dockerfile不管用

The command '/bin/sh -c apt-get install python3 python3-pip curl git vim' returned a non-zero code: 1

解决了一些小问题,代码最终可以跑起来

1.HEADERS 中 KEY 值为 accept-encoding 需要注释, 否则在获取内容后转码过程中会报错.
2.get_dytk 貌似没什么用, 抖音上不用这个方法是没问题的,但是正则匹配 “dytk: '(.*)'” 是匹配不到内容的,因此相关 dytk 的判断注释后不影响. Tiktok没测不知道这个参数有没有用
3.在下载抖音视频 _join_download_queue 方法中, download_params 参数仅需保留 video_id, ratio,line 三个即可正常下载无水印视频,加上其他参数反而无法正常下载!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.