Skip to content

Commit

Permalink
Fixed with random useragent
Browse files Browse the repository at this point in the history
  • Loading branch information
safiuddin786 committed Nov 14, 2021
1 parent 1679d06 commit 1040170
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from bs4 import BeautifulSoup, SoupStrainer
import cchardet
import re
import requests_random_user_agent
from search import search_anime
from my_anime_list import details
from stream import stream_links
Expand Down
1 change: 1 addition & 0 deletions my_anime_list.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from mal import *
from bs4 import BeautifulSoup, SoupStrainer
import requests_random_user_agent
import requests
import re

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ soupsieve==2.2.1
urllib3==1.26.4
Werkzeug==1.0.1
gunicorn==20.1.0
requests-random-user-agent==2021.5.29

1 change: 1 addition & 0 deletions search.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import requests
import requests_random_user_agent
from bs4 import BeautifulSoup, SoupStrainer
import re

Expand Down
1 change: 1 addition & 0 deletions stream.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import requests
import requests_random_user_agent
from bs4 import BeautifulSoup, SoupStrainer
import re

Expand Down

0 comments on commit 1040170

Please sign in to comment.